Re: [PATCH] media: mtk-vcodec: set dma max segment size

2020-09-02 Thread Hsin-Yi Wang
On Wed, Sep 2, 2020 at 10:25 PM Robin Murphy wrote: > > On 2020-08-21 05:14, Hsin-Yi Wang wrote: > > Set dma max segment size for encoder and decoder driver. > > > > Fix following warning with CONFIG_DMA_API_DEBUG_SG=y > > > > [ 75.147825] [ cut here ] > > [ 75.147844]

Re: [PATCH] media: mtk-vcodec: set dma max segment size

2020-09-02 Thread Robin Murphy
On 2020-08-21 05:14, Hsin-Yi Wang wrote: Set dma max segment size for encoder and decoder driver. Fix following warning with CONFIG_DMA_API_DEBUG_SG=y [ 75.147825] [ cut here ] [ 75.147844] mtk-vcodec-enc 19002000.vcodec: DMA-API: mapping sg segment longer than

Re: [PATCH] media: mtk-vcodec: set dma max segment size

2020-09-02 Thread Irui Wang
Dear Hsin-Yi, because this Warning is occured with config CONFIG_DMA_API_DEBUG_SG=y, how about add these modifications with this configuration as well? On Fri, 2020-08-21 at 12:14 +0800, Hsin-Yi Wang wrote: > Set dma max segment size for encoder and decoder driver. > > Fix following warning

[PATCH] media: mtk-vcodec: set dma max segment size

2020-08-20 Thread Hsin-Yi Wang
Set dma max segment size for encoder and decoder driver. Fix following warning with CONFIG_DMA_API_DEBUG_SG=y [ 75.147825] [ cut here ] [ 75.147844] mtk-vcodec-enc 19002000.vcodec: DMA-API: mapping sg segment longer than device claims to support [len=983040]