mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-01 00:10:14 +01:00
allocating the PCIE table from GFP_DMA seems to stop it NMI'ing
This commit is contained in:
parent
e2dc70593f
commit
54947504ac
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue