xf86-video-intel: Branch 'modesetting-rotation' - src/i830_display.c
Eric Anholt
anholt at kemper.freedesktop.org
Thu Jan 18 02:58:34 EET 2007
src/i830_display.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree 53e765d1cf5016961c25a798a27f0fe09bd1f237 (from f256243fff195f73bc8aa72e8dd2c6f7b33446cf)
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jan 17 16:56:06 2007 -0800
Fix broken last-minute change in determining whether we're rotated or not.
diff --git a/src/i830_display.c b/src/i830_display.c
index 08842ec..2313f76 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -342,7 +342,7 @@ i830PipeSetBase(xf86CrtcPtr crtc, int x,
int dspbase = (pipe == 0 ? DSPABASE : DSPBBASE);
int dspsurf = (pipe == 0 ? DSPASURF : DSPBSURF);
- if (intel_crtc->rotate_mem.Start != 0) {
+ if (crtc->rotation != RR_Rotate_0) {
Start = intel_crtc->rotate_mem.Start;
} else if (I830IsPrimary(pScrn)) {
Start = pI830->FrontBuffer.Start;
More information about the xorg-commit
mailing list