Re: [PATCH][next] drm/amd/display: Fix spelling mistake "optmization" -> "optimization"

Alex Deucher <[email protected]>
Newsgroups org.freedesktop.lists.amd-gfx,org.freedesktop.lists.dri-devel,org.kernel.vger.kernel-janitors
Message-ID <CADnq5_M+DcrDvy+1pvW0u6prJYQvG602-rNkni2Dj06fEpsE_g@mail.gmail.com>
Squashed in the additional "resul" fix and applied.  Thanks!

Alex

On Mon, Aug 17, 2026 at 3:20 AM Rolf Reintjes <[email protected]> wrote:
>
> Hello,
>
> Am 14.08.2026 um 19:13 schrieb Colin Ian King:
> > There is a spelling mistake in a DML_ASSERT_MSG message. Fix it.
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
> >   .../drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c
> > index ab9cadaf5a60..79ec5838c26f 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c
> > @@ -123,7 +123,7 @@ static enum dml2_status dml2_top_perform_stage_optimization(struct dml2_instance
> >       DML_ASSERT_MSG(worksheet->validation_result.is_mode_support_valid
> >                       && worksheet->validation_result.is_mcache_allocation_valid
> >                       && worksheet->validation_result.is_prefetch_valid,
> > -                     "worksheet must be valid on exit independent from optmization resul!\n");
> > +                     "worksheet must be valid on exit independent from optimization resul!\n");
>
> There is another spelling mistake here: "resul" should be "result".
>
> >   //  DML_ASSERT_MSG(iteration <= MAX_OPTIMIZATION_ITERATIONS,
> >   //                  "exceeds max optimization iterations!\n"
> >   //                  "\t is_permissible_found = %s\n"
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.