public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: don't enable FDI & transcoder interrupts after all
@ 2011-02-11 22:44 Jesse Barnes
  2011-02-12 11:23 ` [PATCH] drm/i915: dont " Chris Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Barnes @ 2011-02-11 22:44 UTC (permalink / raw)
  To: intel-gfx

We can enable some safely, but FDI and transcoder interrupts can occur
and block other interrupts from being detected (like port hotplug
events).  So keep them disabled by default (they can be re-enabled for
debugging display bringup, but should generally be off).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/i915_irq.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 97f946dc..8a9e08b 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -316,6 +316,8 @@ static void i915_hotplug_work_func(struct work_struct *work)
 	struct drm_mode_config *mode_config = &dev->mode_config;
 	struct intel_encoder *encoder;
 
+	DRM_DEBUG_KMS("running encoder hotplug functions\n");
+
 	list_for_each_entry(encoder, &mode_config->encoder_list, base.head)
 		if (encoder->hot_plug)
 			encoder->hot_plug(encoder);
@@ -1649,9 +1651,7 @@ static int ironlake_irq_postinstall(struct drm_device *dev)
 	} else {
 		hotplug_mask = SDE_CRT_HOTPLUG | SDE_PORTB_HOTPLUG |
 			       SDE_PORTC_HOTPLUG | SDE_PORTD_HOTPLUG;
-		hotplug_mask |= SDE_AUX_MASK | SDE_FDI_MASK | SDE_TRANS_MASK;
-		I915_WRITE(FDI_RXA_IMR, 0);
-		I915_WRITE(FDI_RXB_IMR, 0);
+		hotplug_mask |= SDE_AUX_MASK;
 	}
 
 	dev_priv->pch_irq_mask = ~hotplug_mask;
-- 
1.7.2.3

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

* Re: [PATCH] drm/i915: dont enable FDI & transcoder interrupts after all
  2011-02-11 22:44 [PATCH] drm/i915: don't enable FDI & transcoder interrupts after all Jesse Barnes
@ 2011-02-12 11:23 ` Chris Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wilson @ 2011-02-12 11:23 UTC (permalink / raw)
  To: Jesse Barnes, intel-gfx

On Fri, 11 Feb 2011 14:44:51 -0800, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> We can enable some safely, but FDI and transcoder interrupts can occur
> and block other interrupts from being detected (like port hotplug
> events).  So keep them disabled by default (they can be re-enabled for
> debugging display bringup, but should generally be off).

I've queued this to -fixes. I want to try and sync up painlessly with
linus/master before pushing to the public tree though. I hear most of the
upstream suspend/resume and wifi woes are now abating...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

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

end of thread, other threads:[~2011-02-12 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 22:44 [PATCH] drm/i915: don't enable FDI & transcoder interrupts after all Jesse Barnes
2011-02-12 11:23 ` [PATCH] drm/i915: dont " Chris Wilson

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