summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-12-19 16:27:31 -0500
committerAdam Jackson <ajax@redhat.com>2011-12-19 16:28:13 -0500
commit754a81fc5f91be4d35853953c1a803a421b0379d (patch)
tree818d19ae522c028509491abe1144d3e6c201b396
parentc539e59ba332fba669e025f8d0d680d2a2b1c9ff (diff)
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/glint_driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glint_driver.c b/src/glint_driver.c
index abb8e47..95a4753 100644
--- a/src/glint_driver.c
+++ b/src/glint_driver.c
@@ -2254,8 +2254,9 @@ GLINTPreInit(ScrnInfoPtr pScrn, int flags)
/* Load XAA if needed */
if (!pGlint->NoAccel) {
if (!xf86LoadSubModule(pScrn, "xaa")) {
- GLINTFreeRec(pScrn);
- return FALSE;
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Falling back to shadowfb\n");
+ pGlint->NoAccel = 1;
+ pGlint->ShadowFB = 1;
}
}