projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c6ec02
)
ati_pcigart: oops wrong way around not that it actually mattered
author
Dave Airlie
<airlied@redhat.com>
Wed, 14 May 2008 12:48:12 +0000
(22:48 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 14 May 2008 12:48:12 +0000
(22:48 +1000)
linux-core/ati_pcigart.c
patch
|
blob
|
history
diff --git
a/linux-core/ati_pcigart.c
b/linux-core/ati_pcigart.c
index
f7752b5
..
09251ac
100644
(file)
--- a/
linux-core/ati_pcigart.c
+++ b/
linux-core/ati_pcigart.c
@@
-161,12
+161,12
@@
int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
switch(gart_info->gart_reg_if) {
case DRM_ATI_GART_IGP:
page_base |= (upper_32_bits(entry_addr) & 0xff) << 4;
- page_base |=
ATI_PCIE_READ | ATI_PCIE_WRITE
;
+ page_base |=
0xc
;
break;
case DRM_ATI_GART_PCIE:
page_base >>= 8;
page_base |= (upper_32_bits(entry_addr) & 0xff) << 24;
- page_base |=
0xc
;
+ page_base |=
ATI_PCIE_READ | ATI_PCIE_WRITE
;
break;
default:
case DRM_ATI_GART_PCI: