summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-03-15 13:10:23 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-03-15 13:10:23 +0000
commit50a105e88cfdfc22fef8cfd2397fc5e9fae17663 (patch)
tree8eb7dedb6e9bd814cd865058b2b33c715dd88400 /src/i830_driver.c
parenteb8b5df739e7be4509423c2bf757a7df35ce02f6 (diff)
LFP's may exist on Pipe A in older i830's. Check that case so that Panel ID can
be obtained and Xvideo is correctly setup for panel fitting.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index acfd57d5..8d611a46 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2633,9 +2633,10 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE;
}
- /* Check we are on pipe B and have an LFP connected, before trying to
+ /* Check we have an LFP connected, before trying to
* read PanelID information. */
- if ((pI830->pipe == 1) && (pI830->operatingDevices & (PIPE_LFP << 8))) {
+ if ( (pI830->pipe == 1 && pI830->operatingDevices & (PIPE_LFP << 8)) ||
+ (pI830->pipe == 0 && pI830->operatingDevices & PIPE_LFP) ) {
vbeDoPanelID(pI830->pVbe);
}