summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authoryu kuai <yukuai3@huawei.com>2019-11-04 16:27:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-11-13 23:29:44 +0300
commitb8b721305770cf85bffbe7ce1e0dc5fb6c4fef47 (patch)
treed8bf2448440a63854ee1459a96061e2644b6c23c /drivers
parentbae028e3e521e8cb8caf2cc16a455ce4c55f2332 (diff)
downloadlinux-b8b721305770cf85bffbe7ce1e0dc5fb6c4fef47.tar.xz
drm/amdgpu: add function parameter description in 'amdgpu_device_set_cg_state'
Fixes gcc warning: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1954: warning: Function parameter or member 'state' not described in 'amdgpu_device_set_cg_state' Fixes: e3ecdffac9cc ("drm/amdgpu: add documentation for amdgpu_device.c") Signed-off-by: yu kuai <yukuai3@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 9d210bb9bf33..0ad61febbb5f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1936,6 +1936,7 @@ static bool amdgpu_device_check_vram_lost(struct amdgpu_device *adev)
* amdgpu_device_set_cg_state - set clockgating for amdgpu device
*
* @adev: amdgpu_device pointer
+ * @state: clockgating state (gate or ungate)
*
* The list of all the hardware IPs that make up the asic is walked and the
* set_clockgating_state callbacks are run.