aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-05-15 10:04:24 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 15:35:10 -0400
commit82b7cde3f2658c0e6b3a46be594a76c3b2c9d89b (patch)
treeff8ce3ae489b2a218aec7f6c702077d8f21e5cda /drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
parentdrm/amd/display: Guard reading 3DLUT registers for dcn32/dcn35 (diff)
downloadlinux-82b7cde3f2658c0e6b3a46be594a76c3b2c9d89b.tar.gz
linux-82b7cde3f2658c0e6b3a46be594a76c3b2c9d89b.zip
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 <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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h2
1 files changed, 1 insertions, 1 deletions
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 c80ebb407add..27bba47186e9 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