]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm/i915: add VGA hotplug support for 945+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 31 Mar 2009 21:11:15 +0000 (14:11 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 1 Apr 2009 22:21:57 +0000 (15:21 -0700)
commit5ca58282089b11f64b911618036ee7676f12735b
tree4a53f11f1f0647ae28a4ba42269efc6b66d7b4fc
parent4a8df45894d26dc503013ea630927731c24be6b8
drm/i915: add VGA hotplug support for 945+

Add VGA port hotplug detection to the i915 driver.  When KMS is enabled,
plugging in or removing a VGA cable from the VGA connector will
generate a uevent, which indicates to userspace that it should re-probe
outputs on this device (to determine modes, etc.).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[anholt: dropped extra PORT_HOTPLUG_STAT clear with ack from jbarnes]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/drm_sysfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_crt.c