Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: fixup assert_pipe to take the pipe A quirk into account
@ 2012-01-22  0:36 Daniel Vetter
  2012-01-22  4:36 ` Keith Packard
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2012-01-22  0:36 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

This was completely spamming dmesg on my i855gm.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/intel_display.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 5ba19df..1709e67 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -936,6 +936,10 @@ void assert_pipe(struct drm_i915_private *dev_priv,
 	u32 val;
 	bool cur_state;
 
+	/* if we need the pipe A quirk it must be always on */
+	if (pipe == PIPE_A && dev_priv->quirks & QUIRK_PIPEA_FORCE)
+		state = true;
+
 	reg = PIPECONF(pipe);
 	val = I915_READ(reg);
 	cur_state = !!(val & PIPECONF_ENABLE);
-- 
1.7.8.3

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

end of thread, other threads:[~2012-01-24 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-22  0:36 [PATCH] drm/i915: fixup assert_pipe to take the pipe A quirk into account Daniel Vetter
2012-01-22  4:36 ` Keith Packard
2012-01-23 19:40   ` Daniel Vetter
2012-01-24 18:24     ` Jesse Barnes
2012-01-24 18:49       ` Daniel Vetter

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