Skip cache sync for GEM CMA objects?
Steve Longerbeam
steve_longerbeam at mentor.com
Wed Jul 8 14:51:01 PDT 2015
Hi all,
GEM CMA uses dma_alloc_writecombine() when allocating the CMA objects.
So IINM the GEM buffers are cache coherent. So is there any reason why
DMA_ATTR_SKIP_CPU_SYNC is not passed to dma_map_sg() when GEM CMA
prepares the buffer for dma on behalf of the dma-buf user? Is this just an
oversight or is there something I have missed?
Thanks,
Steve
More information about the dri-devel
mailing list