After ei reset, upclock as default if we don't have a previous timestamp at hand. We might at sometimes waste one interval of more power but also be more agile if we need to ramp up. Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxx> --- drivers/gpu/drm/i915/i915_irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 5ec12cf..aacb654 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -1118,6 +1118,8 @@ static u32 vlv_wa_c0_ei(struct drm_i915_private *dev_priv, u32 pm_iir) events = GEN6_PM_RP_UP_THRESHOLD; else if (c0 < time * dev_priv->rps.down_threshold) events = GEN6_PM_RP_DOWN_THRESHOLD; + } else { + events = GEN6_PM_RP_UP_THRESHOLD; } dev_priv->rps.ei = now; -- 2.7.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx