diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-12-11 11:07:17 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-16 14:00:05 -0800 |
commit | b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0 (patch) | |
tree | 66624c9810c8175e403a047113f35aef61e925b6 /drivers/gpu/drm/i915/intel_tv.c | |
parent | b295d1b6e3e3f240d27cbe556d33ff5eb54721a7 (diff) | |
download | linux-b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0.tar.gz linux-b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0.tar.bz2 linux-b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_tv.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_tv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index 552ec110b741..1d5b9b7b033f 100644 --- a/drivers/gpu/drm/i915/intel_tv.c +++ b/drivers/gpu/drm/i915/intel_tv.c @@ -1840,6 +1840,8 @@ intel_tv_init(struct drm_device *dev) drm_connector_attach_property(connector, dev->mode_config.tv_bottom_margin_property, tv_priv->margin[TV_MARGIN_BOTTOM]); + + dev_priv->hotplug_supported_mask |= TV_HOTPLUG_INT_STATUS; out: drm_sysfs_connector_add(connector); } |