Message ID | 20231212205254.12422-16-quic_abhinavk@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7996156vqy; Tue, 12 Dec 2023 12:54:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZVaTmsxNWYLnfY+YedRm2VbXashA3OcS8pjtglOoAPk/mZ1RKD+cGVdqwS81gJZsW+qzc X-Received: by 2002:a17:90a:bb8d:b0:286:295a:b33a with SMTP id v13-20020a17090abb8d00b00286295ab33amr3662268pjr.8.1702414476707; Tue, 12 Dec 2023 12:54:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702414476; cv=none; d=google.com; s=arc-20160816; b=UBqD8Dgfv+gY5gEvAigIs7xK4bFa57DeK+P6pZcDuaIY/nbKCvtHEHzJ9EwE4gwbQQ e7EPhg4/VxkCX8LPju1fKSfkdmXAc9jrAsHwJp1TUx+pdgkRgua6TAozAq0o7inFs1CN SNS4J3NHH6KDh2Bo48QUguRKRJZeT8NZOWGz3UaaAYRMl/G15/ST90QGeuanlGuZCwGR xTDOSghlviYNULEMaFfCGIOBjVNOEqgvylHsD4BRtV4I1mADHb712hCsnq5nr1cgbLxz xyPryclR5xBCemRNMo4MirKkLvYh/0pAA99RM7OcCN/9qprLmhl9EZJVq1thKMfLBU6G jRRQ== 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=2XyQDqDG0wz2VEIrVbLmdsbSBBAARfl7BOJG4nJ/HZo=; b=yShdq+lY3m431pgIKNpqr5NOPCempWALkMWVdrWWjknh6DsWAgxq+jFWjM/uHydFqc W/+yqgn5n/PGZBarQGJH4vyEWUOAEEiZPqOSbiGhGPnsz3uUMXTL5pZglhwvYq6Vxx1c cbhuF1+qb8LAS4lZQk2rhsxaDHRomPyg9by03OpRjJCdIOwUKKnKgTK9HE09kzXoXunH Mw9CT5zFqFoipR8O/rtXLPSmIimY3JusTNUFasnG0Nu6I/TTgnRVSBuKf17jG1zg83Dw BPhvv+9LBM75h901yr0VNnKB++onLHOZtAZAFP80KMnNB4NGa6GYCFE6ftGpMj/vFFpf Wkpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eTtNa+1X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e4-20020a17090a4a0400b0028abf878ca1si1527727pjh.46.2023.12.12.12.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 12:54:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eTtNa+1X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 CF8D2804596F; Tue, 12 Dec 2023 12:54:35 -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 S1377546AbjLLUyX (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Tue, 12 Dec 2023 15:54:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377428AbjLLUyG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Dec 2023 15:54:06 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D776B1BEB; Tue, 12 Dec 2023 12:53:41 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BCIU4h8026114; Tue, 12 Dec 2023 20:53:34 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=eT tNa+1XU7/9pqY7iuhHUGAnROsMie/NtIthLLdN74VMGqr8MRiENuHIZlezRjek1H 7SCfO0Y/kcmyQ7e2s2ZludsGXviIY4RmSKVuUEHWYUagHOYTEH5SujQToDVcTTsu F0YQdTeLk203xEI77VNbrZDGKh/gnVycVMFwvwf1i9mj+C0xe2Qw3YZyZFgOYtHc Dl94rofnvpWZ30hThYAZoXzPNIxebSSxFmAYQ0q4eq3v/df12fWgvxFq9cajDwZW OZtYGAH0mZ2oEZcZzRVkCmx++4xc7oijMuBlEEjjm7DtcPWfELcO0hNrAeKuHd7M kzknne8mpNulqRgxb6ew== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxsms0vbj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 20:53:33 +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 3BCKrX6w018278 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 20:53:33 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:32 -0800 From: Abhinav Kumar <quic_abhinavk@quicinc.com> To: <freedreno@lists.freedesktop.org>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, David Airlie <airlied@gmail.com>, "Daniel Vetter" <daniel@ffwll.ch> CC: <dri-devel@lists.freedesktop.org>, <seanpaul@chromium.org>, <quic_jesszhan@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v4 15/15] drm/msm/dpu: add cdm blocks to dpu snapshot Date: Tue, 12 Dec 2023 12:52:53 -0800 Message-ID: <20231212205254.12422-16-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-ORIG-GUID: qU51L1vG5B4vOS1SZWb_70gNTPC0kKHS X-Proofpoint-GUID: qU51L1vG5B4vOS1SZWb_70gNTPC0kKHS 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 phishscore=0 lowpriorityscore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 adultscore=0 bulkscore=0 impostorscore=0 spamscore=0 malwarescore=0 clxscore=1015 suspectscore=0 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: <linux-kernel.vger.kernel.org> 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:54:36 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785110962289823570 X-GMAIL-MSGID: 1785110962289823570 |
Series |
[v4,01/15] drm/msm/dpu: add formats check for writeback encoder
|
|
Commit Message
Abhinav Kumar
Dec. 12, 2023, 8:52 p.m. UTC
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 <quic_abhinavk@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- 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); }