mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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:
parent
77e8b5bbb0
commit
e1139a3fc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue