Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp364482rwl; Wed, 5 Apr 2023 01:36:46 -0700 (PDT) X-Google-Smtp-Source: AKy350Zg2sKgjbyxuMs6/qTv+ApvHaZTZYEsKRix0j7Vvuy7y+AJxW0dJEvUEPPtcO+LdJRn3qfD X-Received: by 2002:a62:6203:0:b0:62a:9d6f:98dc with SMTP id w3-20020a626203000000b0062a9d6f98dcmr4571654pfb.11.1680683806318; Wed, 05 Apr 2023 01:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680683806; cv=none; d=google.com; s=arc-20160816; b=L8U2Q/kXiE5WIkK2BT3aOKfILLQytynsP8///H5gxvbJksupXc0miklWebnlzcFeS/ OTK5z0azgUZu2F0zlZ6rkIPYKzNg/3omVFE2DP+mEP9Fvr7YnMH10I6Mosmg/yOkFw8P qu+3UiArbwAjA+koQ62SNSA0k9lpfWd18yXxVBWjUdiyFjYJYx2t9y7C4gNrdvRy9xUV kPKZ5OTFuFnMhMEiQRIo0JGLNC2JPLtvCMADcsP5agM8g59GRz0S4B1AYdcMayk2YYbw WHbfgPCWbqBzJRZrzyDiEI45FTaby439Oi11LNaI0nvgTQH4bsUXj/saEZb/DqocPe8n PO+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=dfpX8n3KjmDuOMM79pUj2UNu0NextAFw1gDVBnHMLw4=; b=TkLPghTY7c3gM/leaR35AMU4+717V5x39vCxec+oGOldRmlw2r+mCB+Ji0y+ZiS28U iOuUOrFn80zva9ALExhc2x/eEQB02+qMgjGiQn/SNXeBa8jQEWjygyZWWbcX13vYQrfQ TNNcYb0SXzbiLXAkttyfsbyp95gdkwsqqUIo2aKRZZPh55G5tgbsbjz6ILjg4C4/gdaL 2jn0xartkjrqlKPfyo51pFWiRLvZsL8Vv1yvJKSkj+bGrq8urCFji+11U3pj4p1WpvRs R45PBEYemGZGWicx9mShrcHfzNobZ6Sn5TLLgGC8xggZKeotqr7AqsjL904NRoVxQMYI wPNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=bCcuC7sW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c5-20020a6566c5000000b00513dbb6cdd3si7749966pgw.264.2023.04.05.01.36.34; Wed, 05 Apr 2023 01:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=bCcuC7sW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237488AbjDEIbo (ORCPT + 99 others); Wed, 5 Apr 2023 04:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbjDEIbm (ORCPT ); Wed, 5 Apr 2023 04:31:42 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D731FF6; Wed, 5 Apr 2023 01:31:39 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 5E4551BF20E; Wed, 5 Apr 2023 08:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1680683498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dfpX8n3KjmDuOMM79pUj2UNu0NextAFw1gDVBnHMLw4=; b=bCcuC7sWRQhfy48p+yKdWbEIRlhTIKVTe01b/RtLxDpwYXkNTNSsthBgWlrM5AyYCFAD9V bPZAeDNTSMUdLU6TH3O9/wHuQedepqeKZFAePw42KIr3UlWGLsObQHIx8FRA/Yzo/Hpwas 1oMfM22Ru1auoLd8ys6PHjyeEs1k+RTPAgcCt6EDnt1ohR6x/rMuXDzlORw7UkENAYfwpS Bgqu7CtMjURcHeXgjEMd0FKRfuuPeaa635UVKIvKX9q7NrF+b0gicCAXGtd9tGp3oRRUos YgHaBQkht/RyoSHfYHY0w8lMSHHsAAkY1nM7AiJntPvjMh+FRmG6op0Q0JlDlQ== Date: Wed, 5 Apr 2023 10:31:34 +0200 From: Luca Ceresoli To: Laurent Pinchart Cc: Hans Verkuil , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Dmitry Osipenko , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Thomas Petazzoni , Paul Kocialkowski , Richard Leitner Subject: Re: [RESEND PATCH v4 03/21] staging: media: tegra-video: fix .vidioc_enum_fmt_vid_cap to return all formats Message-ID: <20230405103134.2ae10766@booty> In-Reply-To: <20230405023048.GD9915@pendragon.ideasonboard.com> References: <20230309144320.2937553-1-luca.ceresoli@bootlin.com> <20230309144320.2937553-4-luca.ceresoli@bootlin.com> <85268d69-3d3b-2c0f-ba26-073f09052362@xs4all.nl> <20230404161251.272cc78b@booty> <20230405023048.GD9915@pendragon.ideasonboard.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On Wed, 5 Apr 2023 05:30:48 +0300 Laurent Pinchart wrote: > Hi Luca, > > On Tue, Apr 04, 2023 at 04:12:51PM +0200, Luca Ceresoli wrote: > > On Wed, 29 Mar 2023 13:16:22 +0200 Hans Verkuil wrote: > > > > > Hi Luca, > > > > > > I finally found the time to test this series. It looks OK, except for this patch. > > > > Thank you very much for taking the time! > > > > > The list of supported formats really has to be the intersection of what the tegra > > > supports and what the sensor supports. > > > > > > Otherwise you would advertise pixelformats that cannot be used, and the application > > > would have no way of knowing that. > > > > As far as I understand, I think we should rather make this driver fully > > behave as an MC-centric device. It is already using MC quite > > successfully after all. > > > > Do you think this is correct? > > Given the use cases for this driver, I agree. Ok, thanks for the feedback. I will send a v5 with this change. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com