diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-11-07 21:06:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-11-12 19:56:41 +0300 |
commit | 489ba72c1ef9c6ceb1480be1550f235d9591d59a (patch) | |
tree | 7b78e503b61d623b05fdc8ead5c0ab550e994f70 /drivers/gpu/drm/radeon/ci_dpm.c | |
parent | d3052b8ce8a308d2086519fa5f7c4966257ea184 (diff) | |
download | linux-489ba72c1ef9c6ceb1480be1550f235d9591d59a.tar.xz |
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.c | 2 |
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; |