Thread (2 messages) 2 messages, 2 authors, 2019-07-26

Re: [RFC, v3 9/9] media: platform: Add Mediatek ISP P1 shared memory device

From: Christoph Hellwig <hch@infradead.org>
Date: 2019-07-26 07:41:16
Also in: linux-devicetree, linux-media, linux-mediatek

On Fri, Jul 26, 2019 at 02:15:14PM +0900, Tomasz Figa wrote:
Could you try dma_get_sgtable() with the SCP struct device and then
dma_map_sg() with the P1 struct device?
Please don't do that.  dma_get_sgtable is a pretty broken API (see
the common near the arm implementation) and we should not add more
users of it.  If you want a piece of memory that can be mapped to
multiple devices allocate it using alloc_pages and then just map
it to each device.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help