drm/amd/pp: Make sure clock_voltage_limit_table on dc is valid
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 13 Jun 2018 10:53:49 +0000 (18:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 15:28:11 +0000 (10:28 -0500)
commite1fa921f022d2401f3e3328ebf0c2ded84d4924a
tree1e34c782e9baee4b6ef35d491f80bf0bfc60b176
parentecfee95a8ae7f35d43b8f63d61220e70ec8d2ea8
drm/amd/pp: Make sure clock_voltage_limit_table on dc is valid

if vbios not set the max clock voltage limit table for DC mode,
Set the table as sama as the table for AC mode.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c