[PATCH v2] Update function level documentation for GPUVM v2
Andrey Grodzovsky
Andrey.Grodzovsky at amd.com
Wed Jun 13 13:52:25 UTC 2018
Yea, will take care of this, this particular warning is all over the
place when you compile so I didn't notice my own among others.
Andrey
On 06/13/2018 09:48 AM, Michel Dänzer wrote:
> Hi Andrey,
>
>
> On 2018-06-12 04:05 PM, Andrey Grodzovsky wrote:
>> Add/update function level documentation and add reference to amdgpu_vm.c
>> in amdgpu.rst
>>
>> v2:
>> Fix reference in rst file.
>> Fix compilation warnings.
>> Add space between function names and params list where
>> it's missing.
>>
>> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
> The warnings below now appear while generating documentation, can you
> fix these up?
>
>
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:359: warning: Function parameter or member 'pte_support_ats' not described in 'amdgpu_vm_clear_bo'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:697: warning: Function parameter or member 'job' not described in 'amdgpu_vm_flush'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1781: warning: Function parameter or member '_cb' not described in 'amdgpu_vm_prt_cb'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2070: warning: Function parameter or member 'size' not described in 'amdgpu_vm_bo_map'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2134: warning: Function parameter or member 'size' not described in 'amdgpu_vm_bo_replace_map'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2347: warning: Function parameter or member 'addr' not described in 'amdgpu_vm_bo_lookup_mapping'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2401: warning: Function parameter or member 'evicted' not described in 'amdgpu_vm_bo_invalidate'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2465: warning: Function parameter or member 'fragment_size_default' not described in 'amdgpu_vm_adjust_size'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2465: warning: Function parameter or member 'max_level' not described in 'amdgpu_vm_adjust_size'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2465: warning: Function parameter or member 'max_bits' not described in 'amdgpu_vm_adjust_size'
> ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2536: warning: Function parameter or member 'pasid' not described in 'amdgpu_vm_init'
>
>
More information about the amd-gfx
mailing list