radeonsi: direct use of mtx_recursive is not c11 conformance
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18445>
This commit is contained in:
@@ -1216,7 +1216,7 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws,
|
||||
1 << util_logbase2(sscreen->force_aniso));
|
||||
}
|
||||
|
||||
(void)mtx_init(&sscreen->aux_context_lock, mtx_recursive);
|
||||
(void)mtx_init(&sscreen->aux_context_lock, mtx_plain | mtx_recursive);
|
||||
(void)simple_mtx_init(&sscreen->async_compute_context_lock, mtx_plain);
|
||||
(void)simple_mtx_init(&sscreen->gpu_load_mutex, mtx_plain);
|
||||
(void)simple_mtx_init(&sscreen->gds_mutex, mtx_plain);
|
||||
|
||||
Reference in New Issue
Block a user