From patchwork Fri Sep 13 06:17:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yan Zhen X-Patchwork-Id: 13803010 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 7D986EEEC24 for ; Fri, 13 Sep 2024 06:18:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BEAB10E160; Fri, 13 Sep 2024 06:18:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=vivo.com header.i=@vivo.com header.b="FA9LXSdu"; dkim-atps=neutral Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2089.outbound.protection.outlook.com [40.107.117.89]) by gabe.freedesktop.org (Postfix) with ESMTPS id 433FA10E160; Fri, 13 Sep 2024 06:18:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BvJjc0SIs21q2BtFVXsmgmvFyhEFEpIjA+736pNSGcb0/dGFCynQP2oPP7oNv9zuxElur6x4lHSajW6QJpfjEh3QCVlxsRzrA55jvtTHUgaNvJv8D06MPkDep5A59NzJdfo47m/hP3B7/oAR5Wq8aoMFJnNcY9aK7SAXJ7V+7HvvB/PkYQxvJqJ862b43vpupEKHHD4Tk5gZNeagENwnGaxonoJKTK99x747f4BLuzs6THZMTdO0MZurpcPamU7K4uWD+c54C0OXieIlPuzbvNn4Bwvtt8kLST973rNfkQ35PJ8EEjphEVQ69OCAyYzIr7FeAAThz5z5x+kN3GMbfA== 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=ypVzHkvFophgiSElF/EtoSjIsjCHQaBBnbESzOF2Vzc=; b=QrqrHGSVa1S1a4H5GJac5dU58xy0MR8+AH01cbLhmNAtxSeX0ElLU8FtXIh6290Zly7IpyY9IE7qmCJLFORaZmPpsCE5YNTu2cnXbnNj+SH7Qd4ZDIY5UC92mwAfxf99kGbaH6xzExOb76biRLR7gVDPxRNehRJssYdwWCpQa+8PA7CF6JRIeFWWW637rRQAoj5vwOrG+W55CgJXIL3S6hlgZuQ0C7HmULrGQCIrYzmWkUSptXFvXY5NQg4Q+/r1I9c8fG5YG0eZcBsCcns0QTpTh2QSC6eBq98fyHOGPKYYsXN9qweCg/EIjM65nilXw3YafKLbeyLwz4Qg2YvVuQ== 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=ypVzHkvFophgiSElF/EtoSjIsjCHQaBBnbESzOF2Vzc=; b=FA9LXSduZEhUvVLiF5Lw+CGfrM8GUVYkDqMqIEXCHpNJPaow2uOJUvRBOvMFLCn0wvnEVjZJWx57fRx95Kb+69lKA9MBVPMKU7PN3vD+G4RsU4bvNIHYLUW+F8/xh29726sHs6V/QvhG2iML5BJxS8gaiGS8D+23O5SVXNnBqErAHLtUSUosL3ZkAHH6XnJLkFcC6OZ0PMR0kDi18c/21oDCSPBCys8Sg5IyJk7K/OWCLCZMV2OSL9XFDrD9/E/GFj0vLXei8Y64Eb+VvHbMi8cLnFWyv0DaLXA/jCDt90JyY2zA+ZwWx6TTlME6eId6CApnHG3I8EPAfKZBA4NxUQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4128.apcprd06.prod.outlook.com (2603:1096:400:22::9) by TYZPR06MB6116.apcprd06.prod.outlook.com (2603:1096:400:332::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.24; Fri, 13 Sep 2024 06:18:45 +0000 Received: from TYZPR06MB4128.apcprd06.prod.outlook.com ([fe80::2bb1:c586:b61b:b920]) by TYZPR06MB4128.apcprd06.prod.outlook.com ([fe80::2bb1:c586:b61b:b920%7]) with mapi id 15.20.7962.017; Fri, 13 Sep 2024 06:18:45 +0000 From: Yan Zhen To: jani.nikula@linux.intel.com, rodrigo.vivi@intel.com, joonas.lahtinen@linux.intel.com, tursulin@ursulin.net, airlied@gmail.com, simona@ffwll.ch Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, dri-devel@lists.freedesktop.org, Yan Zhen Subject: [PATCH v1] drm/i915/display: fix typo in the comment Date: Fri, 13 Sep 2024 14:17:27 +0800 Message-Id: <20240913061727.170198-1-yanzhen@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: TYCPR01CA0084.jpnprd01.prod.outlook.com (2603:1096:405:3::24) To TYZPR06MB4128.apcprd06.prod.outlook.com (2603:1096:400:22::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4128:EE_|TYZPR06MB6116:EE_ X-MS-Office365-Filtering-Correlation-Id: b9013525-1ba9-427c-68cb-08dcd3bbeb91 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|7416014|52116014|366016|38350700014; X-Microsoft-Antispam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U0rF7cMWtkJAutP1Ehs4M+fyUQEsNZeUpnGqhcMCuoGHGeZmuWPT7mYt48q1APofeC78qbwka5LWjmRMVrOc3GZpfquIcU6ts249CfgB2+L2dWVZw8Kv0UI5SBrWRlUG/TxDKin/IXO/qLf5irZVaSS9H7HbIbrlw258iveGBc5SUGB03F5wUriMcQr97tqG0BpR8QhLe+IepPbQv7HpofG0QO7mCn+5NrQmO6NVWDZhj+IimH4Bh8BGIlzhF1G7lg2xTIDFZMuy9LyuRkCmSKCL3QDVbQk0vfg/8rwHfbxjFSLLHmR2yoE92fMrGko7XVh7GZiF91EXbxkpJbvcnRg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR06MB4128.apcprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(7416014)(52116014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pkZbXPgyn7wdlYXaiCQ6a5YKS3oi3QD9T9KI1KyYenIz/ghZj46yZgQhp7i823Md9Cuv0y+2iBYWCNwM0uCk38BTiBJUeVlDhmLXNhi1cbBsTrAwgo9X4ZyYYku4p/bgRteJ65mdTBDvm6ImG38GbLL0DDVCgJKx4k68HSH6v4fRgUVi8g/xu1Tv8w+pJ8NI650LITKsnr+cIvW0YxetjqawViFV8OOp6AvIaULklb0Ik9zaxjfD2tJ/kSvbC88Wa01jOhFZmUgsynSgIy6yEKEiWyJPBhU0ukwcwud0sUTzkzMrtn91WEg+x1nEVjtKDedylnm2PJBpo9LW/O+7K0l7Dn2eeCpsPJOhAX0BNmkioZ6euqa8+QQIQUss4txYz36S+ZtugyZnDI7PgiZpThSuhqpnyhgsDP7Y7x8yT9mBV3KTF3hlQDR8aPXmbEM4UEYtqW6VrP9xid/a5ppt7o9WAXqQz0lFEFBgkWiXPdoIGKd1miSN8UK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0k0yIukdtfF8O/7LZeUX6sdDUMnJ/51tm4NsXB+s X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9013525-1ba9-427c-68cb-08dcd3bbeb91 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4128.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2024 06:18:45.3199 (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: O0uim4oybFz7YO/6GE1KJLd8eNycz1hs/R9RCpWj4XtKphd1hk+ijiN4eb9iQmOCo2Db3OAK3/BjeeWtwW44dQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB6116 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" Correctly spelled comments make it easier for the reader to understand the code. Replace 'platformas' with 'platforms' in the comment & replace 'prefere' with 'prefer' in the comment & replace 'corresponsding' with 'corresponding' in the comment & replace 'harizontal' with 'horizontal' in the comment. Signed-off-by: Yan Zhen --- drivers/gpu/drm/i915/display/intel_display_debugfs.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 +- drivers/gpu/drm/i915/display/intel_lvds.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c index 830b9eb60976..d8fba1d00011 100644 --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c @@ -426,7 +426,7 @@ static void intel_scaler_info(struct seq_file *m, struct intel_crtc *crtc) int num_scalers = crtc->num_scalers; int i; - /* Not all platformas have a scaler */ + /* Not all platforms have a scaler */ if (num_scalers) { seq_printf(m, "\tnum_scalers=%d, scaler_users=%x scaler_id=%d scaling_filter=%d", num_scalers, diff --git a/drivers/gpu/drm/i915/display/intel_dpll.c b/drivers/gpu/drm/i915/display/intel_dpll.c index bc72d1c0cb41..38e34b72bc4e 100644 --- a/drivers/gpu/drm/i915/display/intel_dpll.c +++ b/drivers/gpu/drm/i915/display/intel_dpll.c @@ -780,7 +780,7 @@ g4x_find_best_dpll(const struct intel_limit *limit, max_n = limit->n.max; /* based on hardware requirement, prefer smaller n to precision */ for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { - /* based on hardware requirement, prefere larger m1,m2 */ + /* based on hardware requirement, prefer larger m1,m2 */ for (clock.m1 = limit->m1.max; clock.m1 >= limit->m1.min; clock.m1--) { for (clock.m2 = limit->m2.max; diff --git a/drivers/gpu/drm/i915/display/intel_lvds.c b/drivers/gpu/drm/i915/display/intel_lvds.c index 1734b12ddf5e..5f753ee743c6 100644 --- a/drivers/gpu/drm/i915/display/intel_lvds.c +++ b/drivers/gpu/drm/i915/display/intel_lvds.c @@ -264,7 +264,7 @@ static void intel_pre_enable_lvds(struct intel_atomic_state *state, temp |= LVDS_PIPE_SEL(pipe); } - /* set the corresponsding LVDS_BORDER bit */ + /* set the corresponding LVDS_BORDER bit */ temp &= ~LVDS_BORDER_ENABLE; temp |= crtc_state->gmch_pfit.lvds_border_bits; diff --git a/drivers/gpu/drm/i915/display/vlv_dsi.c b/drivers/gpu/drm/i915/display/vlv_dsi.c index f19660064525..32d15bd9a358 100644 --- a/drivers/gpu/drm/i915/display/vlv_dsi.c +++ b/drivers/gpu/drm/i915/display/vlv_dsi.c @@ -1072,7 +1072,7 @@ static void bxt_dsi_get_pipe_config(struct intel_encoder *encoder, hsync = intel_de_read(display, MIPI_HSYNC_PADDING_COUNT(display, port)); hbp = intel_de_read(display, MIPI_HBP_COUNT(display, port)); - /* harizontal values are in terms of high speed byte clock */ + /* horizontal values are in terms of high speed byte clock */ hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); hsync = pixels_from_txbyteclkhs(hsync, bpp, lane_count,