[PATCH] drm/amdgpu: Add function parameter 'event' to kdoc in svm_range_evict()
Felix Kuehling
felix.kuehling at amd.com
Wed May 31 18:16:00 UTC 2023
Am 2023-05-31 um 14:10 schrieb Srinivasan Shanmugam:
> Fixes the following gcc with W=1:
>
> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:1841: warning: Function parameter or member 'event' not described in 'svm_range_evict'
>
> Cc: Felix Kuehling <Felix.Kuehling at amd.com>
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> index 84bb5bc6e731..338d7df04773 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> @@ -1825,6 +1825,7 @@ static void svm_range_restore_work(struct work_struct *work)
> * @mm: current process mm_struct
> * @start: starting process queue number
> * @last: last process queue number
> + * @event: mmu notifier event when range is evicted or migrated
> *
> * Stop all queues of the process to ensure GPU doesn't access the memory, then
> * return to let CPU evict the buffer and proceed CPU pagetable update.
More information about the amd-gfx
mailing list