gallium/u_threaded: add an option for unsychronized create_fence_fd
authorMarek Olšák <marek.olsak@amd.com>
Wed, 21 Sep 2022 20:12:25 +0000 (16:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Sep 2022 03:47:50 +0000 (03:47 +0000)
commit4d44399c2e018c2ca77e612afba1d0833b32a8fb
tree5c4eb1d01d87f786bc0e24456b17b1be789acb0e
parent21ba47c821454dc53be60fb4da2ec58cdb28b53c
gallium/u_threaded: add an option for unsychronized create_fence_fd

And enable it for radeonsi. This may be needed by Android.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18731>
src/gallium/auxiliary/util/u_threaded_context.c
src/gallium/auxiliary/util/u_threaded_context.h
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/radeonsi/si_pipe.c