Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D15EC54E94 for ; Tue, 24 Jan 2023 23:27:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6443E10E283; Tue, 24 Jan 2023 23:27:50 +0000 (UTC) Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id F273610E283; Tue, 24 Jan 2023 23:27:48 +0000 (UTC) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30ONI55s018130; Tue, 24 Jan 2023 23:27:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Ak8eoKgJu40EZO+ItLp7fWxmY28Ot3xSvkGxSIPzfks=; b=HaHk2WPn9iAhIgjKyXiEeEx7IP7kohNTJChZIj62xAYFjvH7FvNfEAAMFW7HZbBqkbPU vGlCXk6o1BNoqqrdS4kTv6U4YN05mQLdGLOspqh1K7yQs2F9ss0H02HHk76PdEfhUKq8 eniuA2UmQ56pxaPQ+bTGyQpSW2vt8EgtlGENPQ72OF3qD90vNrSPw0pCputAmmoF1hR6 L9ukPpw+aAbVWMB1VeyVmPceqh6jHwMNMtKfVApLYHE59JnhwQGESNNCNSWHPQolc+1e B6xFwhdgnb2jIqntBxEWesU4xy3RSSt0h6zsnQPV77WkTbn353/2gPp2R9Hx/0wkhJHq PQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3najkh8tkq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 23:27:44 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30ONRhvt006519 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 23:27:43 GMT Received: from [10.110.33.211] (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.986.36; Tue, 24 Jan 2023 15:27:42 -0800 Message-ID: Date: Tue, 24 Jan 2023 15:27:41 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [PATCH 3/3] drm/msm/dpu: add missing ubwc_swizzle setting to catalog Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul References: <20221207142833.204193-1-dmitry.baryshkov@linaro.org> <20221207142833.204193-4-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20221207142833.204193-4-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: 8tmxMTf2e57VzGeOtiCbiPKTuJkCwM3i X-Proofpoint-GUID: 8tmxMTf2e57VzGeOtiCbiPKTuJkCwM3i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-24_17,2023-01-24_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=828 clxscore=1015 lowpriorityscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301240216 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , dri-devel@lists.freedesktop.org, Stephen Boyd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 12/7/2022 6:28 AM, Dmitry Baryshkov wrote: > Use the values from the vendor DTs to set ubwc_swizzle in the catalog. > > Signed-off-by: Dmitry Baryshkov I have already acked https://patchwork.freedesktop.org/patch/519662/ So this can be dropped from this series. > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > index a1b52b9b16f1..b80cc11a9a83 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c > @@ -516,6 +516,7 @@ static const struct dpu_mdp_cfg sm6115_mdp[] = { > .base = 0x0, .len = 0x494, > .features = 0, > .highest_bank_bit = 0x1, > + .ubwc_swizzle = 0x7, > .clk_ctrls[DPU_CLK_CTRL_VIG0] = { > .reg_off = 0x2ac, .bit_off = 0}, > .clk_ctrls[DPU_CLK_CTRL_DMA0] = { > @@ -529,6 +530,7 @@ static const struct dpu_mdp_cfg sm8250_mdp[] = { > .base = 0x0, .len = 0x494, > .features = 0, > .highest_bank_bit = 0x3, /* TODO: 2 for LP_DDR4 */ > + .ubwc_swizzle = 0x6, > .clk_ctrls[DPU_CLK_CTRL_VIG0] = { > .reg_off = 0x2AC, .bit_off = 0}, > .clk_ctrls[DPU_CLK_CTRL_VIG1] = { > @@ -558,6 +560,7 @@ static const struct dpu_mdp_cfg sm8450_mdp[] = { > .base = 0x0, .len = 0x494, > .features = BIT(DPU_MDP_PERIPH_0_REMOVED), > .highest_bank_bit = 0x3, /* TODO: 2 for LP_DDR4 */ > + .ubwc_swizzle = 0x6, > .clk_ctrls[DPU_CLK_CTRL_VIG0] = { > .reg_off = 0x2AC, .bit_off = 0}, > .clk_ctrls[DPU_CLK_CTRL_VIG1] = {