Commit f2234816 authored by Amaranath Somalapuram's avatar Amaranath Somalapuram Committed by Alex Deucher
Browse files

drm/amdgpu: fix IGT CI regression with eviction fence



This patch fixes one of the regressions in eviction fence code with
IGT tests.

Reviewed-by: default avatarShashank Sharma <shashank.sharma@amd.com>
Signed-off-by: default avatarAmaranath Somalapuram <amaranath.somalapuram@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7179439e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -136,6 +136,9 @@ amdgpu_eviction_fence_suspend_worker(struct work_struct *work)
			if (!bo)
				continue;

			if (vm != bo_va->base.vm)
				continue;

			ret = drm_exec_lock_obj(&exec, &bo->tbo.base);
			drm_exec_retry_on_contention(&exec);
			if (unlikely(ret))