Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp707878rdb; Thu, 30 Nov 2023 16:46:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwt2tmjczmIX0ne1ic9tfORvSrj+MM2JYmRPVWKnR03uB+uLcH5vbY3YfebdISwhonoi+2 X-Received: by 2002:a05:6a00:15d0:b0:6c3:1b7d:dac9 with SMTP id o16-20020a056a0015d000b006c31b7ddac9mr25900754pfu.34.1701391563462; Thu, 30 Nov 2023 16:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701391563; cv=none; d=google.com; s=arc-20160816; b=nmzeF4mXkHEFlGr6+fK2hs599eW008froGtlqjg0KsI4xIhpEPHE+B2seEr06TLyt6 6qJ6eH757liskTFof4xULYy93MMl/aC2hxH56IoWu3u9cIt4ETEodDg3JgXdnrGo03cK gDeEbHJf1AjtgX1qVYgv646/VT5EFOEzcLR/0JAjSE2LFiYX63iVwjHqfIQ1YxagOKnY WgbDnxgq6Y6VVBGqp2ruJJ6TVcRGiuv5s4I2r0AQn30X+BPlGYtZ+JDXSycl6pjYmRaI g8cK1uOl40PCcXS5NSsFoHM3VL+iJ4FGvLNoW1J6UP7wOXhKoenYxsR88+27qyvxbs/+ 7hug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5F9VoOczatYw5XRRZEiVpaQuNwcGVId9T5E3Tu7AbpE=; fh=wkn6YvLbAu2K3c4rHtcHHggmmhrevQZ8/SQCq91EWNs=; b=Nsr/FbirjD+ScDhWjOBlg5frg0Os5EOgoq0cMzHFBp10EGciaBYKAXTkbm4kVAnyqX r4N5ISZ44rridnC1iRT0wq4ZxpiZwZ265i7qXr72xxYuOCVVKNZeHclzxcIYHFDUnzJf iU7i5Bcy80fsaKNdfOazlGlJn6vMitkFLuohDZRf53tm3+jAQlY76ZHzhNDw07KIUI6w 9zGlsYCklYeF0CVUH08trodA5DI+O3vEUenlazlYeJsSVPXPynOoTHOBBXW0TtFC5fwk KSQWdUb31sreAisx4f5wfUprVO6NJAoZ5+5v3YmSGz8YiDsgs0WmjLYD6Wc6DNN08TXy fcXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="SM2/Uu6U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id cn3-20020a056a020a8300b005c5ff4675d8si2312662pgb.734.2023.11.30.16.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 16:46:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="SM2/Uu6U"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 04C32823D9EB; Thu, 30 Nov 2023 16:46:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377482AbjLAApn (ORCPT + 99 others); Thu, 30 Nov 2023 19:45:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377495AbjLAApl (ORCPT ); Thu, 30 Nov 2023 19:45:41 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B218110F0; Thu, 30 Nov 2023 16:45:47 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AUNjKNS010401; Fri, 1 Dec 2023 00:45:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=5F9VoOczatYw5XRRZEiVpaQuNwcGVId9T5E3Tu7AbpE=; b=SM2/Uu6U9fFvdvM7f5JgqkRMWmdwoTR79FvRzzoxG6t+W07qvxkA+AP4TBcCY5OJlGe0 Tmx5TWoC/SQFOxEhyJPO2Sma2PsLgoYPJ169qI55ROpmC3RhSpTHYfUOGBvn4mcxWN1l FtYUUlTuwXe0V9yIWbubYa3nVP8XnoGgfoxm5+/8/CeNZ9S97iIF9syt2HS21xT11eBN MCjw86mIbwr5By/yze9qVr687ogYZx6k6gPnB90cGLw1oANtfsuLPwLNJvF7KyoW3tc3 s2PsCEbQzBb42WspPz0w3sTqsdKbbExRvYRLrUIxRKLTKVbuw73+SD3YAoEQye26Y2Xw RA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3upjsqty38-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Dec 2023 00:45:30 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B10jTDv011433 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Dec 2023 00:45:29 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 30 Nov 2023 16:45:29 -0800 Date: Thu, 30 Nov 2023 16:45:27 -0800 From: Bjorn Andersson To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , "Bjorn Andersson" , Anton Bambura CC: , Rob Clark , , , Subject: Re: [PATCH] drm/msm/dpu: Add missing safe_lut_tbl in sc8180x catalog Message-ID: <20231201004527.GA1766637@hu-bjorande-lv.qualcomm.com> References: <20231130-sc8180x-dpu-safe-lut-v1-1-a8a6bbac36b8@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231130-sc8180x-dpu-safe-lut-v1-1-a8a6bbac36b8@quicinc.com> X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 0BjWzFV0nZIK4mwCBlusqT6op6eUg8gx X-Proofpoint-ORIG-GUID: 0BjWzFV0nZIK4mwCBlusqT6op6eUg8gx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-30_25,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 bulkscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 adultscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312010004 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 16:46:01 -0800 (PST) On Thu, Nov 30, 2023 at 04:35:01PM -0800, Bjorn Andersson wrote: > Similar to SC8280XP, the misconfigured SAFE logic causes rather > significant delays in __arm_smmu_tlb_sync(), resulting in poor > performance for things such as USB. > > Introduce appropriate SAFE values for SC8180X to correct this. > > Fixes: f3af2d6ee9ab ("drm/msm/dpu: Add SC8180x to hw catalog") Reported-by: Anton Bambura > Signed-off-by: Bjorn Andersson > --- > drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > index e07f4c8c25b9..9ffc8804a6fc 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h > @@ -367,6 +367,7 @@ static const struct dpu_perf_cfg sc8180x_perf_data = { > .min_llcc_ib = 800000, > .min_dram_ib = 800000, > .danger_lut_tbl = {0xf, 0xffff, 0x0}, > + .safe_lut_tbl = {0xfff0, 0xf000, 0xffff}, > .qos_lut_tbl = { > {.nentry = ARRAY_SIZE(sc7180_qos_linear), > .entries = sc7180_qos_linear > > --- > base-commit: 3cd3fe06ff81cfb3a969acb12a56796cff5af23d > change-id: 20231130-sc8180x-dpu-safe-lut-ffd0df221d67 > > Best regards, > -- > Bjorn Andersson >