diff options
author | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:21:51 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:21:51 -0500 |
commit | 92c7067070455610bd761b73f992642882ca2156 (patch) | |
tree | 6e85475b2170b3d1d43ee68c95e48e0f191420d9 /src/alp_driver.c | |
parent | d9c9cc333e8a67749c20b3b30129f4d2297a3e0a (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.c | 6 |
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; } } |