Re: [PATCH] drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull

2021-09-16 Thread Leo Li
On 2021-09-14 17:05, Harry Wentland wrote: [Why & How] With Werror enabled in the kernel we were failing the clang build since dml21_ModeSupportAndSystemConfigurationFull's stack frame is 1064 when building with clang, and exceeding the default 1024 stack frame limit. The culprit seems to be

Re: [PATCH] drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull

2021-09-14 Thread Arnd Bergmann
On Tue, Sep 14, 2021 at 11:05 PM Harry Wentland wrote: > > [Why & How] > With Werror enabled in the kernel we were failing the clang build since > dml21_ModeSupportAndSystemConfigurationFull's stack frame is 1064 when > building with clang, and exceeding the default 1024 stack frame limit. > >

[PATCH] drm/amd/display: Reduce stack size for dml21_ModeSupportAndSystemConfigurationFull

2021-09-14 Thread Harry Wentland
[Why & How] With Werror enabled in the kernel we were failing the clang build since dml21_ModeSupportAndSystemConfigurationFull's stack frame is 1064 when building with clang, and exceeding the default 1024 stack frame limit. The culprit seems to be the Pipe struct, so pull the relevant block out