drm/amdgpu/userq: Fix doorbell object cleanup of queue
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 19 May 2026 09:32:00 +0000 (15:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 14:27:32 +0000 (10:27 -0400)
commit8c7506f7ba945f21e5abe7f8eac0a3acca6b5330
tree1eb7b84418ed44e991322c146382a9930c6f5155
parentdbb3907d8b3ee68b6c60685671ad0c28c3abc500
drm/amdgpu/userq: Fix doorbell object cleanup of queue

Unpin and unref the door bell obj if queue creation fails before
initialization is complete.

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