Commit f59bf24e authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

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: default avatarChristian 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: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4aaa7c39
...@@ -104,7 +104,7 @@ void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev, ...@@ -104,7 +104,7 @@ void amdgpu_virt_kiq_reg_write_reg_wait(struct amdgpu_device *adev,
/** /**
* amdgpu_virt_request_full_gpu() - request full gpu access * amdgpu_virt_request_full_gpu() - request full gpu access
* @amdgpu: amdgpu device. * @adev: amdgpu device.
* @init: is driver init time. * @init: is driver init time.
* When start to init/fini driver, first need to request full gpu access. * When start to init/fini driver, first need to request full gpu access.
* Return: Zero if request success, otherwise will return error. * 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) ...@@ -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_virt_release_full_gpu() - release full gpu access
* @amdgpu: amdgpu device. * @adev: amdgpu device.
* @init: is driver init time. * @init: is driver init time.
* When finishing driver init/fini, need to release full gpu access. * When finishing driver init/fini, need to release full gpu access.
* Return: Zero if release success, otherwise will returen error. * 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) ...@@ -149,7 +149,7 @@ int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init)
/** /**
* amdgpu_virt_reset_gpu() - reset gpu * 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 * Send reset command to GPU hypervisor to reset GPU that VM is using
* Return: Zero if reset success, otherwise will return error. * Return: Zero if reset success, otherwise will return error.
*/ */
...@@ -184,7 +184,7 @@ void amdgpu_virt_request_init_data(struct amdgpu_device *adev) ...@@ -184,7 +184,7 @@ void amdgpu_virt_request_init_data(struct amdgpu_device *adev)
/** /**
* amdgpu_virt_wait_reset() - wait for reset gpu completed * amdgpu_virt_wait_reset() - wait for reset gpu completed
* @amdgpu: amdgpu device. * @adev: amdgpu device.
* Wait for GPU reset completed. * Wait for GPU reset completed.
* Return: Zero if reset success, otherwise will return error. * Return: Zero if reset success, otherwise will return error.
*/ */
...@@ -200,7 +200,7 @@ int amdgpu_virt_wait_reset(struct amdgpu_device *adev) ...@@ -200,7 +200,7 @@ int amdgpu_virt_wait_reset(struct amdgpu_device *adev)
/** /**
* amdgpu_virt_alloc_mm_table() - alloc memory for mm table * 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 * MM table is used by UVD and VCE for its initialization
* Return: Zero if allocate success. * Return: Zero if allocate success.
*/ */
...@@ -230,7 +230,7 @@ int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev) ...@@ -230,7 +230,7 @@ int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev)
/** /**
* amdgpu_virt_free_mm_table() - free mm table memory * amdgpu_virt_free_mm_table() - free mm table memory
* @amdgpu: amdgpu device. * @adev: amdgpu device.
* Free MM table memory * Free MM table memory
*/ */
void amdgpu_virt_free_mm_table(struct amdgpu_device *adev) void amdgpu_virt_free_mm_table(struct amdgpu_device *adev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment