]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Increase MAX_LINKS by 2
authorAlex Hung <alex.hung@amd.com>
Wed, 15 May 2024 16:04:24 +0000 (10:04 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:35:10 +0000 (15:35 -0400)
Two additional virtual links are created and thus increasing size
for dc->links by two.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h

index c80ebb407adda9c145509aef9337f45250dbb12c..27bba47186e92179d44ab13af437341ba191d2ca 100644 (file)
@@ -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