From 5b30df47117bc65fd5f14667671041428e1d00b5 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Thu, 13 Jan 2011 12:52:14 +0100 Subject: vmwlegacy: Remove Write-Combining setups The virtual CPUs doesn't support it anyway. Once suggested by Michel Daenzer. Signed-off-by: Thomas Hellstrom --- src/vmware.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vmware.c b/src/vmware.c index 73e86fe..3177138 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -1007,8 +1007,7 @@ VMWAREMapMem(ScrnInfoPtr pScrn) err = pci_device_map_range(device, pVMWARE->memPhysBase, pVMWARE->videoRam, - PCI_DEV_MAP_FLAG_WRITABLE | - PCI_DEV_MAP_FLAG_WRITE_COMBINE, + PCI_DEV_MAP_FLAG_WRITABLE, (void **) &pVMWARE->FbBase); if (err) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, @@ -1018,7 +1017,7 @@ VMWAREMapMem(ScrnInfoPtr pScrn) } #else - pVMWARE->FbBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER, + pVMWARE->FbBase = xf86MapPciMem(pScrn->scrnIndex, 0, pVMWARE->PciTag, pVMWARE->memPhysBase, pVMWARE->videoRam); -- cgit v1.2.3