Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2125428rdb; Thu, 7 Dec 2023 21:09:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8AUm9B8xaD6FQtegKcNA7eTpBBk/wk/qQeqDCpRMdtywvFORsucDTskzEGGmou6VtIvY7 X-Received: by 2002:a05:6a00:15d1:b0:6ce:521e:23dc with SMTP id o17-20020a056a0015d100b006ce521e23dcmr475706pfu.9.1702012170820; Thu, 07 Dec 2023 21:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702012170; cv=none; d=google.com; s=arc-20160816; b=k8lbaJmzePsnpRNSdzg7pDLF84oVbokFgAQmYCgZZUNJ+0jrOo8HiK7GVlQHf0+8AG 1OVuANN7LuR4ZsBS7l6t41ggzmLgH9OA0mpu4McR9WcdOZfv1FcAN3B1M3g5cgeX4Rrn FBAra6vDkj/Lho8lOhb5QyYI4b0UiTE25t5/92mNl50RV0rSKGVFHNVF7XR2BiInGkIF 4CKoUcj3jJ8Afrw7HOGbOjANfIvm28c54kBCECq1hDz1jlTE6kWpUzhXpRDspAIZAptC 3lh3nbjvkJJNugJ1aRNrN9mpZYd5JxchlAePT3GCiYRZ2+Di2DPF73W0ZWqjtAJY7o9o bndw== 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=hVDC9e0gYC7hNQvLoej6YBZEXf5WnC9aR4Du0lSwGlQ=; fh=bCPr6FtHW7vqpnFZy/5ChZdmzRzyfr1lCT+1Yh+hWj4=; b=N/+BusGxpjyGMuLjtwfDxvDNGLDSSanVfeA5kIrnC7TZsjKAoh5nsNINzEDqePmECj p9P5VoGx/VcuN/YYbaVbrJl+uh4N1BDxz95aCnNyzIoxii5GDXRRO/l48OpRkrj5sLyq G9LuR9EuirhboqojCwznvMPjddY4Be4eAGKEocJANMRdoB4SWN136appWGYxNHMQu4Vl Bud9jMiDu80nG+2xQDKXYQnoJoZ1XmWW3k175KxNkbn/W9mKzYCmao466Nuu64HzXJjH JQGKIEEfEvsEDOpaeZQH1P4BNZcKDBIe9xyrF43mHXqMtRryRt162M6SfbFrt3WX1I3m 86Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="kes/adBr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p24-20020aa78618000000b006ce544ed22csi899797pfn.128.2023.12.07.21.09.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 21:09:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="kes/adBr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 1F4098080C54; Thu, 7 Dec 2023 21:07:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233281AbjLHFHK (ORCPT + 99 others); Fri, 8 Dec 2023 00:07:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232165AbjLHFHF (ORCPT ); Fri, 8 Dec 2023 00:07:05 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3BC3171C; Thu, 7 Dec 2023 21:07:09 -0800 (PST) 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 3B84KVi4000904; Fri, 8 Dec 2023 05:07:03 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=hVDC9e0gYC7hNQvLoej6YBZEXf5WnC9aR4Du0lSwGlQ=; b=kes/adBrOUzoVNi2VI+X517E3D+f25EB1Edh2fRrFFc5hWGBom9c/G2jak4FMpSyl5eG vw9kyE+TD4b9Zq5ove8mHeqZMW+kgfnmbjwIiUzOaDG+FVIWFbW+FmOkMYilaJmG/vBh IqtobZ2dcodF3zbgD3hf/6L/40iACjlwoagRItwoR4dNSIJtFpE3vKa+jA/lMknYpPlN 62LkbJ3xOUT1kxgxQwtD0nXdwycjpQlntLO7ODLZ3bwFgZBDdU56+SqneBURwINME8uS EmjeamTj6dsc+ruQIMWoUrLof0LOI5NqXpHfzrwZ2U1cReEz+YAmmKjaiH1NC7c0ugzt pQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utynu40qg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 05:07:02 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B8571bT013419 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 05:07:01 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; Thu, 7 Dec 2023 21:07:00 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v2 02/16] drm/msm/dpu: rename dpu_encoder_phys_wb_setup_cdp to match its functionality Date: Thu, 7 Dec 2023 21:06:27 -0800 Message-ID: <20231208050641.32582-3-quic_abhinavk@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231208050641.32582-1-quic_abhinavk@quicinc.com> References: <20231208050641.32582-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: pT4EhVsR8yUm1nJtYwwYlfL2djhGpgC5 X-Proofpoint-ORIG-GUID: pT4EhVsR8yUm1nJtYwwYlfL2djhGpgC5 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-08_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 phishscore=0 malwarescore=0 spamscore=0 impostorscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312080038 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 21:07:38 -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 91b1967cf566..4665367cf14f 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