diff options
Diffstat (limited to 'src/amd_gx_driver.c')
-rw-r--r-- | src/amd_gx_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c index 09ad47a..efa1048 100644 --- a/src/amd_gx_driver.c +++ b/src/amd_gx_driver.c @@ -327,7 +327,7 @@ static inline void * map_pci_mem(ScrnInfoPtr pScrni, int vram, int map_size = size ? size : dev->regions[bar].size; int err = pci_device_map_range(dev, - dev->regions[bar].base_addr + dev->regions[bar].base_addr, map_size, PCI_DEV_MAP_FLAG_WRITABLE | (vram ? PCI_DEV_MAP_FLAG_WRITE_COMBINE : 0), |