From patchwork Thu Aug 22 06:51:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 13772753 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 7C75BC3DA4A for ; Thu, 22 Aug 2024 06:51:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 02BCE10E776; Thu, 22 Aug 2024 06:51:57 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="Lw+cUIM4"; dkim-atps=neutral Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2055.outbound.protection.outlook.com [40.107.215.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id A75C510E776; Thu, 22 Aug 2024 06:51:55 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z5w6c4oqMf7jQJisXTyYWchFaGdrJBVFB/7y4s53cq1EK2w8LH+fIZwUyFTYFJK8VeLfULQSmHh6p7rfV+BVnUZaDdXrTIdE794/1VPiKIlz0Oa8hpqegzwb9UpvhZX07sUEvN7HXW5TWlGEvmTyam90hn6noGj+IWP28PAghx1FXwC+86/LALBAwRt5IvRGeLFAwp2oG1vkXCa8jPWp8BaBzc8nEr2y/OianLrP6Hl3m3NMDKrymE8HKtyB5SmPZQpcy5c/H5OlNGKcYFaGCJ/vdRsOUrZw5KWZW8CuLakM4PH7tEdxLx6DtUcwGCNZVLRxnVW4sF9OKzU44nu6IA== 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=aMue/GgpVw8nABjZci2DVgEuQomrkaZd0cUzq031dwg=; b=E7jxLAlhz40xy8gAViQ4gcEpHyC26q/DG8LjvbeF29GYYg4+l3E5MKStovg4B2gzubcLTs3S5d037v3KtTd3j7sqtXXHWbG0ThJyXfgE0spSojI38HqTqgzBERihjxgmgicrDINh4bgIfT7yzaAypPP6QqTIENxhFrlCmDD7spkMcEnUbkKBo7JQbLX+aVeMtvnwhVeSdGc7lnqi7nN/LFhkLJU1wC0ZVVHm23Kx642lAPwEUp05L6kefUt0fVSIwlmWQlcBHz4ZI2VGS+lKrpXl4WFszM1svnpn+nB41MXJTXSh0g4XBMw+xzVyZ/iQpkSmqSK+Y9ToH8RSxJ+WeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aMue/GgpVw8nABjZci2DVgEuQomrkaZd0cUzq031dwg=; b=Lw+cUIM4gx8XXxKEulRI4AZWVmHayKhYYZSTGjpgDdd4zLI6e6HbW80v3g4rxS7YPr3ja0pOF31WDlqoKk3xJg9HwTt8m7iIm+NRODeYVFNGM8sK/YXazFlTpXsVUkuEzwg3PuZ2vOFw6lUqM/sZoZta+MGjJcLH834KOClmAl+JWuLK3btql5Ix8Q1JX0zo4Dxhsqi/oH8UmXdratItJjLC5ch3562actiHCNN35ASxdU8CvgjRktEQEEwD4cx1zMZ+jNsUJZLVcIdqQHJlzzErJQJYLr+r6gVKyqiIKAAZpyTI16v/MNUJ1cmA9YXi3I5tiBSoUSQB0JxWKxfaRw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) by TYZPR06MB5417.apcprd06.prod.outlook.com (2603:1096:400:203::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Thu, 22 Aug 2024 06:51:51 +0000 Received: from TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70]) by TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70%7]) with mapi id 15.20.7897.014; Thu, 22 Aug 2024 06:51:51 +0000 From: Yu Jiaoliang To: Harry Wentland , Leo Li , Rodrigo Siqueira , Xinhui Pan , David Airlie , Daniel Vetter , Hamza Mahfooz , Alex Hung , Hersen Wu , Dillon Varone , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com Subject: [PATCH v1 0/6] drm/amd/display: Use max/min macro Date: Thu, 22 Aug 2024 14:51:31 +0800 Message-Id: <20240822065137.1331172-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR01CA0168.apcprd01.prod.exchangelabs.com (2603:1096:4:28::24) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|TYZPR06MB5417:EE_ X-MS-Office365-Filtering-Correlation-Id: fd6e0479-8892-4b09-b8c7-08dcc276e696 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-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cecIQWRdFdLN3ioWAQxfscs+UU9x+wn8UIGMh8Ve+yDXfpt0JFE2URU4+YNJGOP3tvMvMHO8xQfnMJdIgY5fl/5PpJ3ESJK/EcLWKSqP8Ooq7SptzcovmWRMv20KfFDBi2sayVOTOM5Rs68DYhjrwQuVpA8l10C4dySzk4S5+2ILD8krS8KHEcG9lGB1nNi/J1a0vsLPzaXhkGJ4kra9GLXoHDHHsia7nK7+Pk2ICJWAFFyygiNJS/f1jblBVVoX+0mKX2POhdZTZvqLnGvlQiA00R+8A1dTzwiAppXgGu53mtYIOyqS+cJwBCIWgr9qmvxYxwhCBsi+P/FIyYfC/3r4YspCRPAuoV/qPtfBDtkW21lzEIr512bi3S7V+BaGOM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR06MB4461.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Bn+QQt3v1hOjUVCrXIaRW9adJCZCPimF8ujpk/0IKTBWBP3CeAHyiaEOOfnRDV1PTCtHGtyO1rm7T6m3IqbL2/iq/gPRYgPwsvEWOJN4DDfGzKMLqDh5U6kj3BTlbcnbojtYhdJ/rWL66O8v1VPdHI0si4iRshKaTD9OWmvg1dU0YJapR4dKI+TKcC7p6OojV5ssVDiMs21t+iqAE/z34m5R0LyvsYkEztW31bEWVVEAHPbEzgTM3S0W5pY32Za1VvvWd+alc+O7YiPmwVTTVWQaPWwaB1M5R1vZ+MFbqz7BxbgPWJtQTUt+ACjow8ioa+BxuRaKa77oY0A1T4ivHxfUqUvar0rJQ+aGWIb0K5WVeJh1Ol453gUbQAH430dWK2+D9bxwCI4kM3d5mzlPOUaP28wx8CbhFyef499A7gHESEvifcyJTPogoK0RmwLS7/JeoSed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zKztbI6A71/kMhq7D3hAksrmSjX+1rs2nz4DQjz/8bS1W7pLLld7nxnCqnhJr8AwzB/ZyD9 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd6e0479-8892-4b09-b8c7-08dcc276e696 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4461.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2024 06:51:51.2079 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Q6j+jo8PDbtCRKRtoFImeAko5YItxNvaLUZMeVLqvt9MEYI71OkWEMW/072FGQ1qA9Bh/AfWyL3S+1awWKIcPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB5417 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" *** BLURB HERE *** Yu Jiaoliang (6): drm/amd/display: Use max/min macro drm/amd/display: Use max/min macro drm/amd/display: Use max/min macro drm/amd/display: Use max/min macro drm/amd/display: Use max/min macro drm/amd/display: Use max/min macro drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++-- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c | 4 +++- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 2 +- drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 4 ++-- drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-)