[PATCH 04/14] drm/i915: set POLL_FORCE for sdvo outputs

Daniel Vetter daniel.vetter at ffwll.ch
Thu May 24 12:26:39 PDT 2012


The detection function is simply too unreliable - it doesn't
properly pick up changes right away.

For now, just set the compat flag and ignore this, because on a
quick look fixing this properly is a very big fish to fry.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 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 a658207..fdc0574 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -2012,6 +2012,8 @@ intel_sdvo_connector_init(struct intel_sdvo_connector *connector,
 	connector->base.base.doublescan_allowed = 0;
 	connector->base.base.display_info.subpixel_order = SubPixelHorizontalRGB;
 
+	connector->base.base.polled |= DRM_CONNECTOR_POLL_FORCE;
+
 	intel_connector_attach_encoder(&connector->base, &encoder->base);
 	drm_sysfs_connector_add(&connector->base.base);
 }
-- 
1.7.7.6



More information about the dri-devel mailing list