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:
parent
b5b243e412
commit
b67adb6de3
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue