aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cypress_dpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/cypress_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/cypress_dpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cypress_dpm.c b/drivers/gpu/drm/radeon/cypress_dpm.c
index 7e5d0b570a30..95a66db08d9b 100644
--- a/drivers/gpu/drm/radeon/cypress_dpm.c
+++ b/drivers/gpu/drm/radeon/cypress_dpm.c
@@ -2166,7 +2166,8 @@ bool cypress_dpm_vblank_too_short(struct radeon_device *rdev)
2166{ 2166{
2167 struct rv7xx_power_info *pi = rv770_get_pi(rdev); 2167 struct rv7xx_power_info *pi = rv770_get_pi(rdev);
2168 u32 vblank_time = r600_dpm_get_vblank_time(rdev); 2168 u32 vblank_time = r600_dpm_get_vblank_time(rdev);
2169 u32 switch_limit = pi->mem_gddr5 ? 450 : 300; 2169 /* we never hit the non-gddr5 limit so disable it */
2170 u32 switch_limit = pi->mem_gddr5 ? 450 : 0;
2170 2171
2171 if (vblank_time < switch_limit) 2172 if (vblank_time < switch_limit)
2172 return true; 2173 return true;