[Bug 58405] [i965GM SDVO] Driver not emitting event when unplugging enabled HDMI output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 9 08:48:14 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=58405

--- Comment #31 from Daniel Vetter <daniel at ffwll.ch> ---
Hm, that's strange. Can you please add a bit of printk debugging on top to
figure out where the interrput might get killed, like this:

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 0aa2ef0..ca937e3 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -2874,6 +2874,7 @@ static void i915_hpd_irq_setup(struct drm_device *dev)

        if (I915_HAS_HOTPLUG(dev)) {
                hotplug_en = I915_READ(PORT_HOTPLUG_EN);
+               printk("hotplug_en old 0x%08x\n", hotplug_en);
                hotplug_en &= ~HOTPLUG_INT_EN_MASK;
                /* Note HDMI and DP share hotplug bits */
                /* enable bits are the same for all generations */
@@ -2891,6 +2892,7 @@ static void i915_hpd_irq_setup(struct drm_device *dev)

                /* Ignore TV since it's buggy */
                I915_WRITE(PORT_HOTPLUG_EN, hotplug_en);
+               printk("hotplug_en new 0x%08x\n", hotplug_en);
        }
 }

Then please attach debug dmesg.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130609/1c48b10e/attachment.html>


More information about the intel-gfx-bugs mailing list