drm/amd/display: Fix warning. Set MAX_SURFACES to 3
authorHarry Wentland <harry.wentland@amd.com>
Tue, 6 Dec 2016 17:25:52 +0000 (12:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:04:28 +0000 (17:04 -0400)
commit091a97e542cf9a9af6e48aa1324044433ea7341a
treef722d66260299272f43ffc776739b477fe2fa3ee
parenteaf9094475504effe1a798199a1a118299cf0f74
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>
drivers/gpu/drm/amd/display/dc/dc.h