summaryrefslogtreecommitdiff
path: root/src/i830_accel.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-07-08 18:06:40 -0700
committerKeith Packard <keithp@keithp.com>2009-07-10 18:26:58 -0700
commitd655a3ff423e69c19a5dc07140cbf3caaa32cb86 (patch)
tree94cc299ade3915048399c2fbc1dc05fe3210fdac /src/i830_accel.c
parent4e4b947f0b13f4a62606ccfd5729d5eb26ca0e92 (diff)
Remove NoAccel support
This removes yet another 'debugging' option that hasn't seen real use in a long time, and wasn't supported under KMS in any case. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r--src/i830_accel.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c
index b365e3f9..96a7bde8 100644
--- a/src/i830_accel.c
+++ b/src/i830_accel.c
@@ -136,7 +136,7 @@ I830Sync(ScrnInfoPtr pScrn)
if (I810_DEBUG & (DEBUG_VERBOSE_ACCEL | DEBUG_VERBOSE_SYNC))
ErrorF("I830Sync\n");
- if (pI830->accel == ACCEL_NONE || !pScrn->vtSema || !pI830->batch_bo)
+ if (!pScrn->vtSema || !pI830->batch_bo)
return;
I830EmitFlush(pScrn);
@@ -236,12 +236,5 @@ I830AccelInit(ScreenPtr pScreen)
if (pI830->directRenderingType >= DRI_DRI2)
pI830->accel_pixmap_pitch_alignment = 512;
- switch (pI830->accel) {
- case ACCEL_UXA:
- return i830_uxa_init(pScreen);
- case ACCEL_UNINIT:
- case ACCEL_NONE:
- break;
- }
- return FALSE;
+ return i830_uxa_init(pScreen);
}