summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-27 12:01:47 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-27 12:01:47 -0800
commite8d1db326388c9a112f2b8e2eff5a81210b8d6e4 (patch)
tree9f5873b25639160d80808f96b7dea897854b6019 /src/i830_video.c
parenta0518f5a440630365b1d935b7c2d0725f326ad51 (diff)
Move crtc/output config to sub-structure.
Place crtc/output in separate structure at head of driver private structure. Use this from the config code to make it driver-independent. Still lots of effectively driver independent code that continues to use driver dependent stuff, but that will change.
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index 5ce2b5d3..2f626b2a 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -3595,7 +3595,7 @@ I830VideoSwitchModeAfter(ScrnInfoPtr pScrn, DisplayModePtr mode)
}
/* Check we have an LFP connected */
- if (i830PipeHasType (pI830->xf86_crtc[pPriv->pipe], I830_OUTPUT_LVDS))
+ if (i830PipeHasType (pI830->xf86_config.crtc[pPriv->pipe], I830_OUTPUT_LVDS))
{
size = pPriv->pipe ? INREG(PIPEBSRC) : INREG(PIPEASRC);
hsize = (size >> 16) & 0x7FF;