summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher2013-08-26 15:46:51 +0200
committerAlex Deucher2013-08-30 22:31:07 +0200
commit39c88ae314b0ec8084ccafdee416d8b7ff736d32 (patch)
tree78b915387a98457b1fdd8430589993d8fa197aac /drivers/gpu
parentdrm/radeon/dpm: track uvd gated state for ci (diff)
downloadkernel-qcow2-linux-39c88ae314b0ec8084ccafdee416d8b7ff736d32.tar.gz
kernel-qcow2-linux-39c88ae314b0ec8084ccafdee416d8b7ff736d32.tar.xz
kernel-qcow2-linux-39c88ae314b0ec8084ccafdee416d8b7ff736d32.zip
drm/radeon/dpm: ungate blocks in dpm disable for kb/kv
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/kv_dpm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/kv_dpm.c b/drivers/gpu/drm/radeon/kv_dpm.c
index 7c7108f6417e..a10207783065 100644
--- a/drivers/gpu/drm/radeon/kv_dpm.c
+++ b/drivers/gpu/drm/radeon/kv_dpm.c
@@ -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);