drm/amd/display: Fix spelling mistake "optmization" -> "optimization"
Subsystems (5)
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
@@ -123,7 +123,7 @@ static enum dml2_status dml2_top_perform_stage_optimization(struct dml2_instanceDML_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
Hello,
Am 14.08.2026 um 19:13 schrieb Colin Ian King:
Quoted 12 lines
There is a spelling mistake in a
DML_ASSERT_MSGmessage. 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(-)drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0
-0
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_instanceDML_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"
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_MSGmessage. 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(-)drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_utm.c +0
-0drivers/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_instanceDML_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"