OSDN Git Service

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)
commit3dbd823e53b572df1c84d73e85c518212fcdaddb
tree4a215b677c13bd0efe568f75e71eee2a5168ce37
parent97e8f102f5a9123d30258e196c6c1ea29cf52e83
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