public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: drrs_invalidate at flip schedule
@ 2015-05-14 20:38 Ramalingam C
  2015-05-15 11:58 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Ramalingam C @ 2015-05-14 20:38 UTC (permalink / raw)
  To: intel-gfx, daniel.vetter, chris, rodrigo.vivi; +Cc: paulo.r.zanoni

After scheduling a flip for obj, we are supposed to invalidate the
drrs.

Action:
    Adding a call to intel_edp_drrs_invalidate at
    intel_frontbuffer_flip_prepare.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/intel_frontbuffer.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_frontbuffer.c b/drivers/gpu/drm/i915/intel_frontbuffer.c
index 57095f5..44387ed 100644
--- a/drivers/gpu/drm/i915/intel_frontbuffer.c
+++ b/drivers/gpu/drm/i915/intel_frontbuffer.c
@@ -244,6 +244,7 @@ void intel_frontbuffer_flip_prepare(struct drm_device *dev,
 	dev_priv->fb_tracking.busy_bits &= ~frontbuffer_bits;
 	mutex_unlock(&dev_priv->fb_tracking.lock);
 
+	intel_edp_drrs_invalidate(dev, frontbuffer_bits);
 	intel_psr_single_frame_update(dev);
 }
 
-- 
1.7.9.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-06-15 15:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-14 20:38 [PATCH] drm/i915: drrs_invalidate at flip schedule Ramalingam C
2015-05-15 11:58 ` Chris Wilson
2015-05-15 13:24   ` Ramalingam C
2015-05-15 13:56     ` Chris Wilson
2015-05-18  2:49 ` shuang.he
2015-05-18  8:20 ` Daniel Vetter
2015-06-11  9:27   ` Ramalingam C
2015-06-15  9:52     ` Daniel Vetter
2015-06-15 15:15       ` Ramalingam C
2015-06-15 15:20         ` [PATCH] drm/i915: Restarting the Idleness DRRS in drrs_flush Ramalingam C
2015-06-15 15:46           ` Daniel Vetter
2015-06-11  9:38   ` [PATCH 1/2] drm/i915: fb_obj invalidate is divided into two functions Ramalingam C
2015-06-11  9:38     ` [PATCH 2/2] drm/i915: frontbuffer invalidate at flip schedule Ramalingam C
2015-06-11  9:56       ` Chris Wilson
2015-06-11 10:57         ` Ramalingam C
2015-06-14 20:59       ` shuang.he

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox