Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: MIT
  2. # Copyright © 2019-2024 Advanced Micro Devices, Inc. All rights reserved.
  3. menu "Display Engine Configuration"
  4. depends on DRM && DRM_AMDGPU
  5. config DRM_AMD_DC
  6. bool "AMD DC - Enable new display engine"
  7. default y
  8. depends on BROKEN || !CC_IS_CLANG || ARM64 || RISCV || SPARC64 || X86_64
  9. select SND_HDA_COMPONENT if SND_HDA_CORE
  10. # !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
  11. select DRM_AMD_DC_FP if ARCH_HAS_KERNEL_FPU_SUPPORT && !(CC_IS_CLANG && (ARM64 || RISCV))
  12. help
  13. Choose this option if you want to use the new display engine
  14. support for AMDGPU. This adds required support for Vega and
  15. Raven ASICs.
  16. calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64)
  17. architectures built with Clang (all released versions), whereby the stack
  18. frame gets blown up to well over 5k. This would cause an immediate kernel
  19. panic on most architectures. We'll revert this when the following bug report
  20. has been resolved: https://github.com/llvm/llvm-project/issues/41896.
  21. config DRM_AMD_DC_FP
  22. def_bool n
  23. help
  24. Floating point support, required for DCN-based SoCs
  25. config DRM_AMD_DC_SI
  26. bool "AMD DC support for Southern Islands ASICs"
  27. depends on DRM_AMDGPU_SI
  28. depends on DRM_AMD_DC
  29. help
  30. Choose this option to enable new AMD DC support for SI asics
  31. by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
  32. Hainan is not supported by AMD DC and it has no physical DCE6.
  33. config DEBUG_KERNEL_DC
  34. bool "Enable kgdb break in DC"
  35. depends on DRM_AMD_DC
  36. depends on KGDB
  37. help
  38. Choose this option if you want to hit kdgb_break in assert.
  39. config DRM_AMD_SECURE_DISPLAY
  40. bool "Enable secure display support"
  41. depends on DEBUG_FS
  42. depends on DRM_AMD_DC_FP
  43. help
  44. Choose this option if you want to support secure display
  45. This option enables the calculation of crc of specific region via
  46. debugfs. Cooperate with specific DMCU FW.
  47. endmenu