drm/amd/display: Reduce stack size of commit_planes_to_stream
authorHarry Wentland <harry.wentland@amd.com>
Thu, 12 Oct 2017 18:15:26 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:52:02 +0000 (16:52 -0400)
commitbb16bee4b394bafd6168c7719b7b07e19d1f0ce1
tree7a3dbd825612a4d43e9b6c99019004fd38cfbce9
parent1bed4d09a4cc5a7d4449da86832d9bd816ae44ff
drm/amd/display: Reduce stack size of commit_planes_to_stream

This function likes to blow 1024 stack size when something is
added to the addr struct. For now just dynamically allocate.

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/core/dc.c