drm/amd/display: Allow building DC with clang on RISC-V
authorSamuel Holland <samuel.holland@sifive.com>
Mon, 17 Jul 2023 22:29:23 +0000 (15:29 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jul 2023 20:52:25 +0000 (16:52 -0400)
commit6f7cd0371ea79df29791fd56df64b516041d4633
treee5adec65bc27400213ee8a00db68c4e8b68f8962
parenta6a69a12841cb7bec60bcc1bc0e1ad4ae1ce48cd
drm/amd/display: Allow building DC with clang on RISC-V

clang on RISC-V appears to be unaffected by the bug causing excessive
stack usage in calculate_bandwidth(). clang 16 with -fstack-usage
reports a 304 byte stack frame size with CONFIG_ARCH_RV32I, and 512
bytes with CONFIG_ARCH_RV64I.

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/Kconfig