]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Reduce stack size
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 1 Mar 2022 00:01:59 +0000 (19:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:24 +0000 (12:40 -0400)
commitc558ff792ad47a163d2b731080afb4576c1d706c
tree8badc561722c1e035cbb945e0f03451ade0c3636
parent3c989b23141dc8108d76820202991a0bcc24f31d
drm/amd/display: Reduce stack size

Linux kernel enabled more compilation restrictions related to the stack
size, which caused compilation failures in our code. This commit reduces
the allocation size by allocating the required memory dynamically.

Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c