mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-22 04:24:02 +08:00
drm: fix drm PCIGART
PCI Express support broke PCIGART Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
b3a8363989
commit
3d5efad953
@ -205,7 +205,8 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info * gart_info)
|
||||
if (gart_info->is_pcie)
|
||||
*pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc;
|
||||
else
|
||||
*pci_gart++ = cpu_to_le32(page_base);
|
||||
*pci_gart = cpu_to_le32(page_base);
|
||||
*pci_gart++;
|
||||
page_base += ATI_PCIGART_PAGE_SIZE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user