From patchwork Thu Sep 12 04:24:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shen Lichuan X-Patchwork-Id: 13801356 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2047.outbound.protection.outlook.com [40.107.215.47]) (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 07B6720DF4; Thu, 12 Sep 2024 04:24:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726115094; cv=fail; b=uPdjIBh463ZR52iyV5erVKVFxUbWacodIqjhLUx8Etj54Ruo5xIq7GjMOV60zvqEu8kOxD/wAMWjdGUpnzutmEPyxP+s9XbLdJHSnJOZAIXjz4weEElaAIBqu7Jefym2iGuAXQqV02Wy97qVx9TRQdX0gpwra5BABIn0ToPEYJg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726115094; c=relaxed/simple; bh=ePe4Wz96fp0a29MilGu5dn3mvkd1/CzQjUwQKh2Xfrg=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=XPp2SqN0prPLrQdGSG77B48ZSkoz9MboyHoF1dVtz/3G1T8IwUSC2QiFJoqwJc7/fQjZlw4Z6GaEdIOyrQuGA8Z5nddHK7nHDkFQJpzOr/PadGdzo9k58zYF/MoUpNbW5WarngbtRxCvlvtQbNiOf5JCthC4NYqWP7+NLFFVun0= 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=hv0ela+t; arc=fail smtp.client-ip=40.107.215.47 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="hv0ela+t" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wP3m9GOhWyQ8UWPgx0EpQr4KogfbaEZnsZRtT5DKMIkoiQDSQhcxFYUMhH0kfE3q2q6f6Vo0V3yGnAjlFUP1ZhzxSm1xjUEXxkSQ4RkzOLkIuCap1ZqUCJQnc6r2BSgMjLwuNOyqqhaXiEjwEyVFlkTDZtRBIFeldPI1qXf1q4kJoSjzK/sBNEGnYgZ2qRWhvULlcY+pN1OW/5zlzptIX1UVjuvvHta17toF0hc1C8DJ41PJHwerbZtjs1ggpEvEDkTGySed+FyIKCUJobplJ2bqa30AYc4Y+jLyx76K9grDVL+3EaEZCdXg9lSLeEAbphuqHEJXax7g8cjdgB/TdA== 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=U2ZG7Rokpn3ocPjOAULaoJrHC46P9xn2RDCWmnk2r3Y=; b=mAg2PKJvN04KF/nGMMV2BSMIkCs8+uxZ1n9XxKO+jgZ5BYqEvY3h+MVkTB0Kg0kQb61gItSJMFrtp3ecYOnQ17/jmKFiIIXgL7mUiTvXCXqHcY7QoDbM4GZ62sofuebo7C+KUn6XMtF8F9PvwbDNvad0n7DG+i0Bq1A/yGiDEX4u+sZpFm2aFKkjmAxLW2CSQJzeg+atggLj3nE6o7jmEoEHov9BDc2Gc6vnSOsA25qweuP0EfTkHDi/1s07fLXQXRnNf24mQtEfkwPT55h0QiH4pfOq4lMf0mx9pHWtMpdg7B0zZTkOJgG0q3+KuIw9eicfxuHcjLTZOUJuXiMURw== 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=U2ZG7Rokpn3ocPjOAULaoJrHC46P9xn2RDCWmnk2r3Y=; b=hv0ela+tue8H7t+Xhi6N4CLsoHFm1Hb89fdrBNHoybKAzCi1+M7fjEsUo+9keUTQfk2E3EGTOg1xvDBX7uC5XBuxLpz1dRTG/9zz4Flo5JDLCEa9E280IcA9dhUAkqM2ehJuOB3dCprmpx16sL0A412wn6duNtOK989RqtnqlrbEIfrsC/Yq+g7HD2Zh/FYRsX/cftTZEIV+rrX+mtqZTHBBJ77+mzGg9tK7quu3WoMmArBo2D8tYpSaqePW30zpy8P8fnGTYCYvhCF3LuHrXilIN017jfuOadqNoGI3odakBm8VrN7RioRJVcD8+JwsLsWYPJ3IXCGkw6A87zkclg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) by PUZPR06MB5888.apcprd06.prod.outlook.com (2603:1096:301:105::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Thu, 12 Sep 2024 04:24:38 +0000 Received: from SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce]) by SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce%3]) with mapi id 15.20.7962.016; Thu, 12 Sep 2024 04:24:38 +0000 From: Shen Lichuan To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, airlied@gmail.com, simona@ffwll.ch Cc: sean@poorly.run, konradybcio@kernel.org, marijn.suijten@somainline.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan Subject: [PATCH v1] drm/msm/dpu: Fix some typos in comment Date: Thu, 12 Sep 2024 12:24:25 +0800 Message-Id: <20240912042425.4703-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR01CA0049.apcprd01.prod.exchangelabs.com (2603:1096:4:193::13) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5899:EE_|PUZPR06MB5888:EE_ X-MS-Office365-Filtering-Correlation-Id: f70d3c1f-8b2c-4afe-a448-08dcd2e2d070 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|1800799024|52116014|38350700014; X-Microsoft-Antispam-Message-Info: +WaYLft/iSYHeWIbz7KRZvZ2X2aEc3Ynygx2GLX7IoPJMnJnD3kqBHdNzJirBaWhPbH6Jyu4NRBFZ17Qwru1xChLEITeDuLw6oyfFZEt2EDR5rHTXJ5vDN4Vp3QLtMoWyJ5kNkCmXc6yUYAC8boZ5cJELWKObYUkcuL0KPUBKoal1WYvz6UaUO/scwyfXP2IrwwAZXKFFb4TN5SfDJnZ6KSaX2kvU5RgtRN07zTR+CjMAcCYQQwQgj4eRUC0KRjQfNIkwPyRnwt9UefBiysdAoY1t6lLWDvblOIfkT4hUuJc7azHPZkaU2L2axrUCtshDEtFDWcB5Xv41NG4MAmSyieyw4Bj8X1ClgkwSHHQV19DwdimZro4V+Zi4+8geW4muvTFd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CL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5899.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(366016)(1800799024)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: X+LqvFC4wKvjtVMajZDe7pC8galr0IhzUGmpW5fgSlOTMIcpgfJ2GH1mEmUFfOKUEZ+uNj8ie6AlRXlFGMMss1ZFdeX6GYci3TJGnI1KAdxVvPEJhVKc9pK599gEvkGTojHmhgKhkkTUl464tTvy6wgVUAMLB8HfZVar/Tf8It3ph6QJXyl/Aua+rTDNO6TVd4PNkvooUcAGmb1724AGiwi9wbK/AcERxWLR3LzV4WlCYvspB5rThNiibZump9j3zIFZfrNwFllKIIVEmmwKBd8v/gUZRYPi3+0yfavU0xC1LCBR7N4kl6VZrhPJSdMcqe1r3k1xFTXJll0dWgQGJkyNhSU5a5EUyX507H0a8FUguOdaB+xBJPHJ/phOsyPYf/vmpHQ2Hq0tRaD3q/B1l9lYpNXL2orZGrCdzOdK2Uin6CZtPR3LUgMLzDYacCR0+ZBKHl8dgI9OVnoYajk/JBfk+9fgN2xKGgmNEUFeifjvS5GSQeqDdEmCXZfgfmrwwsPgAY3aKvWet9fE5VRRuo8ea9yBMuyOeRiG1iFeCue15L5fPYg9LDEUPu+vg4oBRaeJvE3sFJEvJDY6/lFnOoKbNT/dxrc7meCxdMIJIOl3PFwU4tQG2YLVJMeoQYZZlEMlEg3etbHEQplJsJBJlkfEcLb0ho5SCxrHi6pnA6R42kr7GRgextvuWOn/ZMBWqKkZ10ItnVg1Yr4mRpZF7Q5AemBooqEVnCMsfua2qlAqS9IOv2fEM9uJNLXQZ2I0ju2JHkbADYXbAZex8m3wIs4E0+jrNxPzhjUsuT1s4xZLMaMfZoEL/z4n8pa9JRzVTwMnrWP42JOXXXHm8ntJ5Xewn8pOq58yTY5UM9E8I7EliwfuxErLwazWTQM8SaqbGsei5pnGX2eh7ye4h0+Dn2SMbcdBJ07Oy98NvaAexMb7cSMCIkTNVroGbxHoJMEzi351zTO8/LoEFpYb2+IGfcaNcH7MIdcsafiCC02122sHJjvlwJ1200SC7K+sa/+InYm2mEjRNuFOKat5JmDkgnc3xjnAB8TZwGYhdd+KRHzEvwZ5rdY1pKpQ3mx04mIRHpprIGbXFEQOdr9XLoMYVniB4LCVEfP2CRXeHzAG8hFn4D6XnIOcd/UjHlU9ZfntAKok6sr4pT4X3m3GAm4hUOMyahm62VC8AluZrZBFhdwkfwvwQOi3N3PV3SkcLlIR73EP7FN2UAZOzPddJzj183w3M47oE3hyGk1v1xv+osRPvkeKCFLawY7fb1piZ0ICjxh2s2N+Q9Fo+gRraSvqwyL3rJ5yM0BCkETZ+GcPH7bfqXnmjLi0Z7abYGb6JvidWVEHejOnl8yCrGD5A+6Ur5p8vxRQuod2nvSFEGsy7DJHpTEafHXpgFJ5rubvyMOQojPpbV+8lu9nymB2GPRkBdLk1il+paFVPSrrFIuhZ7d6N48XxDYU0tXA3C//6G/uump1LsLQodEVrK5E/4mtDvvgqLNjIsf+XCcC0siizTJQENe8YAbu+MQPUqXSTpJgcmKJpUADqOn8Vdhq3XAoYF5HDPXZ4DwuDB14p/vBkCfbefo9MIw9BpjnZTQfMnlt X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: f70d3c1f-8b2c-4afe-a448-08dcd2e2d070 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2024 04:24:38.3136 (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: ciriEMYQuCOaAaYV+SPpGeLrgbNyjKnEINzY+BuYhv2GkPxhnknO+lztyODQVFHdpVzq6aICmZDqvgSLr9u/ng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR06MB5888 Fixed some spelling errors, the details are as follows: -in the code comments: collpase->collapse firwmare->firmware everwhere->everywhere Signed-off-by: Shen Lichuan --- drivers/gpu/drm/msm/adreno/a5xx_power.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +- drivers/gpu/drm/msm/msm_ringbuffer.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a5xx_power.c b/drivers/gpu/drm/msm/adreno/a5xx_power.c index 7705f8010484..6b91e0bd1514 100644 --- a/drivers/gpu/drm/msm/adreno/a5xx_power.c +++ b/drivers/gpu/drm/msm/adreno/a5xx_power.c @@ -307,7 +307,7 @@ int a5xx_power_init(struct msm_gpu *gpu) else if (adreno_is_a540(adreno_gpu)) a540_lm_setup(gpu); - /* Set up SP/TP power collpase */ + /* Set up SP/TP power collapse */ a5xx_pc_init(gpu); /* Start the GPMU */ diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c b/drivers/gpu/drm/msm/adreno/adreno_gpu.c index 465a4cd14a43..076be0473eb5 100644 --- a/drivers/gpu/drm/msm/adreno/adreno_gpu.c +++ b/drivers/gpu/drm/msm/adreno/adreno_gpu.c @@ -533,7 +533,7 @@ int adreno_load_fw(struct adreno_gpu *adreno_gpu) if (!adreno_gpu->info->fw[i]) continue; - /* Skip loading GMU firwmare with GMU Wrapper */ + /* Skip loading GMU firmware with GMU Wrapper */ if (adreno_has_gmu_wrapper(adreno_gpu) && i == ADRENO_FW_GMU) continue; diff --git a/drivers/gpu/drm/msm/msm_ringbuffer.c b/drivers/gpu/drm/msm/msm_ringbuffer.c index 9d6655f96f0c..c803556a8f64 100644 --- a/drivers/gpu/drm/msm/msm_ringbuffer.c +++ b/drivers/gpu/drm/msm/msm_ringbuffer.c @@ -64,7 +64,7 @@ struct msm_ringbuffer *msm_ringbuffer_new(struct msm_gpu *gpu, int id, char name[32]; int ret; - /* We assume everwhere that MSM_GPU_RINGBUFFER_SZ is a power of 2 */ + /* We assume everywhere that MSM_GPU_RINGBUFFER_SZ is a power of 2 */ BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); ring = kzalloc(sizeof(*ring), GFP_KERNEL);