drm/msm: Remove exclusive-fence hack
authorRob Clark <robdclark@chromium.org>
Tue, 1 Nov 2022 21:40:51 +0000 (14:40 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 17 Nov 2022 15:50:50 +0000 (07:50 -0800)
commitc901a8cae606078e9242d26d72f8f5b8a8001e29
tree04944bd01c77cdf01e2332496ead6c39a67cea12
parent7f7a942c0a338c4a2a7b359bdb2b68e9896122ec
drm/msm: Remove exclusive-fence hack

The workaround was initially necessary due to dma_resv having only a
single exclusive fence slot, yet whe don't necessarily know what order
the gpu scheduler will schedule jobs.  Unfortunately this workaround
also has the result of forcing implicit sync, even when userspace does
not want it.

However, since commit 047a1b877ed4 ("dma-buf & drm/amdgpu: remove
dma_resv workaround") the workaround is no longer needed.  So remove
it.  This effectively reverts commit f1b3f696a084 ("drm/msm: Don't
break exclusive fence ordering")

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/509457/
Link: https://lore.kernel.org/r/20221101214051.159988-1-robdclark@gmail.com
drivers/gpu/drm/msm/msm_gem_submit.c