[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_MjpC988eDN8ODb_Lg5n1uLexWyQKEu=B+Cc0bRgvhAxQ@mail.gmail.com>
Date: Wed, 6 Jul 2022 11:48:35 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Zhongjun Tan <hbut_tan@....com>
Cc: "Wentland, Harry" <harry.wentland@....com>,
"Leo (Sunpeng) Li" <sunpeng.li@....com>,
"Siqueira, Rodrigo" <Rodrigo.Siqueira@....com>,
"Deucher, Alexander" <alexander.deucher@....com>,
Christian Koenig <christian.koenig@....com>,
xinhui pan <Xinhui.Pan@....com>,
Dave Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Chandan Vurdigere Nataraj <chandan.vurdigerenataraj@....com>,
Aurabindo Pillai <aurabindo.pillai@....com>,
Zhongjun Tan <tanzhongjun@...lpad.com>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/amdgpu/display: Remove duplicated argument to ||
Applied. Thanks!
On Wed, Jul 6, 2022 at 3:41 AM Zhongjun Tan <hbut_tan@....com> wrote:
>
> From: Zhongjun Tan <tanzhongjun@...lpad.com>
>
> Remove duplicated argument to ||
>
> Signed-off-by: Zhongjun Tan <tanzhongjun@...lpad.com>
> ---
> .../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c b/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c
> index 07f3a85f8edf..5a701d9df0f7 100644
> --- a/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c
> +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c
> @@ -275,7 +275,7 @@ void dml32_CalculateBytePerPixelAndBlockSizes(
> *BytePerPixelDETC = 0;
> *BytePerPixelY = 4;
> *BytePerPixelC = 0;
> - } else if (SourcePixelFormat == dm_444_16 || SourcePixelFormat == dm_444_16) {
> + } else if (SourcePixelFormat == dm_444_16) {
> *BytePerPixelDETY = 2;
> *BytePerPixelDETC = 0;
> *BytePerPixelY = 2;
> --
> 2.29.0
>
Powered by blists - more mailing lists