[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240802165409.93652-1-davidbtadokoro@usp.br>
Date: Fri, 2 Aug 2024 13:54:09 -0300
From: David Tadokoro <davidbtadokoro@....br>
To: jiapeng.chong@...ux.alibaba.com
Cc: Rodrigo.Siqueira@....com,
Xinhui.Pan@....com,
abaci@...ux.alibaba.com,
airlied@...il.com,
alexander.deucher@....com,
amd-gfx@...ts.freedesktop.org,
chaitanya.dhere@....com,
christian.koenig@....com,
daniel@...ll.ch,
dri-devel@...ts.freedesktop.org,
harry.wentland@....com,
jun.lei@....com,
linux-kernel@...r.kernel.org,
sunpeng.li@....com
Subject: Re: [PATCH] drm/amd/display: remove unneeded semicolon
> 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 <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9633
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.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
Reviewed-by: David Tadokoro <davidbtadokoro@....br>
Powered by blists - more mailing lists