Skip to content

WIP: Static thread-safety checking with clang

Kristian H. Kristensen requested to merge krh/mesa:thread-safety into main

See !7342 (merged)

In file included from ../../master/src/gallium/drivers/freedreno/gmemtool.c:30:
../../master/src/gallium/drivers/freedreno/freedreno_gmem.c:532:25: error: calling function 'gmem_key_init' requires holding lock 'fd_screen_lock_cap' exclusively [-Werror,-Wthread-safety-analysis]
        struct gmem_key *key = gmem_key_init(batch, assume_zs, no_scis_opt);
                               ^
1 error generated.

cc @robclark

Edited by Kristian H. Kristensen

Merge request reports

Loading