diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-12-11 20:07:17 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-16 23:00:05 +0100 |
commit | b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0 (patch) | |
tree | 66624c9810c8175e403a047113f35aef61e925b6 /drivers/gpu/drm/i915/intel_tv.c | |
parent | drm/i915: Track whether cursor needs physical address in intel_device_info (diff) | |
download | linux-b01f2c3a4a37d09a47ad73ccbb46d554d21cfeb0.tar.xz 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); } |