From: Dave Müller Date: Fri, 4 Jun 2010 23:39:59 +0000 (-0700) Subject: drm/i915: Use RSEN instead of HTPLG for tfp410 monitor detection. X-Git-Tag: v2.6.34.4~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bab121beebb1ee0dfad5493529d0bba8886bf49;p=thirdparty%2Fkernel%2Fstable.git drm/i915: Use RSEN instead of HTPLG for tfp410 monitor detection. commit f458823b864c6def488f951a79986fa205aba4f1 upstream. Presence detection of a digital monitor seems not to be reliable using the HTPLG bit. Dave Müller Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/i915/dvo_tfp410.c b/drivers/gpu/drm/i915/dvo_tfp410.c index c7c391bc116a6..ad2e30947869f 100644 --- a/drivers/gpu/drm/i915/dvo_tfp410.c +++ b/drivers/gpu/drm/i915/dvo_tfp410.c @@ -216,7 +216,7 @@ static enum drm_connector_status tfp410_detect(struct intel_dvo_device *dvo) uint8_t ctl2; if (tfp410_readb(dvo, TFP410_CTL_2, &ctl2)) { - if (ctl2 & TFP410_CTL_2_HTPLG) + if (ctl2 & TFP410_CTL_2_RSEN) ret = connector_status_connected; else ret = connector_status_disconnected;