[PATCH] drm/amd/display: fix misspelling of "minimum" in dc_dsc.c

Runrun Liu posted 1 patch 2 weeks, 6 days ago
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/amd/display: fix misspelling of "minimum" in dc_dsc.c
Posted by Runrun Liu 2 weeks, 6 days ago
Fix the typo "miniumum" → "minimum" in a comment in dc_dsc.c.

This typo is already listed in scripts/spelling.txt by commit
8c3200265787 ("scripts/spelling.txt: add several more common spelling
mistakes").

Suggested-by: Cryolitia PukNgae <cryolitia@uniontech.com>
Signed-off-by: Runrun Liu <liurunrun@uniontech.com>
---
 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
index e4144b244332..5b3584ad5b6b 100644
--- a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
+++ b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
@@ -1157,7 +1157,7 @@ static bool setup_dsc_config(
 	if (!is_dsc_possible)
 		goto done;
 
-	/* increase miniumum slice count to meet sink slice width limitations */
+	/* increase minimum slice count to meet sink slice width limitations */
 	min_slices_h = dc_fixpt_ceil(dc_fixpt_max(
 			dc_fixpt_div_int(dc_fixpt_from_int(pic_width), dsc_common_caps.max_slice_width), // sink min
 			dc_fixpt_from_int(min_slices_h))); // source min
-- 
2.51.0

Re: [PATCH] drm/amd/display: fix misspelling of "minimum" in dc_dsc.c
Posted by Alex Deucher 2 weeks, 5 days ago
Applied.  Thanks!

Alex

On Mon, Jan 19, 2026 at 8:57 AM Runrun Liu <liurunrun@uniontech.com> wrote:
>
> Fix the typo "miniumum" → "minimum" in a comment in dc_dsc.c.
>
> This typo is already listed in scripts/spelling.txt by commit
> 8c3200265787 ("scripts/spelling.txt: add several more common spelling
> mistakes").
>
> Suggested-by: Cryolitia PukNgae <cryolitia@uniontech.com>
> Signed-off-by: Runrun Liu <liurunrun@uniontech.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
> index e4144b244332..5b3584ad5b6b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
> +++ b/drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c
> @@ -1157,7 +1157,7 @@ static bool setup_dsc_config(
>         if (!is_dsc_possible)
>                 goto done;
>
> -       /* increase miniumum slice count to meet sink slice width limitations */
> +       /* increase minimum slice count to meet sink slice width limitations */
>         min_slices_h = dc_fixpt_ceil(dc_fixpt_max(
>                         dc_fixpt_div_int(dc_fixpt_from_int(pic_width), dsc_common_caps.max_slice_width), // sink min
>                         dc_fixpt_from_int(min_slices_h))); // source min
> --
> 2.51.0
>