]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Convert 10kHz clks from PPLib into kHz
authorRex Zhu <rex.zhu@amd.com>
Tue, 17 Jul 2018 12:18:04 +0000 (20:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Jul 2018 19:24:10 +0000 (14:24 -0500)
commit4d36449195bfd81e1b7d9830a56893e8881a166b
tree4a215b677c13bd0efe568f75e71eee2a5168ce37
parentfc31f8391a927668ca39ee56b12304e4ec58ed3c
drm/amd/display: Convert 10kHz clks from PPLib into kHz

Except special naming as *_in_khz, The default clock unit in powerplay
is in 10KHz. so need to * 10 as expecting clock frequency in display
is in kHz.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c