OSDN Git Service

drm/amd/pp: Convert clock unit to KHz as defined
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 18 Jun 2018 10:15:15 +0000 (18:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:39:55 +0000 (16:39 -0500)
commit23ec3d1479fd79658cd52c47618d8ddd2f32550b
tree9b22f460c4495089c25051c656cd2f0dddcd7897
parentafb1436c7b44ab928e6369a4d48e3abb8215241e
drm/amd/pp: Convert clock unit to KHz as defined

Convert clock unit 10KHz to KHz as the data sturct defined.
e.g.
struct pp_clock_with_latency {
uint32_t clocks_in_khz;
uint32_t latency_in_us;
};
Meanwhile revert the same conversion in display side.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-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
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c