]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: validate userq hw unmap status for destroying userq
authorPrike Liang <Prike.Liang@amd.com>
Fri, 16 May 2025 08:20:54 +0000 (16:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:18:37 +0000 (16:18 -0400)
commit8b38bf38830a84de70d53ad388268cbbe677118d
treee3ba9a10f275c3821fd9ab1a0a5b4e2d3ea4870a
parent11aaec3566480e6cde0edb8e663c4b5ee32318f5
drm/amdgpu: validate userq hw unmap status for destroying userq

Before destroying the userq buffer object, it requires validating
the userq HW unmap status and ensuring the userq is unmapped from
hardware. If the user HW unmap failed, then it needs to reset the
queue for reusing.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c