diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-07-18 19:58:48 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-07-22 23:46:45 +0300 |
commit | bf32a3a1268638442ac43b347e4a4a09044dccea (patch) | |
tree | fa250e3297d354669d5b5053e8d891f3bb428eb1 /drivers/gpu/drm/vmwgfx | |
parent | b26d9dddad7bca6727069f6a26b265d303c65c49 (diff) | |
download | linux-bf32a3a1268638442ac43b347e4a4a09044dccea.tar.xz |
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/vmwgfx')
0 files changed, 0 insertions, 0 deletions