1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml/dcn30
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
..
dcn30_fpu.c drm/amd/display: Clean up some inconsistent indenting 2022-07-28 16:05:16 -04:00
dcn30_fpu.h drm/amd/display: Create patch bounding box function for isolate FPU 2022-07-25 17:16:20 -04:00
display_mode_vba_30.c drm/amd/display: fix i386 frame size warning 2022-08-22 16:47:09 -04:00
display_mode_vba_30.h drm/amd/display: Remove duplicate code across dcn30 and dcn31 2022-07-05 16:18:27 -04:00
display_rq_dlg_calc_30.c drm/amd/display: Remove duplicate code across dcn30 and dcn31 2022-07-05 16:18:27 -04:00
display_rq_dlg_calc_30.h drm/amd/display: Pass display_pipe_params_st as const in DML 2021-09-23 15:17:29 -04:00