aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorRodrigo Siqueira <[email protected]>2022-07-22 17:56:17 +0000
committerAlex Deucher <[email protected]>2022-07-25 21:23:30 +0000
commit1b54a0121dba12af268fb75c413feabdb9f573d4 (patch)
tree4245bfdb751df4226fcd1c823e04210f48a88710 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amd/display: 3.2.196 (diff)
downloadkernel-1b54a0121dba12af268fb75c413feabdb9f573d4.tar.gz
kernel-1b54a0121dba12af268fb75c413feabdb9f573d4.zip
drm/amd/display: Reduce stack size in the mode support function
When we use the allmodconfig option we see the following error: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c: In function 'dml32_ModeSupportAndSystemConfigurationFull': drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:3799:1: error: the frame size of 2464 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 3799 | } // ModeSupportAndSystemConfigurationFull This commit fixes this issue by moving part of the mode support operation from ModeSupportAndSystemConfigurationFull to a dedicated function. Cc: Harry Wentland <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Aurabindo Pillai <[email protected]> Cc: Stephen Rothwell <[email protected]> Tested-by: Stephen Rothwell <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions