Author: rnoland
Date: Mon Mar 30 18:01:42 2009
New Revision: 190565
URL: http://svn.freebsd.org/changeset/base/190565

Log:
  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

Modified:
  head/sys/dev/drm/drm_pci.c

Modified: head/sys/dev/drm/drm_pci.c
==============================================================================
--- head/sys/dev/drm/drm_pci.c  Mon Mar 30 18:01:12 2009        (r190564)
+++ head/sys/dev/drm/drm_pci.c  Mon Mar 30 18:01:42 2009        (r190565)
@@ -91,7 +91,7 @@ drm_pci_alloc(struct drm_device *dev, si
        }
 
        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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to