Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. config DRM_MEDIATEK
  2. tristate "DRM Support for Mediatek SoCs"
  3. depends on DRM
  4. depends on COMMON_CLK
  5. depends on HAVE_ARM_SMCCC
  6. depends on OF
  7. select DRM_GEM_CMA_HELPER
  8. select DRM_KMS_HELPER
  9. select DRM_MIPI_DSI
  10. select DRM_PANEL
  11. select MEMORY
  12. select MTK_SMI
  13. select FONT_SUPPORT
  14. select GENERIC_PHY
  15. help
  16. Choose this option if you have a Mediatek SoCs.
  17. The module will be called mediatek-drm
  18. This driver provides kernel mode setting and
  19. buffer management to userspace.
  20. config DRM_MEDIATEK_HDMI
  21. tristate "DRM HDMI Support for Mediatek SoCs"
  22. depends on DRM_MEDIATEK
  23. select SND_SOC_HDMI_CODEC if SND_SOC
  24. select GENERIC_PHY
  25. help
  26. DRM/KMS HDMI driver for Mediatek SoCs
  27. config MTK_PQ_COLOR_MODE
  28. string "Config PQ_COLOR_MODE (MDP & DISP COLOR on/off)"
  29. default "DISP"
  30. help
  31. This control mdp color on/off and disp color on/off
  32. if value equals to DISP, only display color is on.
  33. if value equals to MDP, only mdp color is on.
  34. if value equals to DISP_MDP, mdp and display color are both on.
  35. if value equals to OFF, mdp and display color are both off.
  36. config DRM_MTK_SHADOW_REGISTER_SUPPORT
  37. bool "DRM shadow register Support for Mediatek SoCs"
  38. depends on DRM_MEDIATEK
  39. help
  40. DRM shadow register Support for Mediatek SoCs.
  41. define CONFIG_DRM_MTK_SHADOW_REGISTER_SUPPORT to
  42. enable Shadow Register on display.
  43. This feature will de-risk configuration time shortage.
  44. If you want to use Shadow Register on display,
  45. please make sure it is Y in xxx_defconfig.
  46. This feature depends on Mediatek SoCs HW spec.
  47. If unsure, set N.
  48. config DRM_MTK_DISABLE_AEE_LAYER
  49. bool "Disable AEE Layer for the customer who don't want to produce AEE"
  50. help
  51. Disable AEE Layer if you do not want to produce AEE.
  52. Default Mediatek SoCs will produce AEE when exception occurred.
  53. if this value is y, will not produce AEE.
  54. if this value is n, will produce AEE.
  55. If you do not produce AEE, please set it to Y in xxx_defconfig.