drm/amd/display: dml: move some variables to heap
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Fri, 10 Jun 2022 17:13:31 +0000 (13:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 01:38:40 +0000 (21:38 -0400)
commitd6aa8424bcac64b2608452589c9a09984251c01c
tree7c915dc3d0d63149e8404c6e6f4faddf242b8200
parent1f474c8742fd53a048cc8cc4b20e20b2614397eb
drm/amd/display: dml: move some variables to heap

[Why&How]
To reduce stack usage, move some variables into heap in the DML function
dml32_ModeSupportAndSystemConfigurationFull()

Fixes: dda4fb85e433 ("drm/amd/display: DML changes for DCN32/321")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h