No functional modification involved.

./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c:6463:166-167:
 Unneeded semicolon.

Reported-by: Abaci Robot <ab...@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9633
Signed-off-by: Jiapeng Chong <jiapeng.ch...@linux.alibaba.com>
---
 .../display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c 
b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c
index c54c29711a65..8f3c1c0b1cc1 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c
@@ -6464,8 +6464,8 @@ static void CalculateSwathAndDETConfiguration(struct 
dml2_core_internal_scratch
                        p->SwathHeightC[k] = l->MaximumSwathHeightC[k] / 2;
                        l->RoundedUpSwathSizeBytesY[k] = 
p->full_swath_bytes_l[k] / 2;
                        l->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.32.0.3.g01195cf9f

Reply via email to