]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: add amdgpu_bo_unpin when amdgpu_ttm_alloc_gart fails
authorSunil Khatri <sunil.khatri@amd.com>
Mon, 18 May 2026 13:03:00 +0000 (18:33 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 15:58:17 +0000 (11:58 -0400)
commitcedee93d43f893ce67e39b57c67240965c7c5a69
treed8bd9580f6dd323164525bb73132117250d77e88
parentd8d9c820405eb1fcbde959de8898ad7d716a2d7b
drm/amdgpu/userq: add amdgpu_bo_unpin when amdgpu_ttm_alloc_gart fails

Unpin the wptr_obj->obj when amdgpu_ttm_alloc_gart fails.

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>
(cherry picked from commit d8145c437ccdc2d91c579787290f82788172bea0)
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c