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>
Mon, 18 May 2026 22:07:14 +0000 (18:07 -0400)
commita3bbf32a336939a1d21b9561f8e53333b684b7ef
treef3e32f65658d5d872e9939b9eb31bf5c759c39c4
parent3aab50410653fe7eb35eb6f9c2b27e3549ab09e6
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c