Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1653855rwb; Fri, 28 Jul 2023 12:43:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlFME1imhMyLKKuxv7xtvA0b2V9qFEPuQWD/AkYtGM+PDyUSSrI80JoVxmAD114ZmOG8shs/ X-Received: by 2002:a17:906:73d3:b0:99b:bf82:75fc with SMTP id n19-20020a17090673d300b0099bbf8275fcmr245750ejl.32.1690573401761; Fri, 28 Jul 2023 12:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690573401; cv=none; d=google.com; s=arc-20160816; b=ps+NYDxTSXqP1GTmJc/mJjebP+OgcbiApQN9Tch9O0IHYIV2Jp6NLQsWkWi3mz/gnB UlvkNBbnnfLs0YqthyLE93N1tnoxkwroYSpTvs0ETEffzMBQvTjJK/SDHJY+XaKrZi/m vM3FFeVNKmyNjSBoLhhbpgpezpUyCBK65aW+DuyAz6bgW4f8izy+Zy2E5W830omnQpz1 aRz6zXOBnL3XofvyzasWFzPB5YQoUYMY/jXXIf+CbZ4h298FBItR1qMx8EAjj4uxJFFv wrDIlBS2iONinuwBm1gHhJtqPZavGp0f8iBCBtxql6zdAx5gZkrVZMr+oCGpFWMlymTs UJ9A== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=9BYNhW3//lg1Ikuo8ObJy2UxRcTmINHZAuYprvQ6yY4=; fh=nxTtIXp+YeUW0dy9b6eCXd9HvCzACw07E51P+fRCTrE=; b=M1lf6Q+DCPwBbwy/XbztvofP1/VXVgJbIN+//fvPhP33G/P0EzzoZKnpup4xbB9Xbi FDqNj72TTSlPw134bOmPtRsFkDCD74OLjmmfLAyEFjfmYjl/xhNU3tFyXZDyO5KIsiIF ktkUmbnrbNlkSdx9XeMHdY3/EFE4eeU/nCC3BDS93qvDER/ZAiA6EthNDfWI6WfcSO16 kF8EVv9oic6IjvpZm8EA3V3p03xLaPqmqOZyOVnACBgdG++6OO7IFQTcYDStWuI0std7 jSqFfVNoaG5RtAyPFrKT1heyKHMnABCjDs9M91O/Lkk6UbrycuvYtne8pL93BeZqh+iv aKrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QMy+U4it; 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 a17-20020a1709062b1100b0098e1c7a62casi2856117ejg.334.2023.07.28.12.42.56; Fri, 28 Jul 2023 12:43:21 -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=QMy+U4it; 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 S235511AbjG1SJK (ORCPT + 99 others); Fri, 28 Jul 2023 14:09:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234350AbjG1SJJ (ORCPT ); Fri, 28 Jul 2023 14:09:09 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F3C84232 for ; Fri, 28 Jul 2023 11:09:07 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b74209fb60so36974021fa.0 for ; Fri, 28 Jul 2023 11:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690567746; x=1691172546; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9BYNhW3//lg1Ikuo8ObJy2UxRcTmINHZAuYprvQ6yY4=; b=QMy+U4itZj5qUJJSrVWAAV2y9JYli3UavA9/fKVC9X1KHnAx9XJxrNObVNUXimuUlD qojy2ZOhZXiseSYoBQuEYoPThQfdsNMSeinzGc956K0fQsimMGK9MvGA8Pst585V7G68 jnDsLrrmWxXD7DBKJQ6TJlKuz57f1cJLWuaE/ZcSfzhhy56iXEd7mKqN+mtC1V5Fbfbt yRU7uUWGV5n7PB+siDJ6qZZXzi362h2QYRHvfhPBcvE0oovRgTw+TGZMCmMCORb+f/fT a4yqhn0HFT/cNhbgWrTicWwMj46bQjqR3IQC6D/16wcaLFaemLQRelqpsV27wcR3gKIW gH6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690567746; x=1691172546; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9BYNhW3//lg1Ikuo8ObJy2UxRcTmINHZAuYprvQ6yY4=; b=hd+5qDX/QTLAlywnZyf6ugbi2ErcrT4ZeFNyrG6Y37ifM865njxsIZALuv+M1rvrAS NHrMHdr3JLT0DT9ffj9yOr4ZyXXHB9eXXr7Y7Z/s3eFrdsbvvArtn1MwT5aXc/HvuPaI hwjec/Eeesyhxdg2cHgxbzMHhKe5G7APJqnmDWfT9e+8NZs+vQsksHBqTVWAztsIM0He EFmeeyTZ2N7ThM+KZVbKNCmw3ABAsOobyAHyjQAW8NMVXB7NLUXUNTRopm9EPQyVbi3x Mq+Zd9GFnEY8iJAfR1/3GtdxvZzz6ozLHwDTTRTX6y1UZB1LPg7c9Iu7whaNVWlRisVo b5PA== X-Gm-Message-State: ABy/qLbrQXvo4V1nro9k76JbYWDq+DO7pYD9lhoKRk36pqJ35fvG+uEY qQntFo2kp10i8rmFxddG0JTUpuGIofYgSpZVhaPSMA== X-Received: by 2002:a05:6512:5cf:b0:4f8:5ab0:68c4 with SMTP id o15-20020a05651205cf00b004f85ab068c4mr2015469lfo.59.1690567745718; Fri, 28 Jul 2023 11:09:05 -0700 (PDT) Received: from [192.168.1.101] (abyk53.neoplus.adsl.tpnet.pl. [83.9.30.53]) by smtp.gmail.com with ESMTPSA id 17-20020ac24851000000b004fbb424c362sm907671lfy.150.2023.07.28.11.09.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jul 2023 11:09:05 -0700 (PDT) Message-ID: <76420973-1036-3adf-9c0b-94eaf8b5ceff@linaro.org> Date: Fri, 28 Jul 2023 20:09:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 31/33] iris: variant: iris: implement the logic to compute bus bandwidth Content-Language: en-US To: Vikash Garodia , stanimir.k.varbanov@gmail.com, agross@kernel.org, andersson@kernel.org, mchehab@kernel.org, hans.verkuil@cisco.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: quic_dikshita@quicinc.com References: <1690550624-14642-1-git-send-email-quic_vgarodia@quicinc.com> <1690550624-14642-32-git-send-email-quic_vgarodia@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4W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WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <1690550624-14642-32-git-send-email-quic_vgarodia@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,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 28.07.2023 15:23, Vikash Garodia wrote: > From: Dikshita Agarwal > > This implements the logic to compute bus bandwidth required by encoder > or decoder for a specific usecase. It takes input as various video > usecase parameters as configured by clients. > > Signed-off-by: Dikshita Agarwal > Signed-off-by: Vikash Garodia > --- [...] > +/* 100x */ > +static u32 dpbopb_ubwc30_cr_table_cratio_iris3[7][12] = { const? [...] > + > + llc_enabled_ref_y_rd = (codec_input.status_llc_onoff) ? 1 : 0; > + llc_enable_ref_crcb_rd = (codec_input.status_llc_onoff) ? 1 : 0; > + /* H265D BSE tlb in LLC will be pored in Kailua */ ? > + llc_enabled_bse_tlb = (codec_input.status_llc_onoff) ? 1 : 0; "? 1 : 0" is fancy bool conversion (!!x) Konrad