[PATCH v2] drm/gpusvm: some kernel-doc fixes

Matthew Brost matthew.brost at intel.com
Tue Aug 19 15:38:25 UTC 2025


On Tue, Aug 19, 2025 at 04:27:08PM +0100, Matthew Auld wrote:
> This should be enough to get scripts/kernel-doc passing for
> drm_gpusvm.[ch], so we can then add them to our CI build infra.
> 
> v2:
>  - Also drop misplaced range_evict()
> 
> Link: https://gitlab.freedesktop.org/drm/xe/ci/-/merge_requests/86
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>

Reviewed-by: Matthew Brost <matthew.brost at intel.com>

> ---
>  drivers/gpu/drm/drm_gpusvm.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_gpusvm.c b/drivers/gpu/drm/drm_gpusvm.c
> index 661306da6b2d..85e0e0a8718e 100644
> --- a/drivers/gpu/drm/drm_gpusvm.c
> +++ b/drivers/gpu/drm/drm_gpusvm.c
> @@ -345,7 +345,7 @@ notifier_iter_first(struct rb_root_cached *root, unsigned long start,
>  /**
>   * drm_gpusvm_for_each_notifier() - Iterate over GPU SVM notifiers in a gpusvm
>   * @notifier__: Iterator variable for the notifiers
> - * @notifier__: Pointer to the GPU SVM notifier
> + * @gpusvm__: Pointer to the GPU SVM structure
>   * @start__: Start address of the notifier
>   * @end__: End address of the notifier
>   *
> @@ -360,7 +360,7 @@ notifier_iter_first(struct rb_root_cached *root, unsigned long start,
>   * drm_gpusvm_for_each_notifier_safe() - Safely iterate over GPU SVM notifiers in a gpusvm
>   * @notifier__: Iterator variable for the notifiers
>   * @next__: Iterator variable for the notifiers temporay storage
> - * @notifier__: Pointer to the GPU SVM notifier
> + * @gpusvm__: Pointer to the GPU SVM structure
>   * @start__: Start address of the notifier
>   * @end__: End address of the notifier
>   *
> @@ -1437,7 +1437,6 @@ EXPORT_SYMBOL_GPL(drm_gpusvm_range_get_pages);
>  
>  /**
>   * drm_gpusvm_range_unmap_pages() - Unmap pages associated with a GPU SVM range
> - * drm_gpusvm_range_evict() - Evict GPU SVM range
>   * @gpusvm: Pointer to the GPU SVM structure
>   * @range: Pointer to the GPU SVM range structure
>   * @ctx: GPU SVM context
> -- 
> 2.50.1
> 


More information about the Intel-xe mailing list