From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753492AbcDRRs0 (ORCPT ); Mon, 18 Apr 2016 13:48:26 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:35384 "EHLO mail-qg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752900AbcDRRsV (ORCPT ); Mon, 18 Apr 2016 13:48:21 -0400 Message-ID: <1461001697.2719.7.camel@gmail.com> Subject: Re: [PATCH 3/7] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver From: Nicolas Dufresne Reply-To: nicolas@ndufresne.ca To: tiffany lin , Hans Verkuil Cc: Pawel Osciak , Hans Verkuil , daniel.thompson@linaro.org, Rob Herring , Mauro Carvalho Chehab , Matthias Brugger , Daniel Kurtz , Pawel Osciak , Eddie Huang , Yingjoe Chen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, PoChun.Lin@mediatek.com Date: Mon, 18 Apr 2016 13:48:17 -0400 In-Reply-To: <1460967754.7861.61.camel@mtksdaap41> References: <1460548915-17536-1-git-send-email-tiffany.lin@mediatek.com> <1460548915-17536-2-git-send-email-tiffany.lin@mediatek.com> <1460548915-17536-3-git-send-email-tiffany.lin@mediatek.com> <1460548915-17536-4-git-send-email-tiffany.lin@mediatek.com> <5710FA3A.2030603@xs4all.nl> <1460958046.7861.48.camel@mtksdaap41> <57148D8E.9060601@xs4all.nl> <1460967754.7861.61.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2 (3.18.5.2-1.fc23) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le lundi 18 avril 2016 à 16:22 +0800, tiffany lin a écrit : > > > We are plaining to remove m2m framework in th feature, although > we think > >  > > Remove it for just the decoder driver or both encoder and decoder? > >  > Remove it from decoder driver. Did you look at how CODA handle it (drivers/media/platform/coda/coda- common.c) ? I don't know any detail, but they do have the same issue and use both v4l2_m2m_fop_poll and v4l2_m2m_fop_mmap. cheers, Nicolas