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 <chris@chris-wilson.co.uk>
This commit is contained in:
parent
558c825129
commit
4bcab83bbd
|
|
@ -1424,5 +1424,7 @@ I810DRIEnter(ScrnInfoPtr pScrn)
|
|||
pI810->CursorARGBStart) != 0)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
I810SelectBuffer(pScrn, I810_SELECT_FRONT);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue