Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp574389rdb; Sat, 19 Aug 2023 13:59:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxJb9PHn2TQQfoa9k0/VqZ9xPiv9XKd0WZSshhLAuTbyTDEYRzPBgvW9UIgCn1N1gLI2e2 X-Received: by 2002:a05:6a20:7da9:b0:140:5067:84b3 with SMTP id v41-20020a056a207da900b00140506784b3mr4138091pzj.0.1692478798712; Sat, 19 Aug 2023 13:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692478798; cv=none; d=google.com; s=arc-20160816; b=GUJnFRHE5cM4PWc5mLAnDbgVPnKCh6icPIXm1GHUOPY04jNyT3cdNJiBCyC+VPbt5Z DZy58DMxh74yZSf7mXlAn8Wbud0wg+0aJTDGEPp9NLR+2Z+3IM42X0LZshz60RXo6hPn HYUuTltY8abEljvqlkenS9Fjkrg/s7mQMOyuP2Oe8UjiLQgZqu+49EORdGcu06MJ94HT bTuAgztmGehDy4xagCgdIjCQPEw5u87I6VVEelNhaZh6jChf3dOePF2VA+sGIUT5XQAN 2as/KOXmEW22w0b2QbPwkHJmBr79FVg9qScPU3/AFdY+2CeHLpQJc6XdSYcc+KQyZCuj WyFA== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=CgIvWMJHVukO8bVx05LIaSj7W/2gGRSNf/Fs/cPeWek=; fh=L4rw/kn0QDcyQsZ/iewZEbD58UMIvMYXL4S+vWc7hW0=; b=ZxzhhdxeRMcb9wtZvqcHQeW0Hkwd1+aI1AIZU5SCMUH83AJA6UB/Ufo3KTRj8UWr2u cmtL1pfBOyfWX599Rl58eHl/gzsrR7Gb8lRVkqgzjNoaUEn4H5RM4bg+MkgWDTkV7EZ5 ftWLkMm8t3QO6QUrLVBS62tEqFCPgsK2l9LCaBuToPSus0MAGdSGl/Re4yKzL+tP98Rs 3jtvw5TL4Y2Dh52BrnA7y9oGNL2rDvwT2veMkdeYek2GaBCAM/Q9wswHoSfUB2MEN339 xAbfjKn9GRTlKUv3bjy2lO6TXl5TihVGOVswMudzbnpcBnQ2lKwTaaYg/iiJ2Xkmf2yl feQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZP+shFgk; 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=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b2-20020a633402000000b005660335e269si437469pga.264.2023.08.19.13.59.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 13:59:58 -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=@quicinc.com header.s=qcppdkim1 header.b=ZP+shFgk; 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=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E1CB8A7989; Sat, 19 Aug 2023 01:43:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231949AbjHNTWG (ORCPT + 99 others); Mon, 14 Aug 2023 15:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231690AbjHNTVf (ORCPT ); Mon, 14 Aug 2023 15:21:35 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25556E5F; Mon, 14 Aug 2023 12:21:35 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37EIua5P006916; Mon, 14 Aug 2023 19:21:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=CgIvWMJHVukO8bVx05LIaSj7W/2gGRSNf/Fs/cPeWek=; b=ZP+shFgkaRN2O8qsVfdtTal9ZdvBCJXnE02rzhxyaFwhnP9QU6unv6TrPjZ3TLKJ9ATd /HjBj2Icrs480PTJI7OtNKw9WweSuZAfUyqZjWKhyayDfmiIds7WHV5DL8Drb+3JlxRq Vvnw2IOB8jCy28BXluqY94XlTxl1NJUCTbMskf2eC4gzNC9O4NBgOX2aXIM8UuQHjc7E LLE4b8M3f0XERexT8DjmQoNF6yab/QWKS6e7OfEGxqDI2STHaH9HPsOrOjaLURDA8//j brzge0SGwVj7Ekt3W7e79p9vh3cCyJpDimW3DLcB5ZEJVmh+iyGk9vQ9f/59XUNPk+MG gQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3se3mt4mcc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 19:21:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37EJLTgM019622 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 19:21:29 GMT Received: from [10.50.35.106] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Mon, 14 Aug 2023 12:21:26 -0700 Message-ID: <38c1b0ba-c460-aa2b-5a97-6cb4dc24dce5@quicinc.com> Date: Tue, 15 Aug 2023 00:51:22 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 31/33] iris: variant: iris: implement the logic to compute bus bandwidth Content-Language: en-US To: Konrad Dybcio , Vikash Garodia , , , , , , , , References: <1690550624-14642-1-git-send-email-quic_vgarodia@quicinc.com> <1690550624-14642-32-git-send-email-quic_vgarodia@quicinc.com> <76420973-1036-3adf-9c0b-94eaf8b5ceff@linaro.org> From: Dikshita Agarwal In-Reply-To: <76420973-1036-3adf-9c0b-94eaf8b5ceff@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: C9a2MNWuVXUcM8RR7lciGwjTZ2rMmPvT X-Proofpoint-ORIG-GUID: C9a2MNWuVXUcM8RR7lciGwjTZ2rMmPvT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-14_16,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 mlxscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 malwarescore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308140179 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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/28/2023 11:39 PM, Konrad Dybcio wrote: > 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) > Hi Konrad, we will remove this bus calculation logic and move to static bus bandwidth table in next version so this file will be removed. Thanks, Dikshita > Konrad