aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ci_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-11-07 13:06:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2014-11-12 11:56:41 -0500
commit489ba72c1ef9c6ceb1480be1550f235d9591d59a (patch)
tree7b78e503b61d623b05fdc8ead5c0ab550e994f70 /drivers/gpu/drm/radeon/ci_dpm.c
parentdrm/radeon: fix activity settings for sclk and mclk for CI (diff)
downloadlinux-dev-489ba72c1ef9c6ceb1480be1550f235d9591d59a.tar.xz
linux-dev-489ba72c1ef9c6ceb1480be1550f235d9591d59a.zip
drm/radeon: fix sclk DS enablement
Only enable it for levels 0 and 1. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.c b/drivers/gpu/drm/radeon/ci_dpm.c
index 9d04e68e4f09..324e31d4b27d 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.c
+++ b/drivers/gpu/drm/radeon/ci_dpm.c
@@ -2872,6 +2872,8 @@ static int ci_populate_all_graphic_levels(struct radeon_device *rdev)
&pi->smc_state_table.GraphicsLevel[i]);
if (ret)
return ret;
+ if (i > 1)
+ pi->smc_state_table.GraphicsLevel[i].DeepSleepDivId = 0;
if (i == (dpm_table->sclk_table.count - 1))
pi->smc_state_table.GraphicsLevel[i].DisplayWatermark =
PPSMC_DISPLAY_WATERMARK_HIGH;