summaryrefslogtreecommitdiff
path: root/src/i830_accel.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-10-06 17:00:08 -0700
committerEric Anholt <eric@anholt.net>2008-10-06 17:26:43 -0700
commit3a4151b69daa478ac6edf042d604ee41e8429c0d (patch)
treefff1ba0ece972c7b593a01ae7f3bc9681d63aae5 /src/i830_accel.c
parent3621183cf4acef23414e8d69c34b1e587f52ec67 (diff)
Fix driver build against server 1.4.2.
This disables UXA and DRM modesetting pre-1.5, due to privates handling issues.
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r--src/i830_accel.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c
index 386e653f..a9b30059 100644
--- a/src/i830_accel.c
+++ b/src/i830_accel.c
@@ -331,9 +331,13 @@ I830AccelInit(ScreenPtr pScreen)
pI830->accel_max_y = 2048;
}
switch (pI830->accel) {
-#ifdef I830_USE_UXA
case ACCEL_UXA:
+#ifdef I830_USE_UXA
return i830_uxa_init(pScreen);
+#else
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
+ "UXA not built in, falling back to EXA.\n");
+ return I830EXAInit(pScreen);
#endif
#ifdef I830_USE_EXA
case ACCEL_EXA: