Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2626442imi; Mon, 25 Jul 2022 04:01:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s4boNjOcxhVmSp7BuHnZDxKWdPg5IlBR7MAfbOBDxHOVRmoeKc/iTGk9xQLDmbjteYKiR+ X-Received: by 2002:a63:8749:0:b0:41b:c6c:dfe6 with SMTP id i70-20020a638749000000b0041b0c6cdfe6mr1145543pge.556.1658746906987; Mon, 25 Jul 2022 04:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658746906; cv=none; d=google.com; s=arc-20160816; b=lqtosbPmdsBj3pw5wCZcKP4Qqt272PPRDifEoaOR1Bm/7r5C7yvnBomlfMfn9JxJpV ar7v/LeYCPHKaRaG6xYQolRvF8OsHYUkVgjLJb8p2ABG1YnQzbud9B3aBsu6aVSI3r2/ EAyOZ5IqdzT1af+H5+A5iNsq9iRifNDhR54wZH1YYcUpJKr/8gDYXo9VtMmY99TfEri8 sAETUa3wo1W0KT47PIpQ0KmnvdRfJrIDYe7nFlUDqxsZjuFKZWXUIlhny2mfYe33dk4d TFCrz32umL6Qt3N1F/Nf1YYLujRw1geAZy02fnglr37ePsIlYcrCvSREwAtzzuA7dFYW 4BtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9CMJkPOoaz/qlcjHQeLr0EkFvBggsgDRdfh8St4Bncw=; b=fG6WquIjf5DdrVl/f2od+CM2y+sFxiCMQgvw2+pK/JNZPysGt9cLTozM17opNgBY8e 1f/6TqwUwn/Xtqg5K7xTDQqB0+2A6JCF7wpR3RNUi9loKzklqf0AzxYi4pm6EDGoNUZS h5kEMbXkC+HKWNPWgB0BU1fMHRdROyr/Kez1D+xPNx7EHWwkKj6033jiMk7Reprc34fw lbFa8E/R77jK9k3zszKqDRxfwex+eqWfZKIfKXLzkPOpNRAAxPqmIbqzzGoK5MsfOsEh w+FxZl8yArFFUEq5RXSYO2xN5v9Ef0k9uzqWj8b403Rph6ryMG5hBGvCyhkWZQpvkvTs 9VWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xGopzdHD; 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 l70-20020a638849000000b0041aa7ba0ab4si9830102pgd.758.2022.07.25.04.01.31; Mon, 25 Jul 2022 04:01: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=@linaro.org header.s=google header.b=xGopzdHD; 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 S234727AbiGYKld (ORCPT + 99 others); Mon, 25 Jul 2022 06:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234649AbiGYKl1 (ORCPT ); Mon, 25 Jul 2022 06:41:27 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 561E01837D for ; Mon, 25 Jul 2022 03:41:23 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id d8so15285392wrp.6 for ; Mon, 25 Jul 2022 03:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=9CMJkPOoaz/qlcjHQeLr0EkFvBggsgDRdfh8St4Bncw=; b=xGopzdHDCm2Kv7ckYjzyUNrNRlWnp3YnuN/yuULoHIWaP5+GCDCfNLyWyN5VzRwuqN Y0Mz0L1ZjrEX7CzqtaQEUTC1lNYtvGngwUDcqiIqzcEQPeHrHz+qnm//9fmdmedaW2BE GVI1ZkG9+3HttuarQoWuZRYZ2TTlsDYjtBSZ7QeAftnhh8vGEwGSG4H/FNVZqsAVJ//x 5tNbyKgkOwvy8m4QaKbef4XzqzwnZu3+6wDY+ApD8ZlwwVMSFf5u5w0XvyDL4/HYcdak bbHg8S37Qmfpbys/hA0b7yKpbm0ii0gbM9LoqyILbFGE4hQIoamPOfokdhNHaj9Aa+gN RgnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=9CMJkPOoaz/qlcjHQeLr0EkFvBggsgDRdfh8St4Bncw=; b=2eCgmxind4Mj95PFGbDAwxCH7DcHllZNv6lnwjBKVgq0j0Ia82dA/p30wTu3qvUYnD CcmwndVWRsQe4GH8PD1DgonDCldiywhVgozbh/nUPm0VEqlSWoWmQAh0E55P10xjRJ9C Lf0YnVGDyjCflf3bQFVMWWepeqbIXL4H2OdWDsCsc+2QWLuzUQwztWlXfts2ReKIYulY O1OlCuegiX/KtfhZIIw3/vUDNAwVclWPrxnV3LkvABKlQ5l0HhfcZGBrF/q1cjC9LA23 rjXnJlNkWr/rH7fFp3voRocsBtHrDPEUBJr1EalZ+Jha8sUBK2ji0IoV7TGpu3Q1x8du MFlQ== X-Gm-Message-State: AJIora+ihmfb1ox1zC0IURwaQjB5P59/udHRXkalmFo3mc8W844aFHxs UxCkpK56WFNTIFZk1kVZWpPQHg== X-Received: by 2002:a5d:5960:0:b0:21e:84ff:caac with SMTP id e32-20020a5d5960000000b0021e84ffcaacmr3713709wri.255.1658745681376; Mon, 25 Jul 2022 03:41:21 -0700 (PDT) Received: from [192.168.1.6] ([195.24.90.54]) by smtp.googlemail.com with ESMTPSA id h17-20020adfe991000000b0021dd3e2fb60sm14063158wrm.0.2022.07.25.03.41.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 03:41:20 -0700 (PDT) Message-ID: <4cba34e2-7a0a-2143-32e7-5f4489c73c0e@linaro.org> Date: Mon, 25 Jul 2022 13:41:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 7/7] venus : Allow MIN/MAX settings for the v4l2 encoder controls defined range . Content-Language: en-US To: Viswanath Boma , 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 Cc: Vikash Garodia References: <20220712122347.6781-1-quic_vboma@quicinc.com> <20220712122347.6781-7-quic_vboma@quicinc.com> From: Stanimir Varbanov In-Reply-To: <20220712122347.6781-7-quic_vboma@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 7/12/22 15:23, Viswanath Boma wrote: > From: Vikash Garodia > > Control MIN/MAX range defined as 0 to 1 ,as MIN value setting enabled > for V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM . > > error details: fail: v4l2-test-controls.cpp(516): invalid maximum range check > > Change-Id: I8db2585d35a72bf238cec4cd8f49661170e98a85 > Signed-off-by: Viswanath Boma > --- > drivers/media/platform/qcom/venus/venc_ctrls.c | 13 ------------- > 1 file changed, 13 deletions(-) > > diff --git a/drivers/media/platform/qcom/venus/venc_ctrls.c b/drivers/media/platform/qcom/venus/venc_ctrls.c > index 95fdad160732b..6dcbd3baa9c86 100644 > --- a/drivers/media/platform/qcom/venus/venc_ctrls.c > +++ b/drivers/media/platform/qcom/venus/venc_ctrls.c > @@ -323,19 +323,6 @@ static int venc_op_s_ctrl(struct v4l2_ctrl *ctrl) > if (ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_HIGH && > ctr->profile.h264 != V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH) > return -EINVAL; > - > - /* > - * In video firmware, 8x8 transform is supported only for > - * high profile(HP) and constrained high profile(CHP). > - * If client wants to disable 8x8 transform for HP/CHP, > - * it is better to set profile as main profile(MP). > - * Because there is no difference between HP and MP > - * if we disable 8x8 transform for HP. > - */ > - Please keep the comment. > - if (ctrl->val == 0) > - return -EINVAL; > - > ctr->h264_8x8_transform = ctrl->val; > break; > default: -- regards, Stan