dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Skip cache sync for GEM CMA objects?
@ 2015-07-08 21:51 Steve Longerbeam
  2015-07-09 17:42 ` [RFC PATCH] drm: use dma_map_sg_attrs for GEM CMA objects Steve Longerbeam
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Longerbeam @ 2015-07-08 21:51 UTC (permalink / raw)
  To: DRI mailing list

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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Skip cache sync for GEM CMA objects?
@ 2015-07-08 21:51 Steve Longerbeam
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Longerbeam @ 2015-07-08 21:51 UTC (permalink / raw)
  To: DRI mailing list

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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-09 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08 21:51 Skip cache sync for GEM CMA objects? Steve Longerbeam
2015-07-09 17:42 ` [RFC PATCH] drm: use dma_map_sg_attrs for GEM CMA objects Steve Longerbeam
  -- strict thread matches above, loose matches on Subject: below --
2015-07-08 21:51 Skip cache sync for GEM CMA objects? Steve Longerbeam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox