From nobody Fri Nov 29 23:55:59 2024 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2082.outbound.protection.outlook.com [40.107.215.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60A6D186E3D for ; Fri, 13 Sep 2024 06:18:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726208336; cv=fail; b=smTVSAYqRoRosHBfiTJm7f5agzDT+HhpvZ3FUS2yx47RmIKZ0qMBvbnnmhR5I6ZKQafJaY6+ekZnRGCktr6In6enqYs1B4zC6uQxonKKBwW5Dqv+sNSpXbETSZwLHn2YTlRsgZPZVAtuzZ/abrTcwyIAGcwDZnRhIAu9zmhtwAs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726208336; c=relaxed/simple; bh=/6Bn2IGOZeriQFFnlG1qTMguXLoNWvXbHAaxtsmUkAc=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=V34Kix2VQNEezb1NuE0sGzkfOVi+/s5w6HkYiZufv/vZATnZjZKVk6kxmmvXPNsHpjtcbCheGjYHLSYHP8NPINN2VXR7kP2bYXX0nSRM/R/iKOLdS1jYVoNiZ++22aT7mO9EcbTTSvQ7ecxGkZB/TRoqeEm7Te7LVSac0eBp0Lg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=FA9LXSdu; arc=fail smtp.client-ip=40.107.215.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="FA9LXSdu" 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 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: TYCPR01CA0084.jpnprd01.prod.outlook.com (2603:1096:405:3::24) To TYZPR06MB4128.apcprd06.prod.outlook.com (2603:1096:400:22::9) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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-Message-Info: =?us-ascii?Q?D3BR+rjXOlBKENUNLSaEhFE4czibXplgN0vAMN8uksSEGVs4p//hnMK2uclF?= =?us-ascii?Q?JeOagnEz18KDNNGWIUbAIv7bFjAfNLwu1egtOULw1ci6mUQnV1gsnoWpTtcu?= =?us-ascii?Q?MKT3jm/o0/Baxo3pz9yLybY53hePGLb4aIKooGCKoGWIApHQK+r9YkMxc7QS?= =?us-ascii?Q?L4JIqP0GoYVVyWU3dJrvdqqPFIMOVHM2fmlyXe2b+y5fSNj2PAbDlubOpDH3?= =?us-ascii?Q?S853Dc4MNQVFhPlQxb9XIay+okHrp3FnEFxDcyQTAkJ4IJQglCg/nU6ApA2g?= =?us-ascii?Q?SLIY+7U8XO3Vobc1QaARayttyGrhRSwdpphEotrBXuIRa/cqGr0+w7NfkSLx?= =?us-ascii?Q?Rh5fAM3OTNwfLT4ZRWiyLbCKU873pz+ww+xD2MSFJWE9lti2p13piOYEMXbX?=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n+5NrQmO6NVW?= =?us-ascii?Q?DZhj+IimH4Bh8BGIlzhF1G7lg2xTIDFZMuy9LyuRkCmSKCL3QDVbQk0vfg/8?= =?us-ascii?Q?rwHfbxjFSLLHmR2yoE92fMrGko7XVh7GZiF91EXbxkpJbvcnRg=3D=3D?= 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: =?us-ascii?Q?pkZbXPgyn7wdlYXaiCQ6a5YKS3oi3QD9T9KI1KyYenIz/ghZj46yZgQhp7i8?= =?us-ascii?Q?23Md9Cuv0y+2iBYWCNwM0uCk38BTiBJUeVlDhmLXNhi1cbBsTrAwgo9X4ZyY?= =?us-ascii?Q?Yku4p/bgRteJ65mdTBDvm6ImG38GbLL0DDVCgJKx4k68HSH6v4fRgUVi8g/x?= =?us-ascii?Q?u1Tv8w+pJ8NI650LITKsnr+cIvW0YxetjqawViFV8OOp6AvIaULklb0Ik9za?= =?us-ascii?Q?xjfD2tJ/kSvbC88Wa01jOhFZmUgsynSgIy6yEKEiWyJPBhU0ukwcwud0sUTz?= =?us-ascii?Q?kzMrtn91WEg+x1nEVjtKDedylnm2PJBpo9LW/O+7K0l7Dn2eeCpsPJOhAX0B?= =?us-ascii?Q?NmkioZ6euqa8+QQIQUss4txYz36S+ZtugyZnDI7PgiZpThSuhqpnyhgsDP7Y?= =?us-ascii?Q?7x8yT9mBV3KTF3hlQDR8aPXmbEM4UEYtqW6VrP9xid/a5ppt7o9WAXqQz0lF?= =?us-ascii?Q?EFBgkWiXPdoIGKd1miSN8UKwoWZ7SoWZDzvrrwhndiJo0lBc+Fgy5SDfQAI/?= =?us-ascii?Q?sfX+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QASvVopbPcxZYtws5c5+Bu2xeZ4Xn?= =?us-ascii?Q?S98CGUKAoc+Mb59tgumN85GeSVWQ/rVMiGz1/OW5AHJ084WjeREkpBZo3UP5?= =?us-ascii?Q?Gwzuab1IJYsLaX+o7pme+LUDRbnHvujF6OQBOn6FCf4dv9X3Osi0lA0oFeJJ?= =?us-ascii?Q?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 Content-Type: text/plain; charset="utf-8" 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, struc= t intel_crtc *crtc) int num_scalers =3D crtc->num_scalers; int i; =20 - /* Not all platformas have a scaler */ + /* Not all platforms have a scaler */ if (num_scalers) { seq_printf(m, "\tnum_scalers=3D%d, scaler_users=3D%x scaler_id=3D%d scal= ing_filter=3D%d", num_scalers, diff --git a/drivers/gpu/drm/i915/display/intel_dpll.c b/drivers/gpu/drm/i9= 15/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 =3D limit->n.max; /* based on hardware requirement, prefer smaller n to precision */ for (clock.n =3D limit->n.min; clock.n <=3D max_n; clock.n++) { - /* based on hardware requirement, prefere larger m1,m2 */ + /* based on hardware requirement, prefer larger m1,m2 */ for (clock.m1 =3D limit->m1.max; clock.m1 >=3D limit->m1.min; clock.m1--) { for (clock.m2 =3D limit->m2.max; diff --git a/drivers/gpu/drm/i915/display/intel_lvds.c b/drivers/gpu/drm/i9= 15/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_s= tate *state, temp |=3D LVDS_PIPE_SEL(pipe); } =20 - /* set the corresponsding LVDS_BORDER bit */ + /* set the corresponding LVDS_BORDER bit */ temp &=3D ~LVDS_BORDER_ENABLE; temp |=3D crtc_state->gmch_pfit.lvds_border_bits; =20 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_enco= der *encoder, hsync =3D intel_de_read(display, MIPI_HSYNC_PADDING_COUNT(display, port)); hbp =3D intel_de_read(display, MIPI_HBP_COUNT(display, port)); =20 - /* harizontal values are in terms of high speed byte clock */ + /* horizontal values are in terms of high speed byte clock */ hfp =3D pixels_from_txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); hsync =3D pixels_from_txbyteclkhs(hsync, bpp, lane_count, --=20 2.34.1