summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorPerry Yuan <perry.yuan@amd.com>2026-09-10 16:58:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-15 12:45:38 -0400
commit5b0a459f990be2faba33229fd93f10f23745fab2 (patch)
treec2f8901045c566b245e33b421d96ec70bb9c368d /scripts/basic
parentb5629f4a0869f4b01cfbfdf27f2c349d68c5d9d4 (diff)
downloadlinux-5b0a459f990be2faba33229fd93f10f23745fab2.tar.gz
linux-5b0a459f990be2faba33229fd93f10f23745fab2.zip
drm/amdgpu: destroy mutex when tearing down ttm buffer entity
Pair mutex_init() with mutex_destroy() on the GART window allocation failure path and in amdgpu_ttm_buffer_entity_fini(). This is a no-op without CONFIG_DEBUG_MUTEXES, but it keeps lockdep from seeing a live mutex after the entity is freed or re-initialized. Signed-off-by: Perry Yuan <perry.yuan@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 03ac40aeed034a0a0d5824ad26f8fbe1f6463698) Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions