drm/amd/pp: Implement update_dpm_settings on Polaris
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 24 Jan 2018 09:15:37 +0000 (17:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:39:43 +0000 (15:39 -0500)
commit2107f580909f96abe82df0ca164006b3454e983b
tree7629f0161da57f92fe8a7d3ed5efef8488e25b58
parent40cee3b9e50fd725e4fb3338814762cbf5013fbc
drm/amd/pp: Implement update_dpm_settings on Polaris

v2: lock dpm level when update pptable by SW method

use SW method to update DPM settings by updating SRAM
directly on Polaris.

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/smumgr/polaris10_smumgr.c