From 7c16ec50d624d13d28962b83a858d6f3fa287b73 Mon Sep 17 00:00:00 2001 From: rnoland Date: Mon, 30 Mar 2009 18:01:42 +0000 Subject: 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(-) (limited to 'sys/dev/drm/drm_pci.c') diff --git a/sys/dev/drm/drm_pci.c b/sys/dev/drm/drm_pci.c index 6d46c5d..afd6604 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); -- cgit v1.1