]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: tear down ttm range manager for doorbell in amdgpu_ttm_fini()
authorJiang Liu <gerry@linux.alibaba.com>
Sun, 22 Dec 2024 16:27:21 +0000 (00:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2025 21:02:56 +0000 (16:02 -0500)
commit60a2c0c12b644450e420ffc42291d1eb248bacb7
treefcd1b17ef7d5651364e6c9b542261d4ebc35e0f3
parent6b34d0328b51b7bc226290916c56242549062983
drm/amdgpu: tear down ttm range manager for doorbell in amdgpu_ttm_fini()

Tear down ttm range manager for doorbell in function amdgpu_ttm_fini(),
to avoid memory leakage.

Fixes: 792b84fb9038 ("drm/amdgpu: initialize ttm for doorbells")
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c