1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml/dcn21
Harry Wentland a62427ef9b drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull
[Why & How]
With Werror enabled in the kernel we were failing the clang build since
dml21_ModeSupportAndSystemConfigurationFull's stack frame is 1064 when
building with clang, and exceeding the default 1024 stack frame limit.

The culprit seems to be the Pipe struct, so pull the relevant block
out into its own sub-function.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-09-23 15:17:30 -04:00
..
display_mode_vba_21.c drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull 2021-09-23 15:17:30 -04:00
display_mode_vba_21.h drm/amd/display: Add Renoir DML 2019-08-29 15:52:33 -05:00
display_rq_dlg_calc_21.c drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -04:00
display_rq_dlg_calc_21.h drm/amd/display: Pass display_pipe_params_st as const in DML 2021-09-23 15:17:29 -04:00