@@ -4779,7 +4779,8 @@ static void gen8_enable_rps(struct drm_device *dev)
if (IS_BROADWELL(dev)) {
hsw_use_efficient_freq(dev_priv);
- dev_priv->rps.min_freq_softlimit = dev_priv->rps.efficient_freq;
+ dev_priv->rps.min_freq_softlimit =
+ max(dev_priv->rps.efficient_freq, (u8) 9); /* 450 MHz */
}
/* 2b: Program RC6 thresholds.*/
@@ -4879,7 +4880,8 @@ static void gen6_enable_rps(struct drm_device *dev)
if (IS_HASWELL(dev)) {
hsw_use_efficient_freq(dev_priv);
- dev_priv->rps.min_freq_softlimit = dev_priv->rps.efficient_freq;
+ dev_priv->rps.min_freq_softlimit =
+ max(dev_priv->rps.efficient_freq, (u8) 9); /* 450 MHz */
}
/* disable the counters and set deterministic thresholds */