Re: [PATCH 1/2] mtk-vcodec: convert driver to use the new vb2_queue dev field

2016-07-10 Thread Hans Verkuil
On 07/11/2016 05:48 AM, tiffany lin wrote: > > reviewed-by: Tiffany Lin > > > May I know why and how we use struct device *alloc_devs[] in queue_setup > callback function? That's only needed if the hardware has to allocate each plane buffer from a different memory bank. That's important for th

Re: [PATCH 1/2] mtk-vcodec: convert driver to use the new vb2_queue dev field

2016-07-10 Thread tiffany lin
reviewed-by: Tiffany Lin May I know why and how we use struct device *alloc_devs[] in queue_setup callback function? best regards, Tiffany On Fri, 2016-07-08 at 21:11 +0200, Hans Verkuil wrote: > From: Hans Verkuil > > The patch dropping the vb2_dma_contig_init_ctx() and _cleanup_ctx() > f

[PATCH 1/2] mtk-vcodec: convert driver to use the new vb2_queue dev field

2016-07-08 Thread Hans Verkuil
From: Hans Verkuil The patch dropping the vb2_dma_contig_init_ctx() and _cleanup_ctx() functions was already applied before this driver was added. So convert this driver as well. Signed-off-by: Hans Verkuil --- drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h | 3 --- drivers/media/plat