diff options
| author | Hamza Mahfooz <[email protected]> | 2022-08-17 12:03:51 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-08-22 16:47:09 -0400 |
| commit | a0f7e7f759cf299ee6f6d8723c596af9a1a86b10 (patch) | |
| tree | b04cd8b8d95ea7f3153f4d0c713806086ce16e48 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 947f63f17e1d91cee19f1bc071e825b28ce4da98 (diff) | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions