projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a8363
)
drm: fix drm PCIGART
author
Dave Airlie
<airlied@starflyer.(none)>
Fri, 30 Sep 2005 09:12:46 +0000
(19:12 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Fri, 30 Sep 2005 09:12:46 +0000
(19:12 +1000)
PCI Express support broke PCIGART
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/ati_pcigart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/ati_pcigart.c
b/drivers/char/drm/ati_pcigart.c
index d07ce96e9f4b02d0cd157ebba1380844c8febe9f..6d3fec160bffb1841db17a38f86abca07cc5d6e1 100644
(file)
--- 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)
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;
}
}