From 221478e4c602442e791b7dd0b3097f198a03e2bd Mon Sep 17 00:00:00 2001 From: Robert Noland Date: Mon, 30 Mar 2009 18:01:42 +0000 Subject: [PATCH] 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 --- sys/dev/drm/drm_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/drm/drm_pci.c b/sys/dev/drm/drm_pci.c index 6d46c5d1ea4..afd66047f21 100644 --- a/sys/dev/drm/drm_pci.c +++ b/sys/dev/drm/drm_pci.c @@ -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);