]> git.hungrycats.org Git - linux/commit
drm/amdgpu/userq: clean the VA mapping list for failed queue creation
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 8 Apr 2026 05:05:05 +0000 (10:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:41:11 +0000 (15:41 -0400)
commitdc87834e9a50fcad2de8c4be5a8912f40e9b9e9e
treeb2ce340efdc083f41a785545a6c0d12bf57bdcf2
parenta7fe8c1b6cf0cd217a8d22609cf9e0c1fe26e873
drm/amdgpu/userq: clean the VA mapping list for failed queue creation

If the queue creation failed during mapping of the important VA's
like queue_va, rptr_va and wptr_va. These needs to be cleaned
as queue destroy will not be called for such queues as user never
get call to creation failure.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Acked-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