diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sdvo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 42ceb15da689..ca372abc36cd 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
@@ -2244,6 +2244,7 @@ intel_sdvo_dvi_init(struct intel_encoder *intel_encoder, int device) | |||
2244 | } | 2244 | } |
2245 | 2245 | ||
2246 | connector = &intel_connector->base; | 2246 | connector = &intel_connector->base; |
2247 | connector->polled = DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT; | ||
2247 | encoder->encoder_type = DRM_MODE_ENCODER_TMDS; | 2248 | encoder->encoder_type = DRM_MODE_ENCODER_TMDS; |
2248 | connector->connector_type = DRM_MODE_CONNECTOR_DVID; | 2249 | connector->connector_type = DRM_MODE_CONNECTOR_DVID; |
2249 | 2250 | ||
@@ -2310,6 +2311,7 @@ intel_sdvo_analog_init(struct intel_encoder *intel_encoder, int device) | |||
2310 | return false; | 2311 | return false; |
2311 | 2312 | ||
2312 | connector = &intel_connector->base; | 2313 | connector = &intel_connector->base; |
2314 | connector->polled = DRM_CONNECTOR_POLL_CONNECT; | ||
2313 | encoder->encoder_type = DRM_MODE_ENCODER_DAC; | 2315 | encoder->encoder_type = DRM_MODE_ENCODER_DAC; |
2314 | connector->connector_type = DRM_MODE_CONNECTOR_VGA; | 2316 | connector->connector_type = DRM_MODE_CONNECTOR_VGA; |
2315 | sdvo_connector = intel_connector->dev_priv; | 2317 | sdvo_connector = intel_connector->dev_priv; |