drm/amd/powerplay: SCLK will have a big drop with low VDDC when PPlib was enabled.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 3 May 2016 07:47:15 +0000 (15:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 May 2016 18:24:51 +0000 (14:24 -0400)
commit9ab9cf058a5de590146fdc67bf9c483c8bdcbffa
treef72dcd4b12e3e151886f1d6749a12ae468badf0b
parentf4833c4fd4d76ddee9e647814a64251801844db7
drm/amd/powerplay: SCLK will have a big drop with low VDDC when PPlib was enabled.

SMC uses CurrSclkPllRange structure to keep track of what range of
PLL SCLK is sitting on.  Driver overwrites this value to 0 because
it's part of DPM table and driver doesn't program this.
This change will set this field to 0xFF every time there's a
init SMC table call.

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