Commit 3d5efad9 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie

drm: fix drm PCIGART

PCI Express support broke PCIGART
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent b3a83639
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment