drm/amd/powerplay: correct Navi10 VCN powergate control (v2)
authorEvan Quan <evan.quan@amd.com>
Mon, 22 Jul 2019 02:27:21 +0000 (10:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 07:02:22 +0000 (02:02 -0500)
commita3ebbdb95f8c343a547ee2abec4d8abbf71f8a94
treedb7d329e6056221e245b613ad734568395ae6d79
parente21e3581e2a1df75abb96b545be15e526bd8c1c6
drm/amd/powerplay: correct Navi10 VCN powergate control (v2)

No VCN DPM bit check as that's different from VCN PG. Also
no extra check for possible double enablement/disablement
as that's already done by VCN.

v2: check return value of smu_feature_set_enabled

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c