445,6 → 445,7 |
struct drm_i915_private *dev_priv = crt->base.base.dev->dev_private; |
struct edid *edid; |
struct i2c_adapter *i2c; |
bool ret = false; |
|
BUG_ON(crt->base.type != INTEL_OUTPUT_ANALOG); |
|
461,10 → 462,10 |
*/ |
if (!is_digital) { |
DRM_DEBUG_KMS("CRT detected via DDC:0x50 [EDID]\n"); |
return true; |
ret = true; |
} else { |
DRM_DEBUG_KMS("CRT not detected via DDC:0x50 [EDID reports a digital panel]\n"); |
} |
|
DRM_DEBUG_KMS("CRT not detected via DDC:0x50 [EDID reports a digital panel]\n"); |
} else { |
DRM_DEBUG_KMS("CRT not detected via DDC:0x50 [no valid EDID found]\n"); |
} |
471,7 → 472,7 |
|
kfree(edid); |
|
return false; |
return ret; |
} |
|
static enum drm_connector_status |