Re: [PATCH] drm/amd/display: mark static functions noinline_for_stack

2025-01-16 Thread Alex Deucher
On Thu, Jan 16, 2025 at 9:47 AM Nathan Chancellor wrote: > > Hi Tzung-Bi, > > First of all, thanks for the patch! > > On Thu, Jan 09, 2025 at 05:35:04AM +, Tzung-Bi Shih wrote: > > When compiling allmodconfig (CONFIG_WERROR=y) with clang-19, see the > > following errors: > > > > .../display/dc

Re: [PATCH] drm/amd/display: mark static functions noinline_for_stack

2025-01-16 Thread Nathan Chancellor
Hi Tzung-Bi, First of all, thanks for the patch! On Thu, Jan 09, 2025 at 05:35:04AM +, Tzung-Bi Shih wrote: > When compiling allmodconfig (CONFIG_WERROR=y) with clang-19, see the > following errors: > > .../display/dc/dml2/display_mode_core.c:6268:13: warning: stack frame size > (3128) exce

[PATCH] drm/amd/display: mark static functions noinline_for_stack

2025-01-08 Thread Tzung-Bi Shih
When compiling allmodconfig (CONFIG_WERROR=y) with clang-19, see the following errors: .../display/dc/dml2/display_mode_core.c:6268:13: warning: stack frame size (3128) exceeds limit (3072) in 'dml_prefetch_check' [-Wframe-larger-than] .../display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.