From 5b7f07f8171dd5ca4f13d7da25d7d91140b036e1 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 19 Dec 2011 16:55:30 -0500 Subject: 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 --- src/g80_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/g80_driver.c') diff --git a/src/g80_driver.c b/src/g80_driver.c index 551abe3..35e5d7e 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -429,10 +429,10 @@ G80PreInit(ScrnInfoPtr pScrn, int flags) if(!pNv->NoAccel) { switch(pNv->AccelMethod) { case XAA: - if(!xf86LoadSubModule(pScrn, "xaa")) goto fail; + if(!xf86LoadSubModule(pScrn, "xaa")) pNv->NoAccel = 1; break; case EXA: - if(!xf86LoadSubModule(pScrn, "exa")) goto fail; + if(!xf86LoadSubModule(pScrn, "exa")) pNv->NoAccel = 1; break; } } -- cgit v1.2.3