drm/i915: only enable hotplug for detected outputs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 11 Dec 2009 19:07:17 +0000 (11:07 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 16 Dec 2009 22:00:05 +0000 (14:00 -0800)
commitb01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0
tree66624c9810c8175e403a047113f35aef61e925b6
parentb295d1b6e3e3f240d27cbe556d33ff5eb54721a7
drm/i915: only enable hotplug for detected outputs

This patch changes around our hotplug enable code a bit to only enable
it for ports we actually detect and initialize.  This prevents problems
with stuck or spurious interrupts on outputs that aren't actually wired
up, and is generally more correct.

Fixes FDO bug #23183.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_tv.c