From 4bcab83bbddf8a698aa83f5038f9ab019a404bd5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 18 Jul 2012 22:19:45 +0100 Subject: i810: DRI is not dependent upon XAA The blit routines is uses are independent of the XAA driver interface and can be used separately. Signed-off-by: Chris Wilson --- src/legacy/i810/i810_dri.c | 2 ++ src/legacy/i810/i810_driver.c | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/legacy') diff --git a/src/legacy/i810/i810_dri.c b/src/legacy/i810/i810_dri.c index f2643f54..3bdb2ceb 100644 --- a/src/legacy/i810/i810_dri.c +++ b/src/legacy/i810/i810_dri.c @@ -1424,5 +1424,7 @@ I810DRIEnter(ScrnInfoPtr pScrn) pI810->CursorARGBStart) != 0) return FALSE; } + + I810SelectBuffer(pScrn, I810_SELECT_FRONT); return TRUE; } diff --git a/src/legacy/i810/i810_driver.c b/src/legacy/i810/i810_driver.c index 98216121..bd80077b 100644 --- a/src/legacy/i810/i810_driver.c +++ b/src/legacy/i810/i810_driver.c @@ -355,11 +355,7 @@ I810PreInit(ScrnInfoPtr scrn, int flags) !xf86ReturnOptValBool(pI810->Options, OPTION_DRI, TRUE); if (!pI810->directRenderingDisabled) { - if (pI810->noAccel) { - xf86DrvMsg(scrn->scrnIndex, X_WARNING, "DRI is disabled because it " - "needs 2D acceleration.\n"); - pI810->directRenderingDisabled=TRUE; - } else if (scrn->depth!=16) { + if (scrn->depth!=16) { xf86DrvMsg(scrn->scrnIndex, X_WARNING, "DRI is disabled because it " "runs only at 16-bit depth.\n"); pI810->directRenderingDisabled=TRUE; -- cgit v1.2.3