summaryrefslogtreecommitdiff
path: root/linux-core/ati_pcigart.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-08-21 11:07:03 +0000
committerDave Airlie <airlied@linux.ie>2005-08-21 11:07:03 +0000
commit54947504ac70e135a38f303420b7b66eed8c23a3 (patch)
tree1864bbcc1ca47710c852b721bbc8659965c820e0 /linux-core/ati_pcigart.c
parente2dc70593f0d12cecac747c9044c6fb130ad6af8 (diff)
allocating the PCIE table from GFP_DMA seems to stop it NMI'ing
Diffstat (limited to 'linux-core/ati_pcigart.c')
-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 3e654c79c..c9ace516a 100644
--- a/linux-core/ati_pcigart.c
+++ b/linux-core/ati_pcigart.c
@@ -59,7 +59,7 @@ static unsigned long drm_ati_alloc_pcigart_table(void)
int i;
DRM_DEBUG("%s\n", __FUNCTION__);
- address = __get_free_pages(GFP_KERNEL, ATI_PCIGART_TABLE_ORDER);
+ address = __get_free_pages(GFP_DMA, ATI_PCIGART_TABLE_ORDER);
if (address == 0UL) {
return 0;
}
@@ -153,7 +153,7 @@ int drm_ati_pcigart_init(drm_device_t * dev,
if (is_pcie)
{
*pci_gart = (cpu_to_le32(page_base)>>8) | 0xc;
- DRM_DEBUG("PCIE: %d %08X %08X to %p\n", i, page_base, (cpu_to_le32(page_base)>>8)|0xc, pci_gart);
+// DRM_DEBUG("PCIE: %d %08X %08X to %p\n", i, page_base, (cpu_to_le32(page_base)>>8)|0xc, pci_gart);
}
else
*pci_gart = cpu_to_le32(page_base);