Re: [PATCH] dma-buf: heaps: remove duplicated cache sync

2021-08-30 Thread Christian König
Am 31.08.21 um 05:44 schrieb guangming@mediatek.com: From: Guangming Cao Am 30.08.21 um 12:01 schrieb guangming@mediatek.com: From: Guangming Cao Current flow, one dmabuf maybe call cache sync many times if it has beed mapped more than one time. Well I'm not an expert on DMA heaps,

Re: [PATCH] dma-buf: heaps: remove duplicated cache sync

2021-08-30 Thread guangming.cao
From: Guangming Cao > Am 30.08.21 um 12:01 schrieb guangming@mediatek.com: > > From: Guangming Cao > > > > Current flow, one dmabuf maybe call cache sync many times if > > it has beed mapped more than one time. > > Well I'm not an expert on DMA heaps, but this will most likely not work > co

Re: [PATCH] dma-buf: heaps: remove duplicated cache sync

2021-08-30 Thread Christian König
Am 30.08.21 um 12:01 schrieb guangming@mediatek.com: From: Guangming Cao Current flow, one dmabuf maybe call cache sync many times if it has beed mapped more than one time. Well I'm not an expert on DMA heaps, but this will most likely not work correctly. Is there any case that attach