diff options
author | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:09:34 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:09:34 -0500 |
commit | f66da557eb7773856081bda2465973dfabf3eaa0 (patch) | |
tree | eaee317836e4b2a40f426578e31867a12194ca33 /src | |
parent | ca19356b3b979b92535f6f22f79c8bab852093a4 (diff) |
Fall back to shadowfb if XAA fails to load
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/apm_driver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c index 4e548a4..2471478 100644 --- a/src/apm_driver.c +++ b/src/apm_driver.c @@ -992,8 +992,9 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags) /* Load XAA if needed */ if (!pApm->NoAccel) { if (!xf86LoadSubModule(pScrn, "xaa")) { - ApmFreeRec(pScrn); - return FALSE; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Falling back to shadowfb\n"); + pApm->NoAccel = TRUE; + pApm->ShadowFB = TRUE; } } |