xref: /linux/drivers/gpu/drm/mediatek/Kconfig (revision e0daef7de1acecdb64c1fa31abc06529abb98710)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2119f5173SCK Huconfig DRM_MEDIATEK
3119f5173SCK Hu	tristate "DRM Support for Mediatek SoCs"
4119f5173SCK Hu	depends on DRM
5*89115aeeSChen-Yu Tsai	depends on ARCH_MEDIATEK || COMPILE_TEST
6851da9acSArnd Bergmann	depends on COMMON_CLK
7d2db0b8fSVille Syrjälä	depends on HAVE_ARM_SMCCC || COMPILE_TEST
8b5db361eSArnd Bergmann	depends on OF
9c79484f6SYueHaibing	depends on MTK_MMSYS
106dc1f816SThomas Zimmermann	select DRM_CLIENT_SELECTION
1197370f8eSChen-Yu Tsai	select DRM_GEM_DMA_HELPER if DRM_FBDEV_EMULATION
12119f5173SCK Hu	select DRM_KMS_HELPER
139da7ec9bSDmitry Baryshkov	select DRM_DISPLAY_HELPER
149da7ec9bSDmitry Baryshkov	select DRM_BRIDGE_CONNECTOR
152e54c14eSCK Hu	select DRM_MIPI_DSI
162e54c14eSCK Hu	select DRM_PANEL
1772ac6969SSatendra Singh Thakur	select VIDEOMODE_HELPERS
18119f5173SCK Hu	help
19119f5173SCK Hu	  Choose this option if you have a Mediatek SoCs.
20119f5173SCK Hu	  The module will be called mediatek-drm
21119f5173SCK Hu	  This driver provides kernel mode setting and
22119f5173SCK Hu	  buffer management to userspace.
238f83f268SJie Qiu
24f70ac097SMarkus Schneider-Pargmannconfig DRM_MEDIATEK_DP
25f70ac097SMarkus Schneider-Pargmann	tristate "DRM DPTX Support for MediaTek SoCs"
26f70ac097SMarkus Schneider-Pargmann	depends on DRM_MEDIATEK
2705b8b6ddSGeert Uytterhoeven	select DRM_DISPLAY_HELPER
287fe302aeSGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
291e0b9b44SGeert Uytterhoeven	select DRM_DISPLAY_DP_AUX_BUS
30f70ac097SMarkus Schneider-Pargmann	help
31f70ac097SMarkus Schneider-Pargmann	  DRM/KMS Display Port driver for MediaTek SoCs.
32f70ac097SMarkus Schneider-Pargmann
338f83f268SJie Qiuconfig DRM_MEDIATEK_HDMI
348f83f268SJie Qiu	tristate "DRM HDMI Support for Mediatek SoCs"
358f83f268SJie Qiu	depends on DRM_MEDIATEK
368f83f268SJie Qiu	select SND_SOC_HDMI_CODEC if SND_SOC
378f83f268SJie Qiu	help
388f83f268SJie Qiu	  DRM/KMS HDMI driver for Mediatek SoCs
39