Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: set persistent mode for fbc
@ 2011-07-01 19:48 Ben Widawsky
  2011-07-02  7:16 ` Chris Wilson
  2011-07-03 11:01 ` Chris Wilson
  0 siblings, 2 replies; 8+ messages in thread
From: Ben Widawsky @ 2011-07-01 19:48 UTC (permalink / raw)
  To: intel-gfx

This seems to fix my bugs with sna enabled.

We should collect some power numbers, and validate it works on ILK
before upstreaming. (And read more about what it actually does).

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
 drivers/gpu/drm/i915/intel_display.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 804ac4d..4b94d71 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1607,6 +1607,8 @@ static void ironlake_enable_fbc(struct drm_crtc *crtc, unsigned long interval)
 		I915_WRITE(SNB_DPFC_CTL_SA,
 			   SNB_CPU_FENCE_ENABLE | dev_priv->cfb_fence);
 		I915_WRITE(DPFC_CPU_FENCE_OFFSET, crtc->y);
+		/* Set persistent mode */
+		I915_WRITE(ILK_DPFC_CONTROL, 1 << 25);
 		sandybridge_blit_fbc_update(dev);
 	}
 
-- 
1.7.6

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

end of thread, other threads:[~2011-07-04 21:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 19:48 [PATCH] drm/i915: set persistent mode for fbc Ben Widawsky
2011-07-02  7:16 ` Chris Wilson
2011-07-03 11:01 ` Chris Wilson
2011-07-03 15:32   ` Ben Widawsky
2011-07-04 12:35     ` [PATCH] drm/i915: Set persistent-mode for SNB framebuffer compression Chris Wilson
2011-07-04 18:18       ` Chris Wilson
2011-07-04 21:22         ` Ben Widawsky
2011-07-04 18:23       ` Keith Packard

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