Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2125571rdb; Thu, 7 Dec 2023 21:09:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu5PufHUZJXEmgN0yOWvrLhIkTl4ptPr5sX13juy+hktSysInas/jeFwuDlmSGwcjv3MR3 X-Received: by 2002:a05:6a00:2349:b0:6ce:725f:7d8e with SMTP id j9-20020a056a00234900b006ce725f7d8emr3605415pfj.53.1702012197337; Thu, 07 Dec 2023 21:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702012197; cv=none; d=google.com; s=arc-20160816; b=ZGXupeHUDC6CeV2mEGG90S1ljBFm5dEekwPyx7ZRYg2gNumjm0DQk5wbKuabIreJdX kuKCrGR/b8/q1kA+9TGlqvwcFL7Z+v5dyltOM1bj6g+r3e7roLAgPURsAeLQJgxEt18q Gk8IS4YQAWrXq0mfP2U1HaSmAZmYRG0Q+CColdO/+Yak1OsFNs0+PH9J1z8NBQjc3Jy9 DooOQvS6Jptbrw1bnf16T8KeH03S0xn7VihVmWBNb53I2ukpv7WSPthSgolN0UFbxKd6 boTIJI6QhumyrW1+G7BBLmMUJkWOMCt14J74RhAOQQyxRXNa8HtIDoXDiIB0JtRTCufN fayQ== 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=z6eBZEWSORpxitis68sRuH4ipD5HG69u1ml5phIxpx0=; fh=bCPr6FtHW7vqpnFZy/5ChZdmzRzyfr1lCT+1Yh+hWj4=; b=wSeJeuehoCOiVQWq+e/BFycJfWG5TSckqqh05wqpeJbsFUr5UNnyiHbprNKxI/kKzl BstgSUAYiDjZPjbGLE946ieXVrZOi6tGVSzgOmeNsBmee530Ux5SA1I4AGY4yDe4ePGq aVMY1vSDjCly5532+lCA8o6Y8PWA+Xxz6DcxNcMBjx7GECcTnYIx6dXvZVRn8FsFCrkI FCeEKn2hGof0A1LFNV8SqAqDm6yOSSulm1mMyBeVzzeB1nHkaI2a6Txp3zBOKM0JbEhU K+M2euLHo94C475SQIpuZqt/Zi3qkJuP2pMKpXHyWZBGX/Z2dg8Hv9WN8RS/YaspZZf/ 4jBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h7NzF9qG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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. [23.128.96.33]) by mx.google.com with ESMTPS id kr10-20020a056a004b4a00b006cb75e0f91bsi927713pfb.45.2023.12.07.21.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 21:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h7NzF9qG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 1FDC98081684; Thu, 7 Dec 2023 21:09:54 -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 S235826AbjLHFIu (ORCPT + 99 others); Fri, 8 Dec 2023 00:08:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235815AbjLHFII (ORCPT ); Fri, 8 Dec 2023 00:08:08 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 234661FE0; Thu, 7 Dec 2023 21:07:35 -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 3B84qN6t026034; Fri, 8 Dec 2023 05:07:29 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=z6eBZEWSORpxitis68sRuH4ipD5HG69u1ml5phIxpx0=; b=h7NzF9qG05eqNnr4zqLE/jWoH2Mj6lASXpqKk/QMJmLIUiCxtDyjpwsqsyCJ2R7LoWD3 8q7mMngrrv9cG/SVfYljr1jvDkpQv6cUmJvSWkLMNA4+PfLpwUkaH0MHMPhtM7ZWlLXG xk+hrt3eOdcI5wh0KOZf7/+OI0JDADgx5esiJnvFdRknUejLp4QFZ5SzWVV3Ix/86kGb X7A+8qZfPNL2UvutK6VUqVs1xia0YLBV2DDSryTQg2xD3ptliASLxhgWTa14ardKZqqB aJGlVWuGB5dRazPi9ZROHV0NPT6V7C6baKkV6O/fxkN2yTJeKqPVvtpsfa8owVw5aiFQ sA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utynu40sg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2023 05:07:29 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B857SGD015295 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 05:07:28 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:28 -0800 From: Abhinav Kumar To: , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , "Daniel Vetter" CC: , , , , Subject: [PATCH v2 16/16] drm/msm/dpu: add cdm blocks to dpu snapshot Date: Thu, 7 Dec 2023 21:06:41 -0800 Message-ID: <20231208050641.32582-17-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: zvCpjqkC6RvJco6gtinjcCksL6kVV0T4 X-Proofpoint-ORIG-GUID: zvCpjqkC6RvJco6gtinjcCksL6kVV0T4 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:09:54 -0800 (PST) Now that CDM block support has been added to DPU lets also add its entry to the DPU snapshot to help debugging. Signed-off-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c index dc24fe4bb3b0..59647ad19906 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c @@ -947,6 +947,10 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k } } + if (cat->cdm) + msm_disp_snapshot_add_block(disp_state, cat->cdm->len, + dpu_kms->mmio + cat->cdm->base, cat->cdm->name); + pm_runtime_put_sync(&dpu_kms->pdev->dev); } -- 2.40.1