summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-06-23 16:55:40 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 21:02:02 +0200
commitbfa833558cc90517da1d3f0885a9f5ea04e6b021 (patch)
treebe44b949bc8431b4ee238f4252a8427e3d734c09 /drivers
parentdrm/amdgpu/dce11: update async flip update time (diff)
downloadlinux-bfa833558cc90517da1d3f0885a9f5ea04e6b021.tar.xz
linux-bfa833558cc90517da1d3f0885a9f5ea04e6b021.zip
drm/amdgpu/powerplay/cz: add missing call to powergate VCE
Not enabled yet, but missing the call. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
index 17b94bc94fae..2da548f6337e 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
@@ -206,7 +206,7 @@ int cz_dpm_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate)
AMD_IP_BLOCK_TYPE_VCE,
AMD_PG_STATE_GATE);
cz_enable_disable_vce_dpm(hwmgr, false);
- /* TODO: to figure out why vce can't be poweroff*/
+ cz_dpm_powerdown_vce(hwmgr);
cz_hwmgr->vce_power_gated = true;
} else {
cz_dpm_powerup_vce(hwmgr);