radeonsi: make si_fence_server_signal flush pipe without work
authorPeng Huang <shawn.p.huang@gmail.com>
Sun, 2 Feb 2020 03:31:00 +0000 (22:31 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 12 Feb 2020 23:51:50 +0000 (23:51 +0000)
commit0660cbf4262891e6380faf0d99217b2d27873051
tree7c2ff08abc7fc2e67060c628413910f051728a81
parent787b56ac0e5d62ad07cb0804be5275d885201262
radeonsi: make si_fence_server_signal flush pipe without work

glSignalSemaphoreEXT sometime doesn't signal the semaphore, it is
because radeonsi doesn't flush if gl context doesn't have pending
work. Fix the porblem by always submit ib.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: 19.3 20.0 <mesa-stable@lists.freedesktop.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3779>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3779>
src/gallium/drivers/radeonsi/si_fence.c