提交 091a97e5 编写于 作者: H Harry Wentland 提交者: Alex Deucher

drm/amd/display: Fix warning. Set MAX_SURFACES to 3

Currently we never use more than 2 surfaces in all use cases.
This avoids pushing dc_commit_surfaces_to_target beyond a
stacksize of 1024.
Signed-off-by: NHarry Wentland <harry.wentland@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 eaf90944
......@@ -34,7 +34,7 @@
#include "link_service_types.h"
#define MAX_TARGETS 6
#define MAX_SURFACES 6
#define MAX_SURFACES 3
#define MAX_SINKS_PER_LINK 4
/*******************************************************************************
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部