]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: use drm_exec in amdgpu_userq_fence_read_wptr
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 8 May 2026 06:51:20 +0000 (12:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:07:28 +0000 (12:07 -0400)
commiteb359cc314365f50272883805adfe96b1e4ecefc
tree5b952bfac4beadae9f92ccc3b2952be5f4479274
parent5200f5f493f79f14bbdc349e402a40dfb32f23c8
drm/amdgpu/userq: use drm_exec in amdgpu_userq_fence_read_wptr

To access the bo from vm mapping first lock the root bo and
then the object bo of the mapping to make sure both locks
are taken safely.

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>
(cherry picked from commit 3aab50410653fe7eb35eb6f9c2b27e3549ab09e6)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c