提交 3d5efad9 编写于 作者: D Dave Airlie 提交者: Dave Airlie

drm: fix drm PCIGART

PCI Express support broke PCIGART
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册