mirror of https://github.com/torvalds/linux.git
Setting CONFIG_FRAME_WARN=0 should disable 'stack frame larger than' warnings. This is useful for example in KASAN builds. Make the dml Makefile respect this config. Fixes the following build warnings with CONFIG_KASAN=y and CONFIG_FRAME_WARN=0: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3642:6: warning: stack frame size of 2216 bytes in function 'dml30_ModeSupportAndSystemConfigurationFull' [-Wframe-larger-than=] drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:3957:6: warning: stack frame size of 2568 bytes in function 'dml31_ModeSupportAndSystemConfigurationFull' [-Wframe-larger-than=] Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Reka Norman <rekanorman@google.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
|---|---|---|
| .. | ||
| dcn20 | ||
| dcn21 | ||
| dcn30 | ||
| dcn31 | ||
| Makefile | ||
| dc_features.h | ||
| display_mode_enums.h | ||
| display_mode_lib.c | ||
| display_mode_lib.h | ||
| display_mode_structs.h | ||
| display_mode_vba.c | ||
| display_mode_vba.h | ||
| display_rq_dlg_helpers.c | ||
| display_rq_dlg_helpers.h | ||
| dml1_display_rq_dlg_calc.c | ||
| dml1_display_rq_dlg_calc.h | ||
| dml_inline_defs.h | ||
| dml_logger.h | ||