Summary: | [915GM bisected] Spurious inputs detected with drm-intel-fixes | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Sitsofe Wheeler <sitsofe> | ||||
Component: | DRM/Intel | Assignee: | Chris Wilson <chris> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | medium | CC: | jbarnes | ||||
Version: | XOrg git | ||||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Sitsofe Wheeler
2011-04-02 03:36:39 UTC
Step 1: diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c index 8342259..41e41ad 100644 --- a/drivers/gpu/drm/i915/intel_crt.c +++ b/drivers/gpu/drm/i915/intel_crt.c @@ -293,9 +293,9 @@ static bool intel_crt_detect_ddc(struct drm_connector *connector) if (crt->base.type != INTEL_OUTPUT_ANALOG) return false; - if (intel_crt_ddc_probe(dev_priv, dev_priv->crt_ddc_pin)) { - DRM_DEBUG_KMS("CRT detected via DDC:0xa0\n"); - return true; + if (!intel_crt_ddc_probe(dev_priv, dev_priv->crt_ddc_pin)) { + DRM_DEBUG_KMS("CRT detected not via DDC:0xa0\n"); + return false; } if (intel_ddc_probe(&crt->base, dev_priv->crt_ddc_pin)) { In fact that a0 probe can simply be removed, since all it does is confirm the existence of the controller not a connection. Created attachment 45156 [details]
drm.debug=0xe output for 7f58aabc369014fda3a4a33604ba0a1b63b941ac
I have a feeling this output won't be needed but I had just gathered it before your most recent messages :)
And the unknown TV connection is a knock-on effect since we require a spare pipe to perform load-detection. (Without which the connection status is simply unknown.) Wham! And the problem's fixed with the patch in comment #1. You're fast Chris! Do you need debug output too? Could "CRT detected not via DDC:0xa0\n" be better worded as "CRT absent via DDC:0xa0\n"? Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com> I just need to work out if there is some permutation of the 0xa0 probe that has merit, or whether to simply remove it. I think removing it is simplest and so rely on EDID retrieval. linus commit 0de009c900e7ebd21097797f723a40813e953879 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Apr 5 16:04:39 2011 +0100 drm/i915/crt: Remove 0xa0 probe for VGA This is a moral revert of 6ec3d0c0e9c0c605696e91048eebaca7b0c36695. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.