aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2016-02-29 21:11:07 +0000
committerAlex Deucher <[email protected]>2016-03-02 16:01:24 +0000
commit89913ea615754163ae9a066c9c1b95aa2a2f51b4 (patch)
treea88cbf917deb754e8af133be080a0ac57d2efcb6 /drivers/gpu/drm/amd/amdgpu/cz_dpm.c
parentdrm/amdgpu/powerplay/cz: enable/disable vce dpm independent of vce pg (diff)
downloadkernel-89913ea615754163ae9a066c9c1b95aa2a2f51b4.tar.gz
kernel-89913ea615754163ae9a066c9c1b95aa2a2f51b4.zip
drm/amdgpu/cz: remove commented out call to enable vce pg
This code path is not currently enabled now that we properly respect the vce pg flags, so uncomment the actual pg calls so the code is as it should be we are eventually able to enable vce pg. Reviewed-by: Christian König <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cz_dpm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cz_dpm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
index 208990ab83d3..e7ef2261ff4a 100644
--- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
@@ -2202,8 +2202,7 @@ static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate)
AMD_PG_STATE_GATE);
cz_enable_vce_dpm(adev, false);
- /* TODO: to figure out why vce can't be poweroff. */
- /* cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerOFF); */
+ cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerOFF);
pi->vce_power_gated = true;
} else {
cz_send_msg_to_smc(adev, PPSMC_MSG_VCEPowerON);