diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2022-08-17 12:03:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-22 16:47:09 -0400 |
commit | a0f7e7f759cf299ee6f6d8723c596af9a1a86b10 (patch) | |
tree | b04cd8b8d95ea7f3153f4d0c713806086ce16e48 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h | |
parent | 947f63f17e1d91cee19f1bc071e825b28ce4da98 (diff) | |
download | linux-a0f7e7f759cf299ee6f6d8723c596af9a1a86b10.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h')
0 files changed, 0 insertions, 0 deletions