aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 2b3b4754c97d..ba058e600ce7 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1421,7 +1421,7 @@ intel_analog_is_connected(struct drm_device *dev)
1421 if (!analog_connector) 1421 if (!analog_connector)
1422 return false; 1422 return false;
1423 1423
1424 if (analog_connector->funcs->detect(analog_connector) == 1424 if (analog_connector->funcs->detect(analog_connector, false) ==
1425 connector_status_disconnected) 1425 connector_status_disconnected)
1426 return false; 1426 return false;
1427 1427
@@ -1490,7 +1490,8 @@ intel_sdvo_hdmi_sink_detect(struct drm_connector *connector)
1490 return status; 1490 return status;
1491} 1491}
1492 1492
1493static enum drm_connector_status intel_sdvo_detect(struct drm_connector *connector) 1493static enum drm_connector_status
1494intel_sdvo_detect(struct drm_connector *connector, bool force)
1494{ 1495{
1495 uint16_t response; 1496 uint16_t response;
1496 struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector); 1497 struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);