We don't know what these pages are going to be used for, they should be

un-cached.  This got lost somewhere with all the bus_dma fixups.

MFC after:	3 days
This commit is contained in:
rnoland 2009-03-30 18:01:42 +00:00
parent f821c33568
commit 7c16ec50d6

View File

@ -91,7 +91,7 @@ drm_pci_alloc(struct drm_device *dev, size_t size,
}
ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr,
BUS_DMA_WAITOK | BUS_DMA_ZERO, &dmah->map);
BUS_DMA_WAITOK | BUS_DMA_ZERO | BUS_DMA_NOCACHE, &dmah->map);
if (ret != 0) {
bus_dma_tag_destroy(dmah->tag);
free(dmah, DRM_MEM_DMA);