Skip to contentSkip to conversation

drm/amd/display: Fix spelling mistake "optmization" -> "optimization"

PATCH In review Colin Ian King 3 participants 3 messages Aug 14 – Aug 17

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Fix spelling mistake "optmization" -> "optimization"

There is a spelling mistake in a DML_ASSERT_MSG message. Fix it.

---
 .../drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +1 -1
index ab9cadaf5a60..79ec5838c26f 100644
@@ -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");
 //	DML_ASSERT_MSG(iteration <= MAX_OPTIMIZATION_ITERATIONS,
 //			"exceeds max optimization iterations!\n"
 //			"\t is_permissible_found = %s\n"
Signature · 1 line
2.55.0
#1 lore raw

Hello,

Am 14.08.2026 um 19:13 schrieb Colin Ian King:

Quoted 12 lines

There is a spelling mistake in a DML_ASSERT_MSG message. Fix it.

---
  .../drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0 -0
index ab9cadaf5a60..79ec5838c26f 100644

drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c static enum dml2_status dml2_top_perform_stage_optimization(struct dml2_instance · line 126

Quoted 5 lines
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +1 -1
@@ -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".

Quoted 3 lines
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0 -0
  //	DML_ASSERT_MSG(iteration <= MAX_OPTIMIZATION_ITERATIONS,
  //			"exceeds max optimization iterations!\n"
  //			"\t is_permissible_found = %s\n"
#2 lore raw

Squashed in the additional "resul" fix and applied. Thanks!

Alex

Quoted 28 lines · Rolf Reintjes

Hello,

Am 14.08.2026 um 19:13 schrieb Colin Ian King:

Quoted 12 lines

There is a spelling mistake in a DML_ASSERT_MSG message. Fix it.

---
  .../drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0 -0
index ab9cadaf5a60..79ec5838c26f 100644

drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c static enum dml2_status dml2_top_perform_stage_optimization(struct dml2_instance · line 126

Quoted 5 lines
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +1 -1
@@ -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".

Quoted 3 lines
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0 -0
  //  DML_ASSERT_MSG(iteration <= MAX_OPTIMIZATION_ITERATIONS,
  //                  "exceeds max optimization iterations!\n"
  //                  "\t is_permissible_found = %s\n"