summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
diff options
context:
space:
mode:
authorYan Zhen <yanzhen@vivo.com>2024-09-12 10:12:09 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-09-18 23:14:27 +0300
commitc77a46bebe99e70600e636a3a1f285637c479f46 (patch)
treed5fb42f79a4d0930e1d759dd1da1c682b7e6dad2 /drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
parentc400ec6990fb04a2ec9929b253dafa7e77c7f555 (diff)
downloadlinux-c77a46bebe99e70600e636a3a1f285637c479f46.tar.xz
drm/amd/display: fix typo in the comment
Correctly spelled comments make it easier for the reader to understand the code. Replace 'maxium' with 'maximum' in the comment & replace 'diffculty' with 'difficulty' in the comment & replace 'suppluy' with 'supply' in the comment & replace 'Congiuration' with 'Configuration' in the comment & replace 'eanbled' with 'enabled' in the comment. Signed-off-by: Yan Zhen <yanzhen@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c b/drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
index e47e9db062f4..681799468487 100644
--- a/drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
+++ b/drivers/gpu/drm/amd/display/dc/basics/dce_calcs.c
@@ -569,7 +569,7 @@ static void calculate_bandwidth(
break;
}
data->lb_partitions[i] = bw_floor2(bw_div(data->lb_size_per_component[i], data->lb_line_pitch), bw_int_to_fixed(1));
- /*clamp the partitions to the maxium number supported by the lb*/
+ /* clamp the partitions to the maximum number supported by the lb */
if ((surface_type[i] != bw_def_graphics || dceip->graphics_lb_nodownscaling_multi_line_prefetching == 1)) {
data->lb_partitions_max[i] = bw_int_to_fixed(10);
}