diff options
| author | Christian König <christian.koenig@amd.com> | 2025-06-13 14:09:08 +0200 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2025-09-17 14:03:21 +0200 |
| commit | ed7a4397f55bfacf2c4c3e466940ed4961707094 (patch) | |
| tree | 3185a5185a896db8a91c8acc8f95454f6cb27fcc /drivers/gpu/drm/qxl/qxl_gem.c | |
| parent | 940dd88c5f5bdb1f3e19873a856a677ebada63a9 (diff) | |
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
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_gem.c')
| -rw-r--r-- | drivers/gpu/drm/qxl/qxl_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_gem.c b/drivers/gpu/drm/qxl/qxl_gem.c index fc5e3763c359..d26043424e95 100644 --- a/drivers/gpu/drm/qxl/qxl_gem.c +++ b/drivers/gpu/drm/qxl/qxl_gem.c @@ -39,7 +39,7 @@ void qxl_gem_object_free(struct drm_gem_object *gobj) qxl_surface_evict(qdev, qobj, false); tbo = &qobj->tbo; - ttm_bo_put(tbo); + ttm_bo_fini(tbo); } int qxl_gem_object_create(struct qxl_device *qdev, int size, |