Re: [PATCH] dma-buf: Add support for mapping buffers with DMA attributes

2021-10-17 Thread guangming.cao
From: Guangming Cao On Tue, 2021-08-31 at 14:47 +0200, Daniel Vetter wrote: > On Mon, Aug 30, 2021 at 10:39:11AM +0800, guangming@mediatek.com > wrote: > > From: Guangming Cao > > > > When mapping the memory represented by a dma-buf into a device's > > address space, it might be desireable

Re: [PATCH] dma-buf: Add support for mapping buffers with DMA attributes

2021-10-17 Thread Guangming . Cao
On Tue, 2021-08-31 at 14:47 +0200, Daniel Vetter wrote: > On Mon, Aug 30, 2021 at 10:39:11AM +0800, guangming@mediatek.com > wrote: > > From: Guangming Cao > > > > When mapping the memory represented by a dma-buf into a device's > > address space, it might be desireable to map the memory with

Re: [PATCH] dma-buf: Add support for mapping buffers with DMA attributes

2021-08-31 Thread Daniel Vetter
On Mon, Aug 30, 2021 at 10:39:11AM +0800, guangming@mediatek.com wrote: > From: Guangming Cao > > When mapping the memory represented by a dma-buf into a device's > address space, it might be desireable to map the memory with > certain DMA attributes. Thus, introduce the dma_mapping_attrs > f