]> 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)
commit161a3e027eb691df8fbb2276f465fe4fc5d15f77
tree8badc561722c1e035cbb945e0f03451ade0c3636
parent75980cbc101987daef88a0cbbaf66dc8b680454f
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