diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-08 09:42:35 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-08 09:42:35 +0100 |
commit | 6cf98d6ebb37a183d92c4183dc228cdeef9a7083 (patch) | |
tree | a37584328f0e1df87db9b1c8662655a2e8891a43 /drivers/gpu/drm/i915/intel_crt.c | |
parent | 7aaa61b3476462b69f1ac7669fcca8d608ce3cb5 (diff) | |
parent | 23e81d691a813839020f6e516b398d0f9369fe8b (diff) | |
download | op-kernel-dev-6cf98d6ebb37a183d92c4183dc228cdeef9a7083.zip op-kernel-dev-6cf98d6ebb37a183d92c4183dc228cdeef9a7083.tar.gz |
Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes
* 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel:
drm/i915: pch_irq_handler -> {ibx, cpt}_irq_handler
char/agp: add another Ironlake host bridge
drm/i915: fix up ivb plane 3 pageflips
drm/i915: hold forcewake around ring hw init
drm/i915: Mark the ringbuffers as being in the GTT domain
drm/i915/crt: Do not rely upon the HPD presence pin
drm/i915: Reset last_retired_head when resetting ring
Diffstat (limited to 'drivers/gpu/drm/i915/intel_crt.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_crt.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c index 75a70c4..844e93e 100644 --- a/drivers/gpu/drm/i915/intel_crt.c +++ b/drivers/gpu/drm/i915/intel_crt.c @@ -453,13 +453,15 @@ intel_crt_detect(struct drm_connector *connector, bool force) struct intel_load_detect_pipe tmp; if (I915_HAS_HOTPLUG(dev)) { + /* We can not rely on the HPD pin always being correctly wired + * up, for example many KVM do not pass it through, and so + * only trust an assertion that the monitor is connected. + */ if (intel_crt_detect_hotplug(connector)) { DRM_DEBUG_KMS("CRT detected via hotplug\n"); return connector_status_connected; - } else { + } else DRM_DEBUG_KMS("CRT not detected via hotplug\n"); - return connector_status_disconnected; - } } if (intel_crt_detect_ddc(connector)) |