Re: [PATCH v2 1/7] media: hantro: Set DMA max segment size

2019-07-25 Thread Tomasz Figa
On Fri, Jul 26, 2019 at 12:36 AM Philipp Zabel wrote: > > On Thu, 2019-07-25 at 11:17 -0300, Ezequiel Garcia wrote: > > From: Francois Buergisser > > > > The Hantro codec is typically used in platforms with an IOMMU, > > so we need to set a proper DMA segment size. > > ... to make sure the DMA-ma

Re: [PATCH v2 1/7] media: hantro: Set DMA max segment size

2019-07-25 Thread Philipp Zabel
On Thu, 2019-07-25 at 11:17 -0300, Ezequiel Garcia wrote: > From: Francois Buergisser > > The Hantro codec is typically used in platforms with an IOMMU, > so we need to set a proper DMA segment size. ... to make sure the DMA-mapping subsystem produces contiguous mappings? > Devices without an >

[PATCH v2 1/7] media: hantro: Set DMA max segment size

2019-07-25 Thread Ezequiel Garcia
From: Francois Buergisser The Hantro codec is typically used in platforms with an IOMMU, so we need to set a proper DMA segment size. Devices without an IOMMU will still fallback to default 64KiB segments. Cc: sta...@vger.kernel.org Fixes: 775fec69008d3 ("media: add Rockchip VPU JPEG encoder dri