aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-09-30 05:12:46 -0400
committerDave Airlie <airlied@linux.ie>2005-09-30 05:12:46 -0400
commit3d5efad953c6d5ba11d5bcb584ef8e906f953a73 (patch)
tree1ff02ade271173d594818c6ca40aa8678987da6f
parentb3a83639895a422b25f72eec0a5d1d88c3ac4e9e (diff)
drm: fix drm PCIGART
PCI Express support broke PCIGART Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r--drivers/char/drm/ati_pcigart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/drm/ati_pcigart.c b/drivers/char/drm/ati_pcigart.c
index d07ce96e9f4b..6d3fec160bff 100644
--- a/drivers/char/drm/ati_pcigart.c
+++ b/drivers/char/drm/ati_pcigart.c
@@ -205,7 +205,8 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info * gart_info)
205 if (gart_info->is_pcie) 205 if (gart_info->is_pcie)
206 *pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc; 206 *pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc;
207 else 207 else
208 *pci_gart++ = cpu_to_le32(page_base); 208 *pci_gart = cpu_to_le32(page_base);
209 *pci_gart++;
209 page_base += ATI_PCIGART_PAGE_SIZE; 210 page_base += ATI_PCIGART_PAGE_SIZE;
210 } 211 }
211 } 212 }