Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4911416rdb; Tue, 12 Dec 2023 12:53:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNLQwabgjQkrH1yny2PO8wLo8Q0cZtA2YadjWwD5BHLB+HZme7g5VNI3iqMBhMlVhpI7Y8 X-Received: by 2002:a05:6a20:1a95:b0:18b:826c:411b with SMTP id ci21-20020a056a201a9500b0018b826c411bmr6635214pzb.17.1702414413670; Tue, 12 Dec 2023 12:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702414413; cv=none; d=google.com; s=arc-20160816; b=Kcawoj2O9H1WESGJ/K9/fSVw/XZqI46AXBW+u3p3msq1Q8TjNUNjJHmyA0MhRa/mOt GAzpyN/JUmgbQW2LMpfaLMpVHqPwEuUlvOT511KaFCnowjBlfBB6k1+Pg1BqpXmhVXsT UZUVpjDy+yyPrVHLmc101yiFCSvmGOQpYrqh7UWWIBoEHfcsXAFdSNQM9P1KisRHAO96 Y+qO/+83dbSeHYBBpSsQAPwrlttAMrFkQ6XW1w9M2oWJ1reJa0DJZrExIknv7i+/cpnd Kx1XFSESz3zow3rk2C76jL9lYM7Zwc0iQCwJA3cxP0ag5fg21aXGxeJatJZvl9ZiHEJY rOjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rt3PPR3Mg7npQscOfdLhY0xCmj/mpv0Titg+Ay66yUc=; fh=2XyQDqDG0wz2VEIrVbLmdsbSBBAARfl7BOJG4nJ/HZo=; b=gqtOKessCPHF1KY3kqNiD1EmD93XZBs/KFVSZzyKg/VQPdOuoDdIZw1cEaSCQS6c39 cVdDtqv+bQa/vdm4vouS13EONyfOkZJjZef/txd/H3J5Siv13DW1MRc6a6Ebiz/BK8Nb YeyaQgywdUtoXEU5OCvDT+jtW0cbHLR7xMtZySPdgxpcGx7so854CaiSZ2mON6/CRFss X0VtciZOS8zz1OblNEoWSzn3drhHSvF8APKiaGv5Qyg1xM0Az8QLRSBMyC/yv/LxFI/A l12Mchh8it9H3FMXnQH99ctAZGji2LsEViE/7lTWu/QfBKvDWmQvfYDylxfPbPPijfOO Rygg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oUR2A1P4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f14-20020a056a0022ce00b006cde1cef718si8236594pfj.322.2023.12.12.12.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 12:53:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oUR2A1P4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 906AB804707B; Tue, 12 Dec 2023 12:53:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377304AbjLLUxW (ORCPT + 99 others); Tue, 12 Dec 2023 15:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377399AbjLLUxK (ORCPT ); Tue, 12 Dec 2023 15:53:10 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1C81FD; Tue, 12 Dec 2023 12:53:16 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BCH5ccH016954; Tue, 12 Dec 2023 20:53:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=Rt3PPR3Mg7npQscOfdLhY0xCmj/mpv0Titg+Ay66yUc=; b=oU R2A1P42pira6/92UlgzHoLjSFvSnQBhwphoDLV5+l3oxRC6LCOkp5xhhQGkAhxCo F+wsNmjfMxZ+cLhdsKdE2YVimhnx3bvBZr9RNqP974zr5Qo5wnz3nXM4gWk5YVrU PYject6r6jyw2mF+Mr1DYsvCBKYbFvwS9jJr1q9T4EEeM+S+Fcz/RFRa/wfOcRCE HwIV+rk2urfP+JZ9iYDJxt+/owsOga72S2+Tf3uXUtiA8MvWrl9Wj07sovpK836i mWAw/UZWdW8N90MOpmYV8A3jJ5PJfS90bVSHWZZgyihl2G5wf+ZOR3tHSxThF+UF q7j7nAK145/HtIhZQ7Ng== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxpsu9ajh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 20:53:09 +0000 (GMT) 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 3BCKr8Lw017789 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 20:53:08 GMT Received: from abhinavk-linux.qualcomm.com (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.40; Tue, 12 Dec 2023 12:53:08 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v4 02/15] drm/msm/dpu: rename dpu_encoder_phys_wb_setup_cdp to match its functionality Date: Tue, 12 Dec 2023 12:52:40 -0800 Message-ID: <20231212205254.12422-3-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231212205254.12422-1-quic_abhinavk@quicinc.com> References: <20231212205254.12422-1-quic_abhinavk@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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-GUID: Z07nibA1RLm47v8GriLwfAEKBpgxg7rl X-Proofpoint-ORIG-GUID: Z07nibA1RLm47v8GriLwfAEKBpgxg7rl 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-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120161 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 12:53:32 -0800 (PST) dpu_encoder_phys_wb_setup_cdp() is not programming the chroma down prefetch block. Its setting up the display ctl path for writeback. Hence rename it to dpu_encoder_phys_wb_setup_ctl() to match what its actually doing. Fixes: d7d0e73f7de3 ("drm/msm/dpu: introduce the dpu_encoder_phys_* for writeback") Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c index 4953d87affa1..f1b63dd9293c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c @@ -207,10 +207,10 @@ static void dpu_encoder_phys_wb_setup_fb(struct dpu_encoder_phys *phys_enc, } /** - * dpu_encoder_phys_wb_setup_cdp - setup chroma down prefetch block + * dpu_encoder_phys_wb_setup_ctl - setup wb pipeline for ctl path * @phys_enc:Pointer to physical encoder */ -static void dpu_encoder_phys_wb_setup_cdp(struct dpu_encoder_phys *phys_enc) +static void dpu_encoder_phys_wb_setup_ctl(struct dpu_encoder_phys *phys_enc) { struct dpu_hw_wb *hw_wb; struct dpu_hw_ctl *ctl; @@ -382,7 +382,7 @@ static void dpu_encoder_phys_wb_setup( dpu_encoder_phys_wb_setup_fb(phys_enc, fb); - dpu_encoder_phys_wb_setup_cdp(phys_enc); + dpu_encoder_phys_wb_setup_ctl(phys_enc); } -- 2.40.1