projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382fe70
)
drm/i915: Use RSEN instead of HTPLG for tfp410 monitor detection.
author
Dave Müller
<dave.mueller@gmx.ch>
Fri, 4 Jun 2010 23:39:59 +0000
(16:39 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 4 Jun 2010 23:39:59 +0000
(16:39 -0700)
Presence detection of a digital monitor seems not to be reliable using
the HTPLG bit.
Dave Müller <dave.mueller@gmx.ch>
drivers/gpu/drm/i915/dvo_tfp410.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/dvo_tfp410.c
b/drivers/gpu/drm/i915/dvo_tfp410.c
index 66c697bc9b2274abb8701ffa63a42b1782bb3297..56f66426207f0a1a293dcb073360985d328fd85e 100644
(file)
--- a/
drivers/gpu/drm/i915/dvo_tfp410.c
+++ b/
drivers/gpu/drm/i915/dvo_tfp410.c
@@
-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;