summaryrefslogtreecommitdiff
path: root/src/alp_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-12-19 16:21:51 -0500
committerAdam Jackson <ajax@redhat.com>2011-12-19 16:21:51 -0500
commit92c7067070455610bd761b73f992642882ca2156 (patch)
tree6e85475b2170b3d1d43ee68c95e48e0f191420d9 /src/alp_driver.c
parentd9c9cc333e8a67749c20b3b30129f4d2297a3e0a (diff)
Fall back to shadowfb if XAA is unavailable
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/alp_driver.c')
-rw-r--r--src/alp_driver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index d3d8e4f..ecdd807 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -1093,8 +1093,10 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
/* Load XAA if needed */
if (!pCir->NoAccel) {
if (!xf86LoadSubModule(pScrn, "xaa")) {
- AlpFreeRec(pScrn);
- return FALSE;
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Falling back to shadowfb\n");
+ pCir->NoAccel = TRUE;
+ pCir->shadowFB = TRUE;
}
}