Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4301046imw; Tue, 12 Jul 2022 05:46:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tlnZmXq4CtsG7YySIQLW6G4xVL9cWVccC7sApMFA2Q7InPLUDoVs+u+oul0ZotgGueUatj X-Received: by 2002:a17:90b:1d08:b0:1f0:19c6:d840 with SMTP id on8-20020a17090b1d0800b001f019c6d840mr4207297pjb.192.1657629966404; Tue, 12 Jul 2022 05:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657629966; cv=none; d=google.com; s=arc-20160816; b=kaNaHaGMRnhOTSETs7fDaOfU7Zqi3PLaxAEnJ2Hxr8IrFnn/mFVoFoJBNnjFxTYIdv zBDVkjlRqLe6SDbb6uidSlLc9G/A/YBQy8fJ7xuXp6NKz4xAE1iwzBltDdmmAM7k3Uuu KRC+T+UkSpsO6bjDfe9ezA6dYdAg4UkypaXm0TTazcqaOBO2dF+jpL+F+O8dM3xukhr6 5BpbjGfPf5sfUunsmg+7ftj2lEs740ilhX0ZH/wkLyan65i6bT8nJ2EU+vu7vz73PmO+ 4U/ri7uDk2kw1VzbMw3qSb2ZuCYJ3V8ngf/g3wu0CsR89nnPgZDLPG5D3ik/kCOD31Bq N8gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wq+tRz/z60AyYxjlzSCjqpr8slf2ieYOF7qhQfnM49w=; b=JlmZpHeHJn5d+EHds1hsUDQWahCEOlPxCIoI3mmAMhNPLwinoeI4ahsqbHvLXLP2bf o7PkZK/f52dOjYzw0tUbWPzbe1u/62323ITxFlvjJFS+R9HKAGkUI2JsE7pPVvGYyq9x Y+whZcMJBQyp2mWbi5NEazecqyN9wERnDFt7ttx+U4nMhsVj+IM68If8Hup1Xfhiczjd qV8udbNGC6MXF/MnvMCzCG52vmWrdLI3VWy++6vMQvVZDgwYJfE4m23BUlHO86c24GoC hdjTQQAXNr7RbyjTtCY9S9meRHcnJAsuT7sPmQ6ZyMG8BoYXQtygcFQ381i2L0N4XiSD mdIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H7aoz2Bp; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a170902ca8100b0016a03e09ddasi10935203pld.605.2022.07.12.05.45.52; Tue, 12 Jul 2022 05:46:06 -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=@linaro.org header.s=google header.b=H7aoz2Bp; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233145AbiGLMfj (ORCPT + 99 others); Tue, 12 Jul 2022 08:35:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233209AbiGLMfd (ORCPT ); Tue, 12 Jul 2022 08:35:33 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7CEC868A8 for ; Tue, 12 Jul 2022 05:35:30 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d10so7356702pfd.9 for ; Tue, 12 Jul 2022 05:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wq+tRz/z60AyYxjlzSCjqpr8slf2ieYOF7qhQfnM49w=; b=H7aoz2BpPuEiEjmhyWBfJsMEhSVEJ/rTVYib1b7q9DOiC4teWsd+G6HwpyuShZ1F/q rP1sNegFzzkgJkGZkZUmdTXqgltyvjaVd7NH2nhGMv1CjPgXPn4A+yDUs83MZmL1Re+j L9DYd/aJLVzQKy1RHs3Frol6AIvAKdAwu562xBeTU1OLiYQBs0a1PDTMC+auuGR9Zezi cm3Tac4itdtGJFqYNO0wxu71eCNaeGjwJPanP3fzNbtz8UuG6AYtBcwG1H5VCiYReFg5 ZeX5jxDW7OR6k9mw97GR6j/ZKmI2j9UQhGAF2EdtUpNZOdirIg6poUvwhGQYECPCG4qW lFyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wq+tRz/z60AyYxjlzSCjqpr8slf2ieYOF7qhQfnM49w=; b=oX5iy7z58BRHgQiZxLbXttZiaF0WB1LVVewULL4vZ2i0Ud8hN812Qu2+kGLQbopEG8 J5tpRpCBKtSYginM5XVJtBAb/w9uEPcjO+hBt2jRBSM9Nh/ipuBRi7Tun3weR1cBrpEP KZy5uDwNNV8q/r50UFL5YXOfNKZjq6JoEKgJgQDuCShDzaPuXdWCP63jEAk+KuPkFno0 e7fWHcJXnxWDdrbDWi89RWZ7/G6qd1YsjLKByXQgfhfi05H5TLhv94QyrY4pbBbLtOAx SwCjGuZSD6c1tfHaTYBXbJRT8RdSANamfdQM4OwvyoPIUG6ZTPpooF0jbBnH2A+TdZu8 lrtA== X-Gm-Message-State: AJIora83kQBtbQV0okag49ndpPH9XmGIRKvSVWfCrNmesiagklQtXIuN 7zC1w0H6HQ8/FRHnEQzN/edW X-Received: by 2002:a63:560d:0:b0:419:759a:6653 with SMTP id k13-20020a63560d000000b00419759a6653mr1280622pgb.219.1657629330227; Tue, 12 Jul 2022 05:35:30 -0700 (PDT) Received: from workstation ([117.207.31.14]) by smtp.gmail.com with ESMTPSA id k8-20020a170902c40800b00163ffbc4f74sm6802074plk.49.2022.07.12.05.35.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jul 2022 05:35:29 -0700 (PDT) Date: Tue, 12 Jul 2022 18:05:23 +0530 From: Manivannan Sadhasivam To: Viswanath Boma Cc: video.upstream.external@qti.qualcomm.com, Stanimir Varbanov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/7] venus : Add default values for the control V4L2_CID_COLORIMETRY_HDR10_MASTERING_DISPLAY Message-ID: <20220712123523.GB21746@workstation> References: <20220712122347.6781-1-quic_vboma@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220712122347.6781-1-quic_vboma@quicinc.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, Jul 12, 2022 at 05:53:41PM +0530, Viswanath Boma wrote: > From: Stanimir Varbanov > > V4l2 encoder compliance expecting default values of colormetry for the control. > > Change-Id: I1db0d4940b54e033d646ce39d60dc488afba8d58 What does this represent here? I'm pretty sure it is meaningless to the upstream kernel, so please get rid of it. > Signed-off-by: Viswanath Boma Since Stan is the original author of this and following patches, there should be a s-o-b tag from him. After that you should add yours indicating that you are carrying the patches from Stan. Also, please add a cover letter stating the purpose of this series, how it is tested, and with any other relevant information. Thanks, Mani > --- > drivers/media/platform/qcom/venus/venc_ctrls.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/media/platform/qcom/venus/venc_ctrls.c b/drivers/media/platform/qcom/venus/venc_ctrls.c > index ea5805e71c143..37ba7d97f99b2 100644 > --- a/drivers/media/platform/qcom/venus/venc_ctrls.c > +++ b/drivers/media/platform/qcom/venus/venc_ctrls.c > @@ -352,6 +352,8 @@ static const struct v4l2_ctrl_ops venc_ctrl_ops = { > int venc_ctrl_init(struct venus_inst *inst) > { > int ret; > + struct v4l2_ctrl_hdr10_mastering_display p_hdr10_mastering = { {34000, 13250, 7500 }, > + { 16000, 34500, 3000 }, 15635, 16450, 10000000, 500 }; > > ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 58); > if (ret) > @@ -580,7 +582,7 @@ int venc_ctrl_init(struct venus_inst *inst) > > v4l2_ctrl_new_std_compound(&inst->ctrl_handler, &venc_ctrl_ops, > V4L2_CID_COLORIMETRY_HDR10_MASTERING_DISPLAY, > - v4l2_ctrl_ptr_create(NULL)); > + v4l2_ctrl_ptr_create((void *)&p_hdr10_mastering)); > > v4l2_ctrl_new_std(&inst->ctrl_handler, &venc_ctrl_ops, > V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD, 0, > -- > 2.17.1 >