From patchwork Thu Aug 22 06:29:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 13772696 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 4FD88C3DA4A for ; Thu, 22 Aug 2024 06:30:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CB4A510E744; Thu, 22 Aug 2024 06:30:29 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="LoO0BpL7"; dkim-atps=neutral Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2046.outbound.protection.outlook.com [40.107.117.46]) by gabe.freedesktop.org (Postfix) with ESMTPS id F264310E744; Thu, 22 Aug 2024 06:30:28 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oAycHmLR/Db1eFCx9Kapr6jhH/tBPN7hb6ehj6GmbwXSpXXXyMGV6pjWcJopOK/fYz45JL8VhZjN3PuB9U0rMVaz4BayLyuVE+d88MHAaZTjw/aPwRl+0h0MhtfXGY93TLEuf8bSaQkR6EtvHkM6q3cAxaxAF6lQWAVA+iPkBL1D0ZG6E/sy0rxtrNLWIIo6O0bXbnBQjbNhXq9QeJLsdxy/+XjsgVAzfb29hnLKqPfBqWFZK9vQVypDQOqgpr+s9qAK/zM6j4ql8X3KpR9nmQy6nkhgRc6e5l013yQCjytfNudjHEBr69HzJ3EJ4uYjz91vWseB+j2Ivm7JkaAZXg== 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=e6bEg9BQG5rd3j+r60kuRwUkzHMg33LaoPkG1Wfm1eyixXyKKW67WpECd56EurBTE1Z+X9G0Z957z2hsPCn4ST93lylHk3ivtjLV3SwpCtnDA7YjJsuH2CAwgGvOpkuf1oAS/dC3rObqsBkowPrOiavWR5WylkKRfTToNyAM/6owPID1nLdqehseG7Coib7kHTsgIwqBJps5/7syDWwSqAZ6JtSVImNo+lKuO5R10G1XspJBF7rOuimACk35htA9l34/RIojogsNAo11FIQhwWs605yJaG1M5m1mSUuucEuKMvJDfsUzrTdUvO34NYWXfvXBCZ5gO4QOc7DYPEzmCg== 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=LoO0BpL7JCSnEQMB60jKOgPezCFqcvOjvnpU2+B0y1NoCr3aShVZZbfL6vC2eS3DPvqYKC9EF9JfGPOFyDc/XUllYDoJWrcr4rl9qvN1LbrtskyUuYsEjzOZN5I99pg8p1hhTzmKqdFRwjWzKUJDC3sk+LpzuIYO+jk+isdEr06fC3xQvQxlG5nZXUw4W7r2U2lsnw8knwlBMIpCUDagRVqK9RQ+Sawz1H7xpQvWOKDunuanJmT66M298kix9UqcZPnWY9TpiuREdERwQZxeRusULlidZqwk/LjW7wNSSdfMP/3oz2vQV3kImN2Qe7wdAR22u5LF9+WI+bGkDBRTxw== 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 TYZPR06MB5321.apcprd06.prod.outlook.com (2603:1096:400:1f3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Thu, 22 Aug 2024 06:30:26 +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:30:25 +0000 From: Yu Jiaoliang To: Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , Xinhui Pan , David Airlie , Daniel Vetter , Alex Hung , Hamza Mahfooz , Tom Chung , 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:29:26 +0800 Message-Id: <20240822062947.1318340-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI1PR02CA0040.apcprd02.prod.outlook.com (2603:1096:4:1f6::7) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|TYZPR06MB5321:EE_ X-MS-Office365-Filtering-Correlation-Id: e47bf223-12e6-41e0-b690-08dcc273e84f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|7416014|52116014|1800799024|376014|366016|38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AXZNCj9BGoavAFW0kYBp8RN5OdzpCfe6c5daR4Po4Agr748lTLNtbhXbBB8T2KRox/Pg2NKRyTNj8Kv9d5H0jGtCFYcGZXm8Is+eX7ZyjgOKNkLpNnQ5zrfD8tieuQkTrJHx4LAV5mvPYUTUxGKIslOwBpC3V14ZfYmr9HI2JOOvZW5ATJRweVWF5f45HBkx7xwLeUnDI8OKhSStBY2F8iZeCKFd7/6U5Itryx5bMqcHIjIwVAW84hQCcT1YSwqTLg3n2LQboW5/rLu5GfWtAnFZf8fUPjzPkiJtWjrl9aDSBNfPNrA/0qME71i3FK5Jocx+M2M8B2lY/a+vz1pYwfkDhv57rM60MC+zw965MXZSoKFhvMSUAq1ba/+Lzw5QDuUKkuVSz7QHDrnozFbPqLs4Ds= 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)(7416014)(52116014)(1800799024)(376014)(366016)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LkAvywnkQCPOEZrxmDWeTVmPiinG1r1a24eW4DeXWJhLC6fktTouSCWXogET2B8KRAF4+wZmloI5cpViGOiW/tJVXG6v6y5WNPrbYrKLbhYZ+fBk5tOFkqX6EXGvpJsRkbFwIKmYPGENn2oYTBbjETR1jOnQAku/JfdaaerPmYaq04S1npV983KjZMkdbx3DNUFvSDmadh3mDIxsjDARLLsMldHBs61PODIOOsgaMewjiaD7CqpQ3BsSJEZIyh6JF/jvGgpLLyf55ZGentgRTRKCMKqsz++sO2yOuEb2OBUwST6XGsoxQ44AKP70HP2Uy3Zjskd3d6SooGRxZYKjRiLywz7Tbu4MgsfEwz6BijtJnz6tC0RwZqjhxR7UDsIPOiCzv8VFVUyFzdA2wBkp3S54He3/AvhVe9xDVYRLWLbJRh1WWt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UcNDzCkYbasA6JhT9VqdASDgNQJnc+2vbwZjWCfSSFD8H84JKUxWVJ2Um2e5zpRmGggf42bs6c0//7JjqfW5nhz X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: e47bf223-12e6-41e0-b690-08dcc273e84f 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:30:25.6359 (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: mB6wlACBFz4VMjBCPwI2yLk/VcQCB6cIpvAgzVWPd947Jxi9oRpaeoa4N2mmNJwFvXht8VntTDKdjt7cK6qXlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB5321 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(-)