Skip to content

Commit

Permalink
drm: fix drm PCIGART
Browse files Browse the repository at this point in the history
PCI Express support broke PCIGART

Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Sep 30, 2005
1 parent b3a8363 commit 3d5efad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/char/drm/ati_pcigart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3d5efad

Please sign in to comment.