]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: pin mqd and fw object bo to avoid eviction
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 8 May 2026 10:28:09 +0000 (15:58 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:07:36 +0000 (12:07 -0400)
commitbe045c5c8305fca1214ebdd4b8433ac80635339b
treee15a1b1fe532a077de2ca80998a52e4e567f4f81
parenteb359cc314365f50272883805adfe96b1e4ecefc
drm/amdgpu/userq: pin mqd and fw object bo to avoid eviction

mqd and fw objects are queue core objects which should remain
valid and never be unmapped and evicted for user queues to work
properly.

During eviction if these buffers are evicted the hw continue to
use the invalid addresses and caused page faults and system hung.

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 a3bbf32a336939a1d21b9561f8e53333b684b7ef)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c