diff options
author | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:55:30 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-12-19 16:55:30 -0500 |
commit | 5b7f07f8171dd5ca4f13d7da25d7d91140b036e1 (patch) | |
tree | 2654ad0a1dbc61d38fc9eb1c9301a03fea2594eb /src/nv_driver.c | |
parent | 4b03459a835ee43d940054cbdaefa7c330bff385 (diff) |
Make failure to XAA non-fatal
Fall back to NoAccel on G80 since there's no shadowfb support there,
otherwise fall to shadowfb.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r-- | src/nv_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index 3031f8b..195299a 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -2048,9 +2048,9 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) /* Load XAA if needed */ if (!pNv->NoAccel) { if (!xf86LoadSubModule(pScrn, "xaa")) { - xf86FreeInt10(pNv->pInt); - NVFreeRec(pScrn); - return FALSE; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Falling back to shadwwfb\n"); + pNv->NoAccel = 1; + pNv->ShadowFB = 1; } } |