Add 'ret' variable to i830_allocator_init
Needed in the XF86DRI_MM case.
This commit is contained in:
parent
24280edbdf
commit
ab2055ebb2
|
|
@ -476,6 +476,8 @@ i830_allocator_init(ScrnInfoPtr pScrn, unsigned long offset, unsigned long size)
|
|||
ALIGN_BOTH_ENDS | NEED_NON_STOLEN);
|
||||
|
||||
if (pI830->memory_manager != NULL) {
|
||||
int ret;
|
||||
|
||||
/* Tell the kernel to manage it */
|
||||
ret = drmMMInit(pI830->drmSubFD,
|
||||
pI830->memory_manager->offset / GTT_PAGE_SIZE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue