Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4326621rdb; Mon, 11 Dec 2023 16:23:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEB7rCf5XyLuMWUVZeiYm5tFfCc0+cjPqbqQxaqzChhxyoO9rDUTtjAlehdXJzQtrAQ4rN1 X-Received: by 2002:a17:902:e845:b0:1d0:6ffd:9e0f with SMTP id t5-20020a170902e84500b001d06ffd9e0fmr5380724plg.97.1702340607402; Mon, 11 Dec 2023 16:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702340607; cv=none; d=google.com; s=arc-20160816; b=KM04VQWLc3z4M2g2DPQ7/9hfgyfO0zKhDcmOPoYM/tV2bAfgbn9iXC6IAdLY32w4nN 546THnNkjWfZRrDUQoBhvs5LRD9g4qiaoO/BsWdbjB9PpIQmSpkefmN9iyaqX4gke9yP uSSUodSxcXk7mzM61oXVxDwAz1jKbspLgotJlMMF4D3OVwR1z2zTcp3718WviTyNAcZn NDai+r378wbnvp+4gwr/VgDa0EdZvI3kQVjPKTQRo83d9kOQnNzer26B4qtNN76lw7Lz Md8JMxzjKlovz0TZIvyQWmDqfW6bdIvlc+GbHtxsVbhsdowmEj9Mc/3GWJwehRDai19v sY0w== 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=3pk4IXZbRx2JyIzDXcHhLUpgk64hLdQD05kGrB0UJdw=; fh=2XyQDqDG0wz2VEIrVbLmdsbSBBAARfl7BOJG4nJ/HZo=; b=cdNWMh5lFoI9y7QQDJP2Wp3fjUcgtIV7N2iDD8yFwUFHxN5EI4mqX3OcS5B8R4u/sE +CK0TxglNzwbmoYSHvwlTuYQ22y2HAc0EW0RtAlxXo55hT0Quqxj0r/AFTfoYfri8kTi tQ9Q4DDL8cyvhpU7V24joTYXeVpuQxk+ynDmNiBajcLw0xwL6DClTDmacvUfRRAK8d91 ZI9A49Wl2Vfm4Y2580xkiqBc9Hiv65e+/xRsfpcMJilYCHYUHjftCekOGACveRzs65V+ +B1bwlHTfCu2M3XHQfiNLXXmZjzoPHNrU/oH5oSEFOJpuiv+oQGGbn+Wwq1fKrPzwHi1 bSrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="aEq/RnNl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j13-20020a170902c3cd00b001cdf038845csi6384466plj.10.2023.12.11.16.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:23:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="aEq/RnNl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 95FB4809EE29; Mon, 11 Dec 2023 16:23:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345491AbjLLAXB (ORCPT + 99 others); Mon, 11 Dec 2023 19:23:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345449AbjLLAXA (ORCPT ); Mon, 11 Dec 2023 19:23:00 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0BC6A7; Mon, 11 Dec 2023 16:23:06 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BBLWkKS009499; Tue, 12 Dec 2023 00:23:00 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=3pk4IXZbRx2JyIzDXcHhLUpgk64hLdQD05kGrB0UJdw=; b=aE q/RnNlA6ZJ6Hdxtzmfg808S6/m3urDVXDl3b2NveLPt3FJF+r1p6wTj8rYsw7zl0 CL5choZ9GrVr5ykSqYtJBfWDeWkD9vqr90OxAZ5a+AYukP1TugRrxPbKmmkYGOWq 8QnqdAmnTusMn3AMwXCC0sRkDaZVCHFv03k9+Tvw7SnO/68gMXGtHFNbcRLXB6tL gMX/5XZcaGeH5kjS0BRS0u+GwVeQbbB42YmpJY5q6HswHn2GW4mOvyRomFFEHA3w rVMqKd99TZTC7UNoNxSa1z9lapbimE4pOwYweNxXMH2yCQPLf4Ak9CiHxal/zTH2 bDu2f80WEUOTVi1YRT7A== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxa8jga40-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 00:22:59 +0000 (GMT) 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 3BC0MxOL000320 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 00:22:59 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; Mon, 11 Dec 2023 16:22:58 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v3 02/15] drm/msm/dpu: rename dpu_encoder_phys_wb_setup_cdp to match its functionality Date: Mon, 11 Dec 2023 16:22:32 -0800 Message-ID: <20231212002245.23715-3-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231212002245.23715-1-quic_abhinavk@quicinc.com> References: <20231212002245.23715-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: 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: nKQmzFCPIkovHhnJSvbehitHwm9XRxsF X-Proofpoint-ORIG-GUID: nKQmzFCPIkovHhnJSvbehitHwm9XRxsF 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_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 impostorscore=0 clxscore=1015 phishscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120001 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 11 Dec 2023 16:23:22 -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 425415d45ec1..8f05f2a1fc24 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