radeonsi: avoid syncing the driver thread in si_fence_finish
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 10 Nov 2017 09:58:10 +0000 (10:58 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 20 Nov 2017 17:16:11 +0000 (18:16 +0100)
commitbc65dcab3bc48673ff6180afb036561a4b8b1119
tree10cc2098d5acef729eacf0ecfa49d517d67d4f1e
parent3db1ce01b1f33aaeceda4038487a4ce0ceb77267
radeonsi: avoid syncing the driver thread in si_fence_finish

It is really only required when we need to flush for deferred fences.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_threaded_context.h
src/gallium/drivers/radeonsi/si_fence.c
src/gallium/drivers/radeonsi/si_hw_context.c