Re: [PATCH] drm/amd/display: Allow building DC with clang on LoongArch

2024-11-18 Thread Alex Deucher
Applied. Thanks. Alex On Fri, Nov 15, 2024 at 8:19 PM Huacai Chen wrote: > > Clang on LoongArch (18+) appears to be unaffected by the bug causing > excessive stack usage in calculate_bandwidth(). But when building DC_FP > support the stack frame size can be as large as 2816 bytes, which causes

[PATCH] drm/amd/display: Allow building DC with clang on LoongArch

2024-11-16 Thread Huacai Chen
Clang on LoongArch (18+) appears to be unaffected by the bug causing excessive stack usage in calculate_bandwidth(). But when building DC_FP support the stack frame size can be as large as 2816 bytes, which causes the FRAME_WARN build warnings. So on LoongArch we allow building DC with clang, but d