diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-30 18:01:42 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-30 18:01:42 +0000 |
commit | 7c16ec50d624d13d28962b83a858d6f3fa287b73 (patch) | |
tree | c9597882ad63311d0e0b7a23d87d9a8c6bf614b3 /sys/dev/drm/drm_pci.c | |
parent | f821c3356826fff5914ca62e6e2e83e58d073cfd (diff) | |
download | FreeBSD-src-7c16ec50d624d13d28962b83a858d6f3fa287b73.zip FreeBSD-src-7c16ec50d624d13d28962b83a858d6f3fa287b73.tar.gz |
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
Diffstat (limited to 'sys/dev/drm/drm_pci.c')
-rw-r--r-- | sys/dev/drm/drm_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |