]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: unmap_helper dont return the queue state
authorSunil Khatri <sunil.khatri@amd.com>
Mon, 13 Apr 2026 06:16:47 +0000 (11:46 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:41:12 +0000 (15:41 -0400)
commit1e8b7062d2a8f7cecdbf7ae3fd07efc49a300d0f
tree486cb226ab419cdbc87c73760086c215c146ae68
parent810df8de2f1f4602c4279455db0a88307ece5c00
drm/amdgpu/userq: unmap_helper dont return the queue state

We check for return value of amdgpu_userq_unmap_helper and
compare it against the queue->state which is logically
wrong and we should just check for failure and do the needfull.

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