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)
commitf741a81ead15634328c5038d97587e0fb708f550
treeadb18b3842d9c9e82cfa06c4462aacd010c35654
parente8a8bf5e2c6d7269e1f7bae4bc08e37c5e8b2ef4
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