]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu/powerplay/cz: add missing call to powergate VCE
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Jun 2016 14:55:40 +0000 (10:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:02:02 +0000 (15:02 -0400)
Not enabled yet, but missing the call.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c

index 17b94bc94faeeaa1ed0f0c4a18a5a0e23deb15ce..2da548f6337e822d3eeae9783d1b37190aa07d8c 100644 (file)
@@ -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);