mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
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: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
eaf9094475
commit
091a97e542
|
|
@ -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
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user