gfxstream: fix logspam in TLS helper function
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Logspam has been reported in a gfxstream initialization
path.

Fixes: 4a30c6fd70 ("gfxstream: Use the Mesa common tss_* TLS helper functions")
Cc: mesa-stable

Reviewed-by: David Gilhooley <djgilhooley.gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38776>
This commit is contained in:
Gurchetan Singh 2025-12-02 10:53:01 -08:00
parent 4f4745ebf3
commit 4f45e834ae

View file

@ -31,7 +31,7 @@ static void gfxstream_connection_manager_tls_key_create_once(void) {
tss_create(&gfxstream_connection_manager_tls_key, gfxstream_connection_manager_tls_free) ==
thrd_success;
if (!gfxstream_connection_manager_tls_key_valid) {
mesa_loge("WARNING: failed to create gfxstream_connection_manager_tls_key");
mesa_logd("WARNING: failed to create gfxstream_connection_manager_tls_key");
}
}