Author: rnoland
Date: Thu Apr  2 18:21:41 2009
New Revision: 190653
URL: http://svn.freebsd.org/changeset/base/190653

Log:
  Merge 190565
  
  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.
  
  Approved by:  re (kib)

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/dev/drm/drm_pci.c

Modified: stable/7/sys/dev/drm/drm_pci.c
==============================================================================
--- stable/7/sys/dev/drm/drm_pci.c      Thu Apr  2 18:20:46 2009        
(r190652)
+++ stable/7/sys/dev/drm/drm_pci.c      Thu Apr  2 18:21:41 2009        
(r190653)
@@ -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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to