From patchwork Fri Jan 10 02:36:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Lin, Wayne" X-Patchwork-Id: 13933459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C461E7719A for ; Fri, 10 Jan 2025 02:37:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D282F10EF76; Fri, 10 Jan 2025 02:37:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="B84QoNsu"; dkim-atps=neutral Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on20616.outbound.protection.outlook.com [IPv6:2a01:111:f403:2413::616]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8A8810EF76 for ; Fri, 10 Jan 2025 02:36:59 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FI/uRPDrR8sfehiYNaNA52TnGuPsZUIHyZudtrQUt/0JCFkciR1ys3HqEpVw69gvoVIj8uPOJPj/Q/dILrKCFhTRMX+CkBB7u7GSX4ElgKGEi4UVvHAZFosjusi6A6kjxuVjFUmZEsXi0txtkc09qH62LL7K05NpXA7IbYRXdmkNfKUhIkMnYGrROmbuB+jybEk4RFUdJAY75dDtHNs1xCDV40F9TQJ4G/ATMq5A7WObZud80TCLkTnc9qw6SOiFKGK9qJvs7JyqC0m/Mio+0/qmXAzIM9u3klc0BwPXgp3l8yLTWEy/sNiYeSdr/7+P11CSofBQsVv0oFZh+ghcYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Z1/9MQ5UpGJXRLAqTi1UKTW7w+kit9nvZ7xE+OX6XiA=; b=wmjPyU8znVUOlYDSYlso9PaK5vtwAPo62q7HjIAxXhual7c+EBy8IZDR0fBt8Up1HgBX5dako6auLChGSefZiEjotrI8hk/HzbzP9qRCbkKbfBYTUXqkhts1XgTFQ8kltBxpnexq3RW8znrkM03wARHPJMXRpEWaqkJlsC6aHcnfs5lao+/BawwZRWElN3vC9ZXQs2wnd+2E6FeiXlJRaw/H2izceAw5s8UwYkPleIfJQKSwznkfZaSAlohTlJUH83ZtJEg18G0kuhHOidIxQrcB5hpboivCfcuUaNsftrCSvCE21vTiLpSQ88bCJyuBBxMBEbhalXjRtnMkWjxdCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z1/9MQ5UpGJXRLAqTi1UKTW7w+kit9nvZ7xE+OX6XiA=; b=B84QoNsuqxHGArk9SatO1WdwnyS7Dem1TqNGp/tovWOJB6mK5lsLbmUAR5o/2ExmgyvKWXUin0eDd6vW0LLqqUo38WFp4h0jggT4S0nuHyqrkL1zMwccP0W89V1hF3xt8/6zWJREhh6bDYlTGELivVCdFaDf8ODxVpmeOz0qwA4= Received: from BL0PR02CA0127.namprd02.prod.outlook.com (2603:10b6:208:35::32) by PH0PR12MB7959.namprd12.prod.outlook.com (2603:10b6:510:282::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.11; Fri, 10 Jan 2025 02:36:56 +0000 Received: from MN1PEPF0000F0E3.namprd04.prod.outlook.com (2603:10b6:208:35:cafe::4c) by BL0PR02CA0127.outlook.office365.com (2603:10b6:208:35::32) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8335.12 via Frontend Transport; Fri, 10 Jan 2025 02:36:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MN1PEPF0000F0E3.mail.protection.outlook.com (10.167.242.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8335.7 via Frontend Transport; Fri, 10 Jan 2025 02:36:55 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 9 Jan 2025 20:36:53 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 9 Jan 2025 20:36:23 -0600 Received: from localhost.localdomain (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Thu, 9 Jan 2025 20:36:21 -0600 From: Wayne Lin To: CC: , , , , Wayne Lin , "Harry Wentland" Subject: [Patch v3 0/2] Fix drm RAD print Date: Fri, 10 Jan 2025 10:36:16 +0800 Message-ID: <20250110023618.66401-1-Wayne.Lin@amd.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000F0E3:EE_|PH0PR12MB7959:EE_ X-MS-Office365-Filtering-Correlation-Id: 43429e9a-ba70-4720-a1ce-08dd311fa5f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|36860700013|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?5z9mA+mhU+uxx/1qMoH9TH7+fTW2NDN?= =?utf-8?q?88AOVFD1+9LdQwfaS+Ao+74vjodHjRlo9vWxY+6BtMcGLIx8vtJrZ5H385MI0PgFa?= =?utf-8?q?dFkXouS+GGO6B2ehb/oMcYu8dRRIsAerMgw3fUMJx+WG1eX/AxDjlzrmq1I1LuCcd?= =?utf-8?q?LBOjsIBZ9m4TZjufgiWkDt5LrNIQqJuvXfoAIwSdov3B0gDYKPJyh/TYsjcSxERF3?= =?utf-8?q?wmiVYkv5EMMeryyvOZNnzGYYQ4ml9snv1I4wfvSE06hXZbv+Fdnsdou/psi8K5OUw?= =?utf-8?q?f2WypAuHJEthgXCnDhtNNnjY2USzMXiTvEB6ecvgI4GRkNB5qzqyxoUXZGOdFUBCB?= =?utf-8?q?XGYfw3gps+ccvl+UQR3s7VtBep3G92ht5ML/BzQuTPORIwZXp9fCbJGr2I4OeZmmr?= =?utf-8?q?oo0U+kdUcz5CfyBTlNJ+W3AjbZow+TwTKE41s+WgG4rPlJETaNWc+a7e6tx8ow61R?= =?utf-8?q?xtVkx/OrtZGJ8jY/wTcJxIcnkR5pEgpDBnbNKuNoTnT/6CeMxlLSuYB4cfAUN95X0?= =?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Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(36860700013)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2025 02:36:55.4201 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43429e9a-ba70-4720-a1ce-08dd311fa5f9 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000F0E3.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7959 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is v3 of [1], with the following changes: - Modify description "drm_dp_mst_topology_mgr::mst_primary" to "&drm_dp_mst_topology_mgr.mst_primary" so kdoc formats it properly (Lyude) - Ajust code format (Lyude) Cc: Imre Deak Cc: Ville Syrjälä Cc: Harry Wentland Cc: Lyude Paul [1] https://patchwork.freedesktop.org/series/141832/ Wayne Lin (2): drm/dp_mst: Fix drm RAD print drm/dp_mst: Add helper to get port number at specific LCT from RAD drivers/gpu/drm/display/drm_dp_mst_topology.c | 31 +++++++++++++------ include/drm/display/drm_dp_mst_helper.h | 7 +++++ 2 files changed, 28 insertions(+), 10 deletions(-)