All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm/i915: Disable primary plane trickle feed for g4x
@ 2013-04-17 17:11 ville.syrjala
  2013-04-17 17:11 ` [PATCH 2/4] drm/i915: Clarify DSPPOS/DSPSIZE and pipe selection for planes A/B ville.syrjala
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: ville.syrjala @ 2013-04-17 17:11 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The docs say that the trickle feed disable bit is present (for primary
planes only, not video sprites) on BLC and CTG, and that it must be set
for ELK. Just set it for all g4x chipset.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 21f368c..fb88356 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2150,6 +2150,9 @@ static int i9xx_update_plane(struct drm_crtc *crtc, struct drm_framebuffer *fb,
 			dspcntr &= ~DISPPLANE_TILED;
 	}
 
+	if (IS_G4X(dev))
+		dspcntr |= DISPPLANE_TRICKLE_FEED_DISABLE;
+
 	I915_WRITE(reg, dspcntr);
 
 	linear_offset = y * fb->pitches[0] + x * (fb->bits_per_pixel / 8);
-- 
1.8.1.5

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH 0/4] drm/i915: Trickle feed bits v2
@ 2013-06-07  7:47 ville.syrjala
  2013-06-07  7:47 ` [PATCH 1/4] drm/i915: Disable primary plane trickle feed for g4x ville.syrjala
  0 siblings, 1 reply; 7+ messages in thread
From: ville.syrjala @ 2013-06-07  7:47 UTC (permalink / raw)
  To: intel-gfx

This is a re-send of the trickle feed patches.

Patches 1-3 are unchanged.

I left out the VLV patch until I can clarify the situation a bit more.

I also got sick of the amount of copy pasted code, so I also added another
patch to refactor the code a bit (patch 4)

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

end of thread, other threads:[~2013-06-07  7:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 17:11 [PATCH 1/4] drm/i915: Disable primary plane trickle feed for g4x ville.syrjala
2013-04-17 17:11 ` [PATCH 2/4] drm/i915: Clarify DSPPOS/DSPSIZE and pipe selection for planes A/B ville.syrjala
2013-04-17 17:12 ` [PATCH 3/4] drm/i915: Sprite C support for Gen4 and earlier ville.syrjala
2013-04-17 17:12 ` [PATCH 4/4] drm/i915: Use ILK+ style video sprites for Gen4.5 ville.syrjala
2013-04-17 17:25 ` [PATCH 1/4] drm/i915: Disable primary plane trickle feed for g4x Chris Wilson
2013-04-17 17:46   ` Ville Syrjälä
  -- strict thread matches above, loose matches on Subject: below --
2013-06-07  7:47 [PATCH 0/4] drm/i915: Trickle feed bits v2 ville.syrjala
2013-06-07  7:47 ` [PATCH 1/4] drm/i915: Disable primary plane trickle feed for g4x ville.syrjala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.