drm/amd/powerplay: custom peak clock freq for navi10
authorKevin Wang <kevin1.wang@amd.com>
Fri, 19 Jul 2019 03:39:21 +0000 (11:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Jul 2019 20:23:07 +0000 (15:23 -0500)
commitb840e4d5fec6fe2019de36b10412b69df9c4d39a
tree73085cd4b5c3cea4b819ebed84247328d7a53422
parentb70666934b41c081489d5ff3c5bf017796545d35
drm/amd/powerplay: custom peak clock freq for navi10

v2:
add function smu_default_set_performance_level as default dpm level handler.
change function name smu_set_performance_level to smu_asic_set_performance_level

v1:
1.NAVI10_PEAK_SCLK_XTX    1830 Mhz
2.NAVI10_PEAK_SCLK_XT     1755 Mhz
3.NAVI10_PEAK_SCLK_XL     1625 Mhz

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/navi10_ppt.h