summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-14 22:48:12 +1000
committerDave Airlie <airlied@redhat.com>2008-05-14 22:48:12 +1000
commita09c0bbe11004a020d0fac47f7517db55fb91754 (patch)
tree349062372c90d69f0d43a046736442e3b82a59d5 /linux-core
parent4c6ec02eb8b1a5723f1a00dc420740d440a9ee0d (diff)
ati_pcigart: oops wrong way around not that it actually mattered
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/ati_pcigart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c
index f7752b5e..09251ac3 100644
--- 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: