Commit 9af1197f authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/pm/powerplay/hwmgr/ppatomctrl: Fix documentation for 'mpll_param'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warning: Function parameter or member 'mpll_param' not described in 'atomctrl_get_memory_pll_dividers_si'
 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:290: warning: Excess function parameter 'dividers' description in 'atomctrl_get_memory_pll_dividers_si'
 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:339: warning: Function parameter or member 'mpll_param' not described in 'atomctrl_get_memory_pll_dividers_vi'
 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:339: warning: Excess function parameter 'dividers' description in 'atomctrl_get_memory_pll_dividers_vi'

Cc: Evan Quan <evan.quan@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 62f1cda9
...@@ -279,7 +279,7 @@ static const ATOM_VOLTAGE_OBJECT_V3 *atomctrl_lookup_voltage_type_v3( ...@@ -279,7 +279,7 @@ static const ATOM_VOLTAGE_OBJECT_V3 *atomctrl_lookup_voltage_type_v3(
* *
* @hwmgr: input parameter: pointer to HwMgr * @hwmgr: input parameter: pointer to HwMgr
* @clock_value: input parameter: memory clock * @clock_value: input parameter: memory clock
* @dividers: output parameter: memory PLL dividers * @mpll_param: output parameter: memory clock parameters
* @strobe_mode: input parameter: 1 for strobe mode, 0 for performance mode * @strobe_mode: input parameter: 1 for strobe mode, 0 for performance mode
*/ */
int atomctrl_get_memory_pll_dividers_si( int atomctrl_get_memory_pll_dividers_si(
...@@ -332,7 +332,7 @@ int atomctrl_get_memory_pll_dividers_si( ...@@ -332,7 +332,7 @@ int atomctrl_get_memory_pll_dividers_si(
* *
* @hwmgr: input parameter: pointer to HwMgr * @hwmgr: input parameter: pointer to HwMgr
* @clock_value: input parameter: memory clock * @clock_value: input parameter: memory clock
* @dividers: output parameter: memory PLL dividers * @mpll_param: output parameter: memory clock parameters
*/ */
int atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr, int atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr,
uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param) uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param)
......
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