Skip to content

Commit

Permalink
drm/i915: Use RSEN instead of HTPLG for tfp410 monitor detection.
Browse files Browse the repository at this point in the history
Presence detection of a digital monitor seems not to be reliable using
the HTPLG bit.

Dave Müller <dave.mueller@gmx.ch>
  • Loading branch information
DavidMueller0 authored and anholt committed Jun 4, 2010
1 parent 382fe70 commit f458823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/dvo_tfp410.c
Expand Up @@ -208,7 +208,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;
Expand Down

0 comments on commit f458823

Please sign in to comment.