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.
This commit is contained in:
Wang Zhenyu 2007-04-13 22:34:52 +08:00
parent b5b243e412
commit b67adb6de3
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {