From b67adb6de34cede0e31f02f26cd5ec7b1adfa586 Mon Sep 17 00:00:00 2001 From: Wang Zhenyu Date: Fri, 13 Apr 2007 22:34:52 +0800 Subject: [PATCH] Fix crash on G965 XAA with LinearAlloc option We should alloc xaa_linear mem in LinearAlloc case, otherwise we get crash when initializing xf86 fb manager. --- src/i830_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_memory.c b/src/i830_memory.c index b26dd00c..315f4ba6 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -651,7 +651,7 @@ i830_allocate_overlay(ScrnInfoPtr pScrn) I830Ptr pI830 = I830PTR(pScrn); /* Only allocate if overlay is going to be enabled. */ - if (!pI830->XvEnabled || IS_I965G(pI830)) + if (!pI830->XvEnabled) return TRUE; if (!IS_I965G(pI830)) {