[PATCH] drm/amdgpu/display: Remove duplicated argument to ||
Alex Deucher
alexdeucher at gmail.com
Wed Jul 6 15:48:35 UTC 2022
Applied. Thanks!
On Wed, Jul 6, 2022 at 3:41 AM Zhongjun Tan <hbut_tan at 163.com> wrote:
>
> From: Zhongjun Tan <tanzhongjun at coolpad.com>
>
> Remove duplicated argument to ||
>
> Signed-off-by: Zhongjun Tan <tanzhongjun at coolpad.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
>
More information about the dri-devel
mailing list