Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4440837ioa; Wed, 27 Apr 2022 04:04:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6/62CsFA0xLpFqXYBLjOpY1DxA1xJ3yHTapKd2GslMAg7viCvk61WaiCo4SWHXjkDs30D X-Received: by 2002:a65:4108:0:b0:399:1f0e:50da with SMTP id w8-20020a654108000000b003991f0e50damr24135796pgp.2.1651057461166; Wed, 27 Apr 2022 04:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651057461; cv=none; d=google.com; s=arc-20160816; b=jndTTf+OELpLkeZBs56Cxqp4QOhWwJDL5tpoN9JpPKtClw3rvGmBZZ6637MqE3IhKC SMcs/Fy/A+BhcfRQs9v6oLSg3KMM+srklnEjHqLI/pXtscCdGu2WBslZzioj+Ut5Out6 Z40gduHrccwzTFr+czJrio+TcwCpkbJiFQn6eTJnpnN19E6WVjwcB1Wfzi0kwBILMzyC M50sIn82/3aklsMIs5XhVb4MCyLKVt6OlgrSrgvVxQk6P0CWZl0AtXa9lYSiG5BOv0k8 eJSRusg5hBsootsvwH1R75Mp5VV3JjUSR5JqYdXJS0W1sWW8q1XzsSEBoG5PrUWa6bq/ LGqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=OpyzjXJnk6eqe+VGPz2+jQbpqiOOVBobzQ0e/23Nzu0=; b=XOX2wEcmIwJmvn1ZnQskgPiVJusujd9Q/2a7CAJMrsNXKh72WvpCV4dMscJVbRRWWi XrzGOs9HZMamAUtTpmKzyepJNVcRAY9AgzRpF1L1pjIbdqybXP0G1z7+mXsJKVDAph36 bCSzngvSGTCtn2jQ6Bxr88IVjmhtPgmHulDZk/vxGyN0STMV8SAzUQHUdfZZuOxrY2zP Nypvwf498S3lE2wZePanADHKzqmCTIRDcFqZIc+qKm+MiPfDqg/vKDaiQOT2N6ewSU0t 8J1eF+sa4ccllprgMPE39R72+9GMKBOTQLNsarwHpDf7AJ8QeiL8Hzw7Q+slqeiqx89Z nChQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="T9Fq/3c7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y19-20020a1709027c9300b0015862deeb9dsi1294427pll.117.2022.04.27.04.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:04:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="T9Fq/3c7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BB664330844; Wed, 27 Apr 2022 03:14:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352374AbiDZPhj (ORCPT + 99 others); Tue, 26 Apr 2022 11:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348202AbiDZPhh (ORCPT ); Tue, 26 Apr 2022 11:37:37 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECD1D15A421 for ; Tue, 26 Apr 2022 08:34:29 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id 125so20379150iov.10 for ; Tue, 26 Apr 2022 08:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=OpyzjXJnk6eqe+VGPz2+jQbpqiOOVBobzQ0e/23Nzu0=; b=T9Fq/3c78FVVT1NuUKe/2UR+75umKo8M9qSNKdM6PZeYY2RzIiBKLLuj2Rxw/EuMnZ OCPMdrkPC3guaLiEAadVHyqUs69hMy4WbUxCbp1ZGSIxSmCA+p4kwhK/yZDPFBRtHsTr ptHR3sN82ZQ5yC59YnCoAp7jpJwv1VJHjjvt4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OpyzjXJnk6eqe+VGPz2+jQbpqiOOVBobzQ0e/23Nzu0=; b=XHMOXeVSGtjwpwLftHttCeXZxMhypKlUdE80N/Q3JcRasr6SkpYVnx1fFQYULYqb7y DKAn0PuxDclIYfvmfP6JPfmFbQrxVmeS2WXa0BzFSSH9+tfl3MXbtYZ+7jgajdvlQJuE yljKsNuI3LGds6/GmITwpjJ+9bYk92UEKqao/jd22UsxqvFypxbQOaX6jzfJSh4aPJYx aRKEw06CUpRXzEQ+lccgvLyePAFfXnjiXkbgEfPUgoC1Kd1C+00a5S86xA1twrO8vegr Og+//3v4LsE6m2cQ+5mk67C9nGc+j1o2IprpgL0iwqcAilg4Ui8Z6ap8u6gZNnwThIwL bO5g== X-Gm-Message-State: AOAM531qYcgVIXprMjp2J70ewFKfp8Grb+qAVAOH/ErduLbJE4uP+mUy JU6FFIzgr8ZacTwpbL57+cQ9VA== X-Received: by 2002:a05:6e02:1d04:b0:2cc:4c42:9b99 with SMTP id i4-20020a056e021d0400b002cc4c429b99mr8843144ila.168.1650987269319; Tue, 26 Apr 2022 08:34:29 -0700 (PDT) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id x9-20020a6bda09000000b006545a38b1acsm9416979iob.47.2022.04.26.08.34.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Apr 2022 08:34:28 -0700 (PDT) Subject: Re: [PATCH v6] media: vimc: get pixformat info from v4l2_format_info To: Hans Verkuil , "Carlos E. C. Barbosa" , Helen Koike , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20220311111657.56038-1-barbosa.carlos.ec@gmail.com> <3665efc7-0b47-1adf-5639-93229af04e95@xs4all.nl> From: Shuah Khan Message-ID: <07f415c4-addb-73e8-6604-60e7eeb63abf@linuxfoundation.org> Date: Tue, 26 Apr 2022 09:34:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <3665efc7-0b47-1adf-5639-93229af04e95@xs4all.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE 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 Carlos, On 4/26/22 3:02 AM, Hans Verkuil wrote: > Hi Carlos, > > On 11/03/2022 12:16, Carlos E. C. Barbosa wrote: >> Removes overlapping structures >> >> Repurposes vimc_pix_map to strictly mapping formats, making it >> a local structure. >> >> Replaces all of its functions and remaps the calls to the matching >> v4l2_format_info. >> >> --- >> >> Changes in v6: >> - replace all vimc_pix_map returning functions with v4l2_format_info >> ones (as previously suggested by Dafna) >> - adds is_on_table functions to verify support (to be used only when >> no other info is required) >> >> Changes in v5: >> - .bayer member was removed and replaced by v4l2 functions calls >> >> Changes in v4: >> - Unused variables were removed >> >> Changes in v3: >> - Change declaration order of variables and some minor style changes >> >> Changes in v2: >> - Const qualifiers are not removed >> - Bayer flag is kept >> - Unnecessary changes are not made anymore >> >> v4l2-compliance -m /dev/media0 output: >> https://pastebin.com/BRjMP3wP >> >> Signed-off-by: Carlos E. C. Barbosa > > Your Signed-off-by should go before the '---'. > > Also, it doesn't match your 'From' email. > > Regards, > > Hans > > Sorry for the delay on this. In addition to Han's comments, please provide more information in your commit log on the changes and how they help in more detail. Are these changes fix any problems you may have found. thanks, -- Shuah