summaryrefslogtreecommitdiff
path: root/src/i830_rotate.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-05-12 15:00:17 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-05-12 15:00:17 -0700
commit88558ebeed12d6cefd73bba0ddac3c043861ac89 (patch)
treefe62cd6296b15bbd517adfc7cb03b059dd510160 /src/i830_rotate.c
parent9e387ef92be9b38c68bda8a6a28b0d9eb98d53a4 (diff)
Start fixing up the build and remove a regression from master (I think) in
rotation.
Diffstat (limited to 'src/i830_rotate.c')
-rw-r--r--src/i830_rotate.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/i830_rotate.c b/src/i830_rotate.c
index 9c91cc40..1f1d7291 100644
--- a/src/i830_rotate.c
+++ b/src/i830_rotate.c
@@ -680,10 +680,13 @@ I830Rotate(ScrnInfoPtr pScrn, DisplayModePtr mode)
0
};
- if (IS_I9XX(pI830))
- func = I915UpdateRotate;
+ if (pI830->noAccel)
+ func = LoaderSymbol("shadowUpdateRotatePacked");
else
- func = I830UpdateRotate;
+ if (IS_I9XX(pI830))
+ func = I915UpdateRotate;
+ else
+ func = I830UpdateRotate;
if (I830IsPrimary(pScrn)) {
pI8301 = pI830;