drm/amd/powerplay: original power state table should not be changed.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 31 Aug 2016 18:30:42 +0000 (02:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 15:32:09 +0000 (11:32 -0400)
commit48fad3aff638c7bc16656e31047f689aa44020a1
tree1ed434f0798cea87ce4761843e030b84185fe45d
parentcfcc283cee50e98e47a56ab2b3f85540a1f93ab4
drm/amd/powerplay: original power state table should not be changed.

power state table was set based on vbios and should not be changed.
when client need to change power state, just make a copy and send to
smu.

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/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/eventmgr/psm.c
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c