Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318595
b: refs/heads/master
c: aaa3773
h: refs/heads/master
i:
  318593: b54cb7b
  318591: d85e516
v: v3
  • Loading branch information
Daniel Vetter committed Jun 16, 2012
1 parent ee9de4b commit ab7d384
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e96d9c4d9843f00ebeb4a9b33596d96602ea101
refs/heads/master: aaa377302b2994fcc2c66741b47da33feb489dca
15 changes: 12 additions & 3 deletions trunk/drivers/gpu/drm/i915/intel_crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,18 +453,27 @@ 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))
return connector_status_connected;

/* Load detection is broken on HPD capable machines. Whoever wants a
* broken monitor (without edid) to work behind a broken kvm (that fails
* to have the right resistors for HP detection) needs to fix this up.
* For now just bail out. */
if (I915_HAS_HOTPLUG(dev))
return connector_status_disconnected;

if (!force)
return connector->status;

Expand Down

0 comments on commit ab7d384

Please sign in to comment.