drm/amd/powerplay: fix logic error.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 17 Jun 2016 10:21:01 +0000 (18:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2016 14:22:29 +0000 (10:22 -0400)
commit1d7b84d12af8312b52316029f1fa0fa4eac3c9e4
treeadb18b3842d9c9e82cfa06c4462aacd010c35654
parent29b9c528b8c295911e8b1e515273e89a2b7fa2d8
drm/amd/powerplay: fix logic error.

the error lead powerplay can't get display info in DGPU case.
store_cc6_data just implement in APU.

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c