drm/radeon/dpm: ungate blocks in dpm disable for kb/kv
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Aug 2013 13:46:51 +0000 (09:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:07 +0000 (16:31 -0400)
These blocks need to be ungated for the other parts of
the driver properly initialize them (e.g., after a gpu
reset, etc.).

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

index 7c7108f..a102077 100644 (file)
@@ -1226,6 +1226,12 @@ void kv_dpm_disable(struct radeon_device *rdev)
                             RADEON_CG_BLOCK_BIF |
                             RADEON_CG_BLOCK_HDP), false);
 
+       /* powerup blocks */
+       kv_dpm_powergate_acp(rdev, false);
+       kv_dpm_powergate_samu(rdev, false);
+       kv_dpm_powergate_vce(rdev, false);
+       kv_dpm_powergate_uvd(rdev, false);
+
        kv_enable_smc_cac(rdev, false);
        kv_enable_didt(rdev, false);
        kv_clear_vc(rdev);