mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
drm/amdgpu: Fix up missing parameters kdoc in svm_migrate_vma_to_ram
Fix these warnings by adding & deleting the deviant arguments. gcc with W=1 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:671: warning: Function parameter or member 'node' not described in 'svm_migrate_vma_to_ram' drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:671: warning: Function parameter or member 'trigger' not described in 'svm_migrate_vma_to_ram' drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:671: warning: Function parameter or member 'fault_page' not described in 'svm_migrate_vma_to_ram' drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:671: warning: Excess function parameter 'adev' description in 'svm_migrate_vma_to_ram' drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.c:771: warning: Function parameter or member 'fault_page' not described in 'svm_migrate_vram_to_ram' Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7a66ad6c08
commit
b3a02e8b61
|
|
@ -651,11 +651,13 @@ svm_migrate_copy_to_ram(struct amdgpu_device *adev, struct svm_range *prange,
|
|||
/**
|
||||
* svm_migrate_vma_to_ram - migrate range inside one vma from device to system
|
||||
*
|
||||
* @adev: amdgpu device to migrate from
|
||||
* @prange: svm range structure
|
||||
* @vma: vm_area_struct that range [start, end] belongs to
|
||||
* @start: range start virtual address in pages
|
||||
* @end: range end virtual address in pages
|
||||
* @node: kfd node device to migrate from
|
||||
* @trigger: reason of migration
|
||||
* @fault_page: is from vmf->page, svm_migrate_to_ram(), this is CPU page fault callback
|
||||
*
|
||||
* Context: Process context, caller hold mmap read lock, prange->migrate_mutex
|
||||
*
|
||||
|
|
@ -760,6 +762,7 @@ svm_migrate_vma_to_ram(struct kfd_node *node, struct svm_range *prange,
|
|||
* @prange: range structure
|
||||
* @mm: process mm, use current->mm if NULL
|
||||
* @trigger: reason of migration
|
||||
* @fault_page: is from vmf->page, svm_migrate_to_ram(), this is CPU page fault callback
|
||||
*
|
||||
* Context: Process context, caller hold mmap read lock, prange->migrate_mutex
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user