diff options
| -rw-r--r-- | drivers/gpu/drm/i915/intel_sdvo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 232d77d07d8b..ae5e748f39bb 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
| @@ -1220,8 +1220,14 @@ static bool intel_sdvo_get_capabilities(struct intel_sdvo *intel_sdvo, struct in | |||
| 1220 | 1220 | ||
| 1221 | static int intel_sdvo_supports_hotplug(struct intel_sdvo *intel_sdvo) | 1221 | static int intel_sdvo_supports_hotplug(struct intel_sdvo *intel_sdvo) |
| 1222 | { | 1222 | { |
| 1223 | struct drm_device *dev = intel_sdvo->base.base.dev; | ||
| 1223 | u8 response[2]; | 1224 | u8 response[2]; |
| 1224 | 1225 | ||
| 1226 | /* HW Erratum: SDVO Hotplug is broken on all i945G chips, there's noise | ||
| 1227 | * on the line. */ | ||
| 1228 | if (IS_I945G(dev) || IS_I945GM(dev)) | ||
| 1229 | return false; | ||
| 1230 | |||
| 1225 | return intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_HOT_PLUG_SUPPORT, | 1231 | return intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_HOT_PLUG_SUPPORT, |
| 1226 | &response, 2) && response[0]; | 1232 | &response, 2) && response[0]; |
| 1227 | } | 1233 | } |
