From: Alex Hung Date: Wed, 15 May 2024 16:04:24 +0000 (-0600) Subject: drm/amd/display: Increase MAX_LINKS by 2 X-Git-Tag: v6.11-rc1~141^2~18^2~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82b7cde3f2658c0e6b3a46be594a76c3b2c9d89b;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Increase MAX_LINKS by 2 Two additional virtual links are created and thus increasing size for dc->links by two. Reviewed-by: Alvin Lee Acked-by: Zaeem Mohamed Signed-off-by: Alex Hung Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h index c80ebb407adda..27bba47186e92 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h @@ -44,7 +44,7 @@ */ #define MAX_PIPES 6 #define MAX_PHANTOM_PIPES (MAX_PIPES / 2) -#define MAX_LINKS (MAX_PIPES * 2) +#define MAX_LINKS (MAX_PIPES * 2 +2) #define MAX_DIG_LINK_ENCODERS 7 #define MAX_DWB_PIPES 1 #define MAX_HPO_DP2_ENCODERS 4