1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml
Hamza Mahfooz a0f7e7f759 drm/amd/display: fix i386 frame size warning
Addresses the following warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3596:6: error: stack frame size (2092) exceeds limit (2048) in 'dml30_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than]
void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib)
     ^

UseMinimumDCFCLK() is eating away at
dml30_ModeSupportAndSystemConfigurationFull()'s stack space, so use a
pointer to struct vba_vars_st instead of passing lots of large arrays
as parameters by value.

Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-22 16:47:09 -04:00
..
calcs drm/amd/display: fix minor codestyle problems 2022-08-16 18:17:31 -04:00
dcn10 drm/amd/display: move FPU code from dcn10 to dml/dcn10 folder 2022-03-15 14:25:16 -04:00
dcn20 drm/amd/display: include soc._clock_tmp[] into DC's scratch region 2022-08-16 18:17:31 -04:00
dcn21 drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
dcn30 drm/amd/display: fix i386 frame size warning 2022-08-22 16:47:09 -04:00
dcn31 drm/amd/display: include soc._clock_tmp[] into DC's scratch region 2022-08-16 18:17:31 -04:00
dcn32 drm/amd/display: Don't set DSC for phantom pipes 2022-08-16 18:09:01 -04:00
dcn301 drm/amd/display: include soc._clock_tmp[] into DC's scratch region 2022-08-16 18:17:31 -04:00
dcn302 drm/amd/display: move FPU associated DCN302 code to DML folder (#2266) 2022-01-18 17:42:26 -05:00
dcn303 drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:16 -04:00
dcn314 drm/amd/display: Add debug parameter to retain default clock table 2022-08-16 18:08:08 -04:00
dcn321 drm/amd/display: Add a variable to update FCLK latency 2022-08-10 15:11:44 -04:00
dsc drm/display: Move DSC header and helpers into display-helper module 2022-04-25 11:19:36 +02:00
dc_features.h drm/amd/display: Extend soc BB capabilitiy 2022-06-07 16:09:57 -04:00
display_mode_enums.h drm/amd/display: DML changes for DCN32/321 2022-06-03 16:43:37 -04:00
display_mode_lib.c drm/amd/display: DML changes for DCN32/321 2022-06-03 16:43:37 -04:00
display_mode_lib.h drm/amd/display: DML changes for DCN32/321 2022-06-03 16:43:37 -04:00
display_mode_structs.h drm/amd/display: include soc._clock_tmp[] into DC's scratch region 2022-08-16 18:17:31 -04:00
display_mode_vba.c drm/amd/display: Update DML logic for unbounded req handling 2022-07-25 09:31:03 -04:00
display_mode_vba.h Revert "drm/amd/display: reduce stack for dml32_CalculateSwathAndDETConfiguration" 2022-08-10 14:57:09 -04:00
display_rq_dlg_helpers.c drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
display_rq_dlg_helpers.h drm/amd/display: Pass all structs in display_rq_dlg_helpers by pointer 2021-09-23 15:17:29 -04:00
dml1_display_rq_dlg_calc.c drm/amdgpu/display: Remove t_srx_delay_us. 2022-01-27 15:47:34 -05:00
dml1_display_rq_dlg_calc.h drm/amd/display: Fix rest of pass-by-value structs in DML 2021-09-23 15:17:30 -04:00
dml_inline_defs.h drm/amd/display: simplify dml log2 function 2020-05-28 14:00:50 -04:00
dml_logger.h drm/amd/display: Use MACROS instead of dm_logger 2018-03-14 15:08:45 -05:00
Makefile drm/amd/display: Create FPU files for DCN314 2022-08-10 15:10:55 -04:00