summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Bachelot <xavier@bachelot.org>2013-05-21 21:24:41 +0200
committerXavier Bachelot <xavier@bachelot.org>2013-05-22 20:16:03 +0200
commit50cef9490c6a128613c5b9f3f19ef2e803088983 (patch)
treec1987cf714660c34be52666e858eb0687b0e2778
parent79731f58281eb8782f8291a3d9375cb3f7691a13 (diff)
Probe TV encoder on all but the P4M900, unless we know the board has a TV encoder.
Probing the TV encoder on the P4M900 chipset family when there is no such encoder is not safe. It is safe however on all other platforms.
-rw-r--r--src/via_outputs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/via_outputs.c b/src/via_outputs.c
index 7e0c5e4..1271fc8 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -885,7 +885,7 @@ ViaOutputsDetect(ScrnInfoPtr pScrn)
* disables the panel on P4M900
*/
/* TV encoder */
- if (pVia->ActiveDevice & VIA_DEVICE_TV)
+ if ((pVia->Chipset != VIA_P4M900) || (pVia->ActiveDevice & VIA_DEVICE_TV))
via_tv_init(pScrn);
if (pVia->ActiveDevice & VIA_DEVICE_DFP) {