[PATCH] drm/gpuvm: Fix names that do not exist in kernel-doc comments

From: Karl Mehltretter

Date: Fri Sep 11 2026 - 15:57:57 EST


The GPUVM documentation refers to drm_resv and
drm_exec_prepare_object(), but the reservation object type is dma_resv
and the locking helper is drm_exec_prepare_obj().

Use the existing names in the reservation object and map locking
documentation.

Fixes: bbe8458037e7 ("drm/gpuvm: add common dma-resv per struct drm_gpuvm")
Fixes: 471920ce25d5 ("drm/gpuvm: Add locking helpers")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
---
drivers/gpu/drm/drm_gpuvm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index d1c80ad3deadb7f2e78abf7e50e61ad085391e3f..c43708be348c3659bc7888c1aad25b470ff2cee0 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -1051,7 +1051,7 @@ static const struct drm_gem_object_funcs drm_gpuvm_object_funcs = {
* @drm: the drivers &drm_device
*
* Allocates a dummy &drm_gem_object which can be passed to drm_gpuvm_init() in
- * order to serve as root GEM object providing the &drm_resv shared across
+ * order to serve as root GEM object providing the &dma_resv shared across
* &drm_gem_objects local to a single GPUVM.
*
* Returns: the &drm_gem_object on success, NULL on failure
@@ -2718,7 +2718,7 @@ static const struct drm_gpuvm_ops lock_ops = {
* @req: ptr to drm_gpuvm_map_req struct
*
* This function locks (drm_exec_lock_obj()) objects that will be unmapped/
- * remapped, and locks+prepares (drm_exec_prepare_object()) objects that
+ * remapped, and locks+prepares (drm_exec_prepare_obj()) objects that
* will be newly mapped.
*
* The expected usage is::