Continue to allocate the legacy texture pool by default.
This is a partial revert of 7358642e64
If we don't allocate it now, when the DRM version is too low there won't be any
memory allocated and DRI will fail. Instead, waste the memory in the i915tex
case for now, and leave fixing it right (check DRM version up front and decide
which memory manager to set up) to later.
This commit is contained in:
parent
1e1b45fa6e
commit
30bb719ca0
|
|
@ -1234,14 +1234,13 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
|
|||
pI830->mmModeFlags = 0;
|
||||
|
||||
if (!pI830->directRenderingDisabled) {
|
||||
pI830->mmModeFlags = I830_KERNEL_TEX;
|
||||
#ifdef XF86DRI_MM
|
||||
Bool tmp = FALSE;
|
||||
|
||||
if (!IS_I965G(pI830))
|
||||
pI830->mmModeFlags |= I830_KERNEL_MM;
|
||||
else
|
||||
#endif
|
||||
pI830->mmModeFlags |= I830_KERNEL_TEX;
|
||||
|
||||
from = X_PROBED;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue