Initialise the aperture file descriptor in libpciaccess.
This commit is contained in:
parent
65e3b816dc
commit
51ad66e69b
@ -295,6 +295,10 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
|
||||
sparse_size = xf86AXPParams[axpSystem].size;
|
||||
#endif /* __NetBSD__ */
|
||||
}
|
||||
#if HAVE_PCI_SYSTEM_INIT_DEV_MEM
|
||||
if (useDevMem)
|
||||
pci_system_init_dev_mem(devMemFd);
|
||||
#endif
|
||||
pVidMem->initialised = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user