[PATCH] Revert "drm/i915: Estimate and update missed vblanks."

StanLis stanislav.lisovskiy at intel.com
Mon Jun 11 13:40:09 UTC 2018


From: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>

Reverted commit 2e8bf223d8f51ffe98f7bc11522939e62ab79a55 to
check if it helps against FDO Bug 106087.
---
 drivers/gpu/drm/i915/i915_irq.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 633c18785c1e..c9608d30c0bc 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -3117,12 +3117,6 @@ static int ironlake_enable_vblank(struct drm_device *dev, unsigned int pipe)
 	ilk_enable_display_irq(dev_priv, bit);
 	spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
 
-	/* Even though there is no DMC, frame counter can get stuck when
-	 * PSR is active as no frames are generated.
-	 */
-	if (HAS_PSR(dev_priv))
-		drm_vblank_restore(dev, pipe);
-
 	return 0;
 }
 
@@ -3135,12 +3129,6 @@ static int gen8_enable_vblank(struct drm_device *dev, unsigned int pipe)
 	bdw_enable_pipe_irq(dev_priv, pipe, GEN8_PIPE_VBLANK);
 	spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
 
-	/* Even if there is no DMC, frame counter can get stuck when
-	 * PSR is active as no frames are generated, so check only for PSR.
-	 */
-	if (HAS_PSR(dev_priv))
-		drm_vblank_restore(dev, pipe);
-
 	return 0;
 }
 
-- 
2.17.0



More information about the Intel-gfx-trybot mailing list