From patchwork Thu Aug 22 06:54:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 13772760 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 0E484C3DA4A for ; Thu, 22 Aug 2024 06:55:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 54A5210E77C; Thu, 22 Aug 2024 06:55:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="NlX9DIqT"; dkim-atps=neutral Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2041.outbound.protection.outlook.com [40.107.117.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id DB7FC10E77C; Thu, 22 Aug 2024 06:55:01 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HHdesLoFQUqH8G05/+Vf+wWnxCIEjaJFN2ZWrVzWS7FeqLpNTjoiko2b3LMN5+CEKrMDw+Nq6YkrhBTR2g5R3/yTPFyg1AmhiYypkMOL56XY4o8CxiGDb/pocLQPIWtRLu5bvPRXdgEQm0f9OdNgmgQMjmvJViye6oSV7NKGIhJAgXZPUkqdIsd0EZFcbHywyignFCUMej9s6gQ2D1x6ntJQ2GKCXOVgrCKMVtxRT2KyQ/TxrZZhAVOVtdLotnf/03W+4wdPP9FpYWsxCRy2u9pnTblMSAVcE0k4auUdWHmGAfAw8ymlb2ncsSoT8ejCRMTh5/PW+V93SW679mPRag== 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=jFADm1jAC4PfoWFfrpDtpSpClhamBOoCC90X6Ue2IXsaAgp8ts4oR0FDRd77DhAmdOXSpcUNdlQTOd0Cq5TFJ/PtjY6AYlhd3iadTQOFuJ/uktCEQilrdmeApHK08JHBk+nepAGRIzsvCP4Hhn3LZA7JOouNMSkYoqwPLYewVc2NW3OyoOoj4lQAtaLRB+tvy25o8g8d7HeYp3Bboh7YMKqwMH4qcKXorlSuyZcDaOpt4zKdfV9KykoceO0SlYN5B4OyfbACTErCv/GHbvwNaTHoJNnGR5k2KBqAsTXLz3R8eXEF/Hu4PJfuldL4uzEBUiUN+w8Atj5xvO1kVaLT9w== 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=NlX9DIqTP8XfsC1bCd32zgmKyEP6r62KRKI+SvKHVEyhMcv/bS3hBS0Zpszh4YVIM20R5HsjAwcteGr2VyqOtl242JZOFUpuWoJsrmreFriaGmBbyb54+4f+YAGSqH+YnaRjAjbg3EosEN3JQzte/oM8tkppdaG9kqDEfOi93zsbbZ375k6zN5n55TCFu9vOjY1RHZuAAQ39kLW934rU1V2hVOMpUhFNlNaNFi5s/tKUI8f+HMnNSBXztahLfhWfAcO4RCbB3xuegjIL7ibatz5p4gWJJvRjs42hPdLAObCzZ+xefqnm/ufXFAA1vthZyw9zDO6qrohMxMM8sgc2vw== 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 PUZPR06MB5982.apcprd06.prod.outlook.com (2603:1096:301:112::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Thu, 22 Aug 2024 06:54:58 +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:54:58 +0000 From: Yu Jiaoliang To: 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:54:41 +0800 Message-Id: <20240822065447.1333390-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR02CA0094.apcprd02.prod.outlook.com (2603:1096:4:90::34) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|PUZPR06MB5982:EE_ X-MS-Office365-Filtering-Correlation-Id: 0540c949-50f2-4119-ec82-08dcc2775627 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: NUUOi4j4+6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QHO+boWhKz4SjvqUZYl6Wb/u5OgQQRLMyMhrCFOLkWDq8x2GCjnuZukAXXBcNWtvnXa3UiW0hKAolDxZkCHGXOdhO4b2uXYp3ofsoOJ9QbnVeL38iq3MWwc6bJFAL/n8/VmpGVfaXbfrlI+HrA1jjZjP40Tf5KGzCoR40R5+Ra4GwR9DNiEIUkPLcMM33bsbNAJGCb6EehXZxoBT+IgpA+TNm9aqg+EpEJxx4UjnbQNssiEWxL4dnXAA3r7MXf2f3xZozs6vZ0V1Cw2uZV0LUAMXMGNXCn0pLDWi7v6pr74PyEGhup8q5tnfmIDWa5t+UrXhxyGXWyZzu9wEnQ0/Bu+JyqxA= 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)(366016)(1800799024)(376014)(52116014)(7416014)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Wb2aiNlRrRJZXMVLizazQfAqMo0cb88S0vpHF8Vj2MIhpIcfcOFZA2qd3+u6WmVzv/H8MeG2j1ORIRhfHqdj0d2NES/apJdqNOZvkBVuFkMYLSbxmHyR2ucdPgmK3ywPuYBghdzwcGfZiNGYv3aECBdH7ebJs7xbJA6A3Ol6bocbntWHef5X2GSFdR6Enf49x1T7NjlT5Xl2na2Zt/hY+bB+dKT94kfd3reMJZvWjrjmaSSOAQ8AHzBuUObrqOsqGRRE18eKJTdznEypZytE824pdprLk0ZHxCJMB/2QjwfDD8Zcpk3NIgbOboY6CKeqWRw602tgzf9FvpRmHSO+3/wGpT8WbUe38kEIdfRBbdzncd/EBCk1ZBO8JAUAUfc7Qnq3MZvQuMuKS2i9mM4RaiAeyjFlZjwq/3bbcLGi0x2mgEg7k3VvNeJ6jn5VpiGpXXhyjg7nlLZlM9tPFclTzTwaax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I7bmd4IiO0dZJ0hJ7oE4TwtpGVUyZuSf7CoeAp5tSWF+y X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0540c949-50f2-4119-ec82-08dcc2775627 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:54:58.4252 (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: +ltCh9Y/ijB2s2/1jgYep5dD5xhvO6jLCEGk15JTmU+mkNih46lP8SncvNdFZAwwncE+6O9OTHj2VUUnH3I+Zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB5982 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(-)