diff options
| author | Amaranath Somalapuram <[email protected]> | 2024-11-27 16:06:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-08 20:48:18 +0000 |
| commit | f2234816a31d0ec85ab63899762ec962ab682704 (patch) | |
| tree | a63ba374e0f0612c9bbe9a6ac3deb9b49b4d16a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | |
| parent | drm/amdgpu/gfx11: update mqd init for UQ (diff) | |
| download | kernel-f2234816a31d0ec85ab63899762ec962ab682704.tar.gz kernel-f2234816a31d0ec85ab63899762ec962ab682704.zip | |
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: Shashank Sharma <[email protected]>
Signed-off-by: Amaranath Somalapuram <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c index c22767a75348..f7fb1674278c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c @@ -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)) |
