From: Alex Deucher Date: Thu, 23 Jun 2016 14:55:40 +0000 (-0400) Subject: drm/amdgpu/powerplay/cz: add missing call to powergate VCE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bfa833558cc90517da1d3f0885a9f5ea04e6b021;p=linux-beck.git drm/amdgpu/powerplay/cz: add missing call to powergate VCE Not enabled yet, but missing the call. Signed-off-by: Alex Deucher --- 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);