Kconfig 2.0 KB

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