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 commit047a1b877e
("dma-buf & drm/amdgpu: remove dma_resv workaround") the workaround is no longer needed. So remove it. This effectively reverts commitf1b3f696a0
("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
This commit is contained in:
parent
7f7a942c0a
commit
c901a8cae6
|
@ -334,8 +334,7 @@ static int submit_fence_sync(struct msm_gem_submit *submit, bool no_implicit)
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* exclusive fences must be ordered */
|
if (no_implicit)
|
||||||
if (no_implicit && !write)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
ret = drm_sched_job_add_implicit_dependencies(&submit->base,
|
ret = drm_sched_job_add_implicit_dependencies(&submit->base,
|
||||||
|
|
Loading…
Reference in New Issue