panfrost: signal syncobj if nothing is going to be flushed
authorIcenowy Zheng <icenowy@aosc.io>
Wed, 5 Aug 2020 20:48:05 +0000 (04:48 +0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 6 Aug 2020 13:16:25 +0000 (13:16 +0000)
commit9e397956b092543f5fc89ccc43dc309818c150c6
tree691a9731aa5f3bba46e9482be06603d57f713901
parentc6aadbae71562c14166a6e7942867eaf56b3e017
panfrost: signal syncobj if nothing is going to be flushed

When nothing is going to be flushed, the kernel will get no job that
signals the syncobj.

Signal it by ourselves, otherwise it will never get signaled.

Closes: #3371

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6190>
src/gallium/drivers/panfrost/pan_job.c