Skip to contentSkip to conversation

drm/msm/dpu: Fix some typos in comment

PATCH Superseded Shen Lichuan 2 participants 2 messages Sep 12, 2024

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm/dpu: Fix some typos in comment

Fixed some spelling errors, the details are as follows:

-in the code comments:

	collpase->collapse
	firwmare->firmware
	everwhere->everywhere
---
 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(-)
drivers/gpu/drm/msm/adreno/a5xx_power.c +1 -1
index 7705f8010484..6b91e0bd1514 100644
@@ -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 */
drivers/gpu/drm/msm/adreno/adreno_gpu.c +1 -1
index 465a4cd14a43..076be0473eb5 100644
@@ -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;
 
drivers/gpu/drm/msm/msm_ringbuffer.c +1 -1
index 9d6655f96f0c..c803556a8f64 100644
@@ -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);
Signature · 1 line
2.17.1
#1 lore raw
Quoted 8 lines · Shen Lichuan

Fixed some spelling errors, the details are as follows:

-in the code comments:

	collpase->collapse
	firwmare->firmware
	everwhere->everywhere

Missing Fixes tag.

Quoted 4 lines
---
 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 +-

Subject prefix is incorrect, none of these files belong to the DPU subdriver.

Quoted 2 lines
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 2 lines
With best wishes
Dmitry