* [PATCH v1] drm/msm/dpu: Fix some typos in comment
@ 2024-09-12 4:24 Shen Lichuan
2024-09-12 5:03 ` Dmitry Baryshkov
0 siblings, 1 reply; 2+ messages in thread
From: Shen Lichuan @ 2024-09-12 4:24 UTC (permalink / raw)
To: robdclark, quic_abhinavk, dmitry.baryshkov, airlied, simona
Cc: sean, konradybcio, marijn.suijten, linux-arm-msm, dri-devel,
freedreno, linux-kernel, opensource.kernel, Shen Lichuan
Fixed some spelling errors, the details are as follows:
-in the code comments:
collpase->collapse
firwmare->firmware
everwhere->everywhere
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
---
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);
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1] drm/msm/dpu: Fix some typos in comment
2024-09-12 4:24 [PATCH v1] drm/msm/dpu: Fix some typos in comment Shen Lichuan
@ 2024-09-12 5:03 ` Dmitry Baryshkov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Baryshkov @ 2024-09-12 5:03 UTC (permalink / raw)
To: Shen Lichuan
Cc: robdclark, quic_abhinavk, airlied, simona, sean, konradybcio,
marijn.suijten, linux-arm-msm, dri-devel, freedreno,
linux-kernel, opensource.kernel
On Thu, Sep 12, 2024 at 12:24:25PM GMT, Shen Lichuan wrote:
> Fixed some spelling errors, the details are as follows:
>
> -in the code comments:
> collpase->collapse
> firwmare->firmware
> everwhere->everywhere
>
> Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Missing Fixes tag.
> ---
> 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.
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-12 5:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-12 4:24 [PATCH v1] drm/msm/dpu: Fix some typos in comment Shen Lichuan
2024-09-12 5:03 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®