Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5564980yba; Thu, 11 Apr 2019 00:25:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVCkt2BjRxhqP+QLUqu5iK+Iu7BCPLriVRqTmuPn0gi2Xho1uU3XnGImTic6D4FTBtxhu3 X-Received: by 2002:a17:902:9a0c:: with SMTP id v12mr21838292plp.184.1554967519911; Thu, 11 Apr 2019 00:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554967519; cv=none; d=google.com; s=arc-20160816; b=MnaxTVFCwfAMS7adZNWjodV2y7u7IntgpBHQ7ppyrvKtZ4XFjyq/L2arczqKYFHT+j G1MwTaGirJ6vdTx49CKRxR2X9zDDwZLs4i6WrCsXvMaMEDnwqj02gcOrwu4mkcuno/XA RJ0cSaVZsTEAWbL1bp71wjLnTmwjmNIOy9MudJhjmTigtePrMrr3uJe+9auxOu18/vWJ AvjaH0b/1ZO9aLMUK9F72nefuHcgQL/A12Xnvrnn+bVYy2W0w+NRbGHRBedkWWFlZA9x ZZigM6ottBknS+RpjY2LJ65V0sGVrqlTdrH55I35KRPGl5O0D/imPeVyphHKXC/zunTV PpuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=esh65CbWWiiShvkV48BjJNhJlZ1/MalZbwciRaS5WeI=; b=jUFojUVCjUaSMQ/IuXukP2KtHi7ky+pgeT8LBA9AWGllCwm73Y+xCIJ99slI+S21HR 3PbF3odLXNPTFzV6Hirg9Pj8Ci1GR9RBTkhhvyKMiYSNCZ5I5blIAX2HMT2b92AXutAc Ml/TYrkPQuBOhpfWnewGlyvoJVen65QUkkfx88hthBidKUelCe/2i/kZNWJ+gMth5Jgf 0ye+mTSL4ELTh/YPJsizAuJE+a8lLl45ny2y6lf4F9S4ZDmeAURMyto11lXnfHy8/TNM mzVk+a6sVHnw0VBeE6VnfCISOf4gpGilSGPBhzX2TpMIGoxaIwpL53TUwxNDmc/VNaTC HJqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si33551693pgv.248.2019.04.11.00.25.03; Thu, 11 Apr 2019 00:25:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726914AbfDKHYF (ORCPT + 99 others); Thu, 11 Apr 2019 03:24:05 -0400 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:47302 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbfDKHYF (ORCPT ); Thu, 11 Apr 2019 03:24:05 -0400 Received: from [IPv6:2001:983:e9a7:1:4cd3:53c0:7e2b:d8bc] ([IPv6:2001:983:e9a7:1:4cd3:53c0:7e2b:d8bc]) by smtp-cloud8.xs4all.net with ESMTPA id EU42hwp8eUjKfEU43hkvhI; Thu, 11 Apr 2019 09:24:03 +0200 Subject: Re: [RFC PATCH 18/20] lib: image-formats: Add v4l2 formats support To: Maxime Ripard , Nicolas Dufresne Cc: Daniel Vetter , David Airlie , Maarten Lankhorst , Sean Paul , Mauro Carvalho Chehab , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Thomas Petazzoni , Paul Kocialkowski , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: <3f5748a6422d2f7eb11601bad297df870ff5952b.camel@ndufresne.ca> <20190401144434.7n7lyiwan4eevgcn@flea> From: Hans Verkuil Message-ID: <8193edcc-fb4b-34d7-fc7b-a37f2bf451a6@xs4all.nl> Date: Thu, 11 Apr 2019 09:24:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190401144434.7n7lyiwan4eevgcn@flea> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfPIHlLNzRHUODLIiCtKKFY+xH5uEtGT/4IwK70L91T//qlWzSlo11oqj+J9F5EkRWHjx28Iyi7TLkRm7p0aH4QrKrOYSj6E/qfJmF2ojFu6Z03NPRmqq FFUsjMWcXoZQB5Flrbp1Id7XpywkLivdtn4wEDVJl5O3hCyGABmT2epLyc+OUfOlED2FbuWxdp6s+3RZHhSar9yXSUpFX9gStZlziniN9WDtOVFhCfZvVE/i 41W083ZCWUGgxAfnNAqKVvsEERb561FE/Tz+PrKe6ytN+OI3K21H00YJcnRRgFpsXyiZnuxP5Jx1WBw5QXDZip0QIRVafVxkM4DRJZ9reUxM6fbx8k4QpKg4 VHeNASCJcj89HIUUUsAMPeS86i3gy91VvFqfamDp66JlAYvPsf9al1pEq8JMSE2pYwTRII9/SLzVGACd8Z9U/NY2XD1gXaCtRMT9gDNJz3PUXXdPjiLDdIAH w5uXCEEbxbzuEffQgB4wl/CVVzn+gBI8ZldSI6oX6T47jvNQ2vgFUg2AHAajvhVpee9BeVVn9AcKLgQ29kvMWyEDFXotnFZY85LPyKP+455Od89lDPQJxc/D UaVRw4IHm1On1yzduKC8yXWOYQapNPzUe6ame4nwwE+1bfTsyBOU4RYo0IUyQydlRocZesifywDK+h0cSW5NXE6dLgEm8X0MUVV0hlOpuDK/KUA1CFPI4UJ1 T80kUBRynKweYIfYKO1L4zv/+RrMGZBqiIB9hWU9/UU8SLpxnYsn+EQWbgm0i0cJFDQcFY1MwkQhIMsWwp1HnopnEzBpLiBmBEFaQVeWBIvlIPgTy+ELJg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/19 4:44 PM, Maxime Ripard wrote: > Hi Nicolas, > > On Fri, Mar 22, 2019 at 03:55:19PM -0400, Nicolas Dufresne wrote: >> Le mardi 19 mars 2019 ? 22:57 +0100, Maxime Ripard a ?crit : >>> V4L2 uses different fourcc's than DRM, and has a different set of formats. >>> For now, let's add the v4l2 fourcc's for the already existing formats. >> >> Hopefully I get the fixup right this time, see inline. > > Thanks a lot for that extensive review. > > About the single vs multi-planar issue, I'd be inclined with just > supporting single-planar formats for now, and extend it later to deal > with multiplanar formats. > > Would that work for everyone? I'd say that is the right approach. Regards, Hans > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com >