freedreno/drm: Make threaded-submit optional
authorRob Clark <robdclark@chromium.org>
Fri, 24 Mar 2023 20:35:33 +0000 (13:35 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Mar 2023 19:42:01 +0000 (19:42 +0000)
commita16533c43e91ce95266d653fd8f4f7e1706f1b5b
treefdcc9ee54e716de850b6949161d43dff7b0a9b87
parentcacbbfd6a8f7fde95682bcc2003e8fa8e7bd6f6c
freedreno/drm: Make threaded-submit optional

We've had gpu-sched support in the kernel for a while now, so our fence
waits are not synchronous in the ioctl path.  The only reason this path
still exists is that virtgpu does not have gpu-sched.  So lets disable
it on msm.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22098>
src/freedreno/drm/freedreno_device.c
src/freedreno/drm/freedreno_priv.h
src/freedreno/drm/freedreno_ringbuffer_sp.c