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 04:48:34 +0000 (23:48 -0500)
commit5fa790f6c936c4705dea5883fa12da9e017ceb4f
treec5c4b41d3f3072939eeafa722ce90271d3e642cd
parentbf2bf52383a09256e11278e7bcb67dcd912078c7
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