]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/ttm: rename ttm_bo_put to _fini v3
authorChristian König <christian.koenig@amd.com>
Fri, 13 Jun 2025 12:09:08 +0000 (14:09 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 17 Sep 2025 12:03:21 +0000 (14:03 +0200)
commited7a4397f55bfacf2c4c3e466940ed4961707094
tree3185a5185a896db8a91c8acc8f95454f6cb27fcc
parent940dd88c5f5bdb1f3e19873a856a677ebada63a9
drm/ttm: rename ttm_bo_put to _fini v3

Give TTM BOs a separate cleanup function.

No funktional change, but the next step in removing the TTM BO reference
counting and replacing it with the GEM object reference counting.

v2: move the code around a bit to make it clearer what's happening
v3: fix nouveau_bo_fini as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250909144311.1927-1-christian.koenig@amd.com
15 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
drivers/gpu/drm/loongson/lsdc_gem.c
drivers/gpu/drm/nouveau/nouveau_bo.h
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/qxl/qxl_gem.c
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_internal.h
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
drivers/gpu/drm/xe/xe_bo.c
include/drm/ttm/ttm_bo.h