diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2024-11-15 23:02:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-20 10:03:06 -0500 |
commit | 4217ef9ab763dbf8af2b0ecd3f74c0caa135668c (patch) | |
tree | dfea38d35eaee3179aa97d0e869ba4916165d093 /drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c | |
parent | 2bc96c95070571c6c824e0d4c7783bee25a37876 (diff) | |
download | linux-4217ef9ab763dbf8af2b0ecd3f74c0caa135668c.tar.gz linux-4217ef9ab763dbf8af2b0ecd3f74c0caa135668c.tar.bz2 linux-4217ef9ab763dbf8af2b0ecd3f74c0caa135668c.zip |
drm/amd/display: Allow building DC with clang on LoongArch
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 disable DC_FP by default.
The help message is also updated.
Tested-by: Rui Wang <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c')
0 files changed, 0 insertions, 0 deletions