Skip to contentSkip to conversation

Skip cache sync for GEM CMA objects?

DISCUSSION Steve Longerbeam 1 participant 1 message Jul 8, 2015

lore
Share & tools
lore
#0 lore raw

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel