]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu/userq: schedule_delayed_work should be after fence signalled
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 24 Mar 2026 15:16:34 +0000 (20:46 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Mar 2026 17:35:23 +0000 (13:35 -0400)
commita3057aa926ad024e79c6652d891f311d6d0faa5c
tree62c8f8477f0a9aff2bd597538cbf01c815a2a2fc
parent46f4458c236956ad4d185cd46d70d60dfd996f3d
drm/amdgpu/userq: schedule_delayed_work should be after fence signalled

Reorganise the amdgpu_eviction_fence_suspend_worker code so
schedule_delayed_work is the last thing we do after amdgpu_userq_evict
is complete and the eviction fence is signalled.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h