drm/gpuvm: rename struct drm_gpuva_manager to struct drm_gpuvm
authorDanilo Krummrich <dakr@redhat.com>
Wed, 20 Sep 2023 14:42:34 +0000 (16:42 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Mon, 25 Sep 2023 23:51:28 +0000 (01:51 +0200)
commitf72c2db47080523d5e0f3c20846c96ed31c35648
tree75c4abde1ad43e3cbccb1fefa1b6e7837b70c5ea
parent89755ee1d59311855b4afcf35aebddcb653b3cd5
drm/gpuvm: rename struct drm_gpuva_manager to struct drm_gpuvm

Rename struct drm_gpuva_manager to struct drm_gpuvm including
corresponding functions. This way the GPUVA manager's structures align
very well with the documentation of VM_BIND [1] and VM_BIND locking [2].

It also provides a better foundation for the naming of data structures
and functions introduced for implementing a common dma-resv per GPU-VM
including tracking of external and evicted objects in subsequent
patches.

[1] Documentation/gpu/drm-vm-bind-async.rst
[2] Documentation/gpu/drm-vm-bind-locking.rst

Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230920144343.64830-2-dakr@redhat.com
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_debugfs.c
drivers/gpu/drm/drm_gpuva_mgr.c [deleted file]
drivers/gpu/drm/drm_gpuvm.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nouveau_exec.c
drivers/gpu/drm/nouveau/nouveau_uvmm.c
drivers/gpu/drm/nouveau/nouveau_uvmm.h
include/drm/drm_debugfs.h
include/drm/drm_gpuva_mgr.h [deleted file]
include/drm/drm_gpuvm.h [new file with mode: 0644]