drm/amd/powerplay: fix logic error.
authorRex Zhu <[email protected]>
Fri, 17 Jun 2016 10:21:01 +0000 (18:21 +0800)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c