DRM/i915: Convert HPD interrupts to make use of HPD pin assignment in encoders (v2)
authorEgbert Eich <eich@suse.de>
Thu, 28 Feb 2013 09:17:12 +0000 (04:17 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 20:52:19 +0000 (21:52 +0100)
commite5868a318d1ae28f760f77bb91ce5deb751733fd
tree12e4ec4d4f18fff537105d7797f47397fe8dbfa2
parent1d843f9de4e6dc6a899b6f07f106c00da09925e6
DRM/i915: Convert HPD interrupts to make use of HPD pin assignment in encoders (v2)

This allows to enable HPD interrupts for individual pins to only receive
hotplug events from lines which are connected and working.

v2: Restructured initailization of const arrays following a suggstion
    by Chris Wilson <chris@chris-wilson.co.uk>

Signed-off-by: Egbert Eich <eich@suse.de>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h