drm/amd/amdgpu/amdgpu_virt: Correct possible copy/paste or doc-rot misnaming issue
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:115: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_request_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:115: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_request_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:138: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_release_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:138: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_release_full_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:159: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_reset_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:159: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_reset_gpu' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:194: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_wait_reset' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:194: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_wait_reset' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:210: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_alloc_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:210: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_alloc_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:239: warning: Function parameter or member 'adev' not described in 'amdgpu_virt_free_mm_table' drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:239: warning: Excess function parameter 'amdgpu' description in 'amdgpu_virt_free_mm_table' Acked-by: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4aaa7c397d
commit
f59bf24e4b
@ -104,7 +104,7 @@ failed_kiq:
|
||||
|
||||
/**
|
||||
* amdgpu_virt_request_full_gpu() - request full gpu access
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* @init: is driver init time.
|
||||
* When start to init/fini driver, first need to request full gpu access.
|
||||
* Return: Zero if request success, otherwise will return error.
|
||||
@ -127,7 +127,7 @@ int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init)
|
||||
|
||||
/**
|
||||
* amdgpu_virt_release_full_gpu() - release full gpu access
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* @init: is driver init time.
|
||||
* When finishing driver init/fini, need to release full gpu access.
|
||||
* Return: Zero if release success, otherwise will returen error.
|
||||
@ -149,7 +149,7 @@ int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init)
|
||||
|
||||
/**
|
||||
* amdgpu_virt_reset_gpu() - reset gpu
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* Send reset command to GPU hypervisor to reset GPU that VM is using
|
||||
* Return: Zero if reset success, otherwise will return error.
|
||||
*/
|
||||
@ -184,7 +184,7 @@ void amdgpu_virt_request_init_data(struct amdgpu_device *adev)
|
||||
|
||||
/**
|
||||
* amdgpu_virt_wait_reset() - wait for reset gpu completed
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* Wait for GPU reset completed.
|
||||
* Return: Zero if reset success, otherwise will return error.
|
||||
*/
|
||||
@ -200,7 +200,7 @@ int amdgpu_virt_wait_reset(struct amdgpu_device *adev)
|
||||
|
||||
/**
|
||||
* amdgpu_virt_alloc_mm_table() - alloc memory for mm table
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* MM table is used by UVD and VCE for its initialization
|
||||
* Return: Zero if allocate success.
|
||||
*/
|
||||
@ -230,7 +230,7 @@ int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev)
|
||||
|
||||
/**
|
||||
* amdgpu_virt_free_mm_table() - free mm table memory
|
||||
* @amdgpu: amdgpu device.
|
||||
* @adev: amdgpu device.
|
||||
* Free MM table memory
|
||||
*/
|
||||
void amdgpu_virt_free_mm_table(struct amdgpu_device *adev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user