drm/amd/display: remove extraneous ; after statements
PATCH 1/1 drm/amd/display: remove extraneous ; after statements
There are a couple of statements with two following semicolons, replace these with just one semicolon.
Signed-off-by Colin Ian King <[email protected]>
--- .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +2 -2
@@ -3894,8 +3894,8 @@ static void CalculateSwathAndDETConfiguration(struct dml2_core_internal_scratch p->SwathHeightC[k] = MaximumSwathHeightC[k] /2 ; RoundedUpSwathSizeBytesY[k] = p->full_swath_bytes_l[k] /2 ; RoundedUpSwathSizeBytesC[k] = p->full_swath_bytes_c[k] /2 ; - p->request_size_bytes_luma[k] = ((p->BytePerPixY[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ;; - p->request_size_bytes_chroma[k] = ((p->BytePerPixC[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ;; + p->request_size_bytes_luma[k] = ((p->BytePerPixY[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ; + p->request_size_bytes_chroma[k] = ((p->BytePerPixC[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ; }if (p->SwathHeightC[k] ==0 )
Signature · 1 line
2.47.1
Alex Deucher
AppliedApplied. thanks!
Alex
Quoted 27 lines · Colin Ian King
There are a couple of statements with two following semicolons, replace these with just one semicolon.
Signed-off-by Colin Ian King <[email protected]>--- .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +2
-3@@ -3894,8 +3894,8 @@ static void CalculateSwathAndDETConfiguration(struct dml2_core_internal_scratch p->SwathHeightC[k] = MaximumSwathHeightC[k] /2 ; RoundedUpSwathSizeBytesY[k] = p->full_swath_bytes_l[k] /2 ; RoundedUpSwathSizeBytesC[k] = p->full_swath_bytes_c[k] /2 ; - p->request_size_bytes_luma[k] = ((p->BytePerPixY[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ;; - p->request_size_bytes_chroma[k] = ((p->BytePerPixC[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ;; + p->request_size_bytes_luma[k] = ((p->BytePerPixY[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ; + p->request_size_bytes_chroma[k] = ((p->BytePerPixC[k] ==2 ) ==dml_is_vertical_rotation (p->display_cfg->plane_descriptors[k].composition.rotation_angle)) ?128 :64 ; }if (p->SwathHeightC[k] ==0 ) --2.47.1