Skip to content

Commit cdc96b8

Browse files
WangYuliopsiff
authored andcommitted
drm/amd/display: Fix RISC-V FP configuration in Kconfig
Commit 4652ae7 ("drm/amd/display: Rename DCN config to FP") renamed DCN config to FP. Consolidate DRM_AMD_DC_FP selection logic by moving RISCV && FPU condition from separate DRM_AMD_DC_DCN selection to the main DRM_AMD_DC_FP conditional statement. Fixes: 75e7464 ("drm/amd/display: Support DRM_AMD_DC_FP on RISC-V") Reported-by: Yukari Chiba <[email protected]> Suggested-by: Han Gao <[email protected]> Signed-off-by: WangYuli <[email protected]>
1 parent 21f827b commit cdc96b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/display/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ config DRM_AMD_DC
88
depends on BROKEN || !CC_IS_CLANG || ARM64 || RISCV || SPARC64 || X86_64
99
select SND_HDA_COMPONENT if SND_HDA_CORE
1010
# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
11-
select DRM_AMD_DC_FP if (X86 || LOONGARCH || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
12-
select DRM_AMD_DC_DCN if RISCV && FPU
11+
select DRM_AMD_DC_FP if (X86 || LOONGARCH || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG) || (RISCV && FPU))
1312
help
1413
Choose this option if you want to use the new display engine
1514
support for AMDGPU. This adds required support for Vega and

0 commit comments

Comments
 (0)