]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix hotplug event bit tracking
authorJani Nikula <jani.nikula@intel.com>
Tue, 7 May 2013 12:10:29 +0000 (15:10 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:34 +0000 (21:56 +0200)
commitf28ba3ec2af641bf1b4d1e5f8a4dc1f9eda08215
tree9bc9e26f9ca9e9bb312774c4cfc18584f346ed00
parent94701caaaa08056f7f0b5c7e9c015d070050cb81
drm/i915: fix hotplug event bit tracking

commit d60a011368ff32b182fc547b73fb0cadd2277d6f
Author: Egbert Eich <eich@suse.de>
Date:   Thu Apr 11 15:57:57 2013 +0200

    drm/i915: Add bit field to record which pins have received HPD events (v3)

added a bit field for hotplug event tracking. There ended up being three
different v3 of the patch: [1], [2], and [3]. Apparently [1] was the
correct one, but some frankenstein combination of the three got
committed, which reversed the logic for setting the hotplug bits and
misplaced a continue statement, skipping the hotplug irq storm handling
altogether.

This lead to broken hotplug detection, bisected to
commit 34b8903a94a613c05ec737b8cd02184857ede3d8
Author: Egbert Eich <eich@suse.de>
Date:   Thu Apr 11 16:00:26 2013 +0200

    drm/i915: Only reprobe display on encoder which has received an HPD event (v2)

which uses the incorrectly set hotplug event bits.

Fix the mess.

[1] http://mid.gmane.org/1366112220-7638-6-git-send-email-eich@suse.de
[2] http://mid.gmane.org/1365688677-13682-1-git-send-email-eich@suse.de
[3] http://mid.gmane.org/1365688996-13874-1-git-send-email-eich@suse.de

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c