diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-31 14:11:15 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-01 15:21:57 -0700 |
commit | 5ca58282089b11f64b911618036ee7676f12735b (patch) | |
tree | 4a53f11f1f0647ae28a4ba42269efc6b66d7b4fc /drivers/gpu/drm/i915/i915_dma.c | |
parent | 4a8df45894d26dc503013ea630927731c24be6b8 (diff) | |
download | op-kernel-dev-5ca58282089b11f64b911618036ee7676f12735b.zip op-kernel-dev-5ca58282089b11f64b911618036ee7676f12735b.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 8ce57f9..0b9984f 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1030,13 +1030,6 @@ static int i915_load_modeset_init(struct drm_device *dev) if (ret) goto destroy_ringbuffer; - /* FIXME: re-add hotplug support */ -#if 0 - ret = drm_hotplug_init(dev); - if (ret) - goto destroy_ringbuffer; -#endif - /* Always safe in the mode setting case. */ /* FIXME: do pre/post-mode set stuff in core KMS code */ dev->vblank_disable_allowed = 1; |