diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-07-18 18:58:48 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-07-22 22:46:45 +0200 |
commit | bf32a3a1268638442ac43b347e4a4a09044dccea (patch) | |
tree | fa250e3297d354669d5b5053e8d891f3bb428eb1 /drivers/gpu/drm/nouveau/dispnv04/tvnv17.h | |
parent | b26d9dddad7bca6727069f6a26b265d303c65c49 (diff) |
drm/nouveau: use GEM references instead of TTMs
TTM wants to get rid of the duplicate refcounting of the embedded GEM
object and its own reference count.
Hence, use of GEM object references where possible.
Also get rid of nouveau_bo_ref() and replace it with nouveau_bo_fini(),
which drops the initial reference we get from initializing a ttm_bo.
Reviewed-by: Ben Skeggs <bskeggs@nvidia.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240718165959.3983-4-dakr@kernel.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv04/tvnv17.h')
0 files changed, 0 insertions, 0 deletions