xref: /openbmc/linux/drivers/gpu/drm/mediatek/Kconfig (revision ec8f24b7)
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
5119f5173SCK Hu	depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
6851da9acSArnd Bergmann	depends on COMMON_CLK
7306d674aSArnd Bergmann	depends on HAVE_ARM_SMCCC
8b5db361eSArnd Bergmann	depends on OF
9119f5173SCK Hu	select DRM_GEM_CMA_HELPER
10119f5173SCK Hu	select DRM_KMS_HELPER
112e54c14eSCK Hu	select DRM_MIPI_DSI
122e54c14eSCK Hu	select DRM_PANEL
13119f5173SCK Hu	select MEMORY
14119f5173SCK Hu	select MTK_SMI
1572ac6969SSatendra Singh Thakur	select VIDEOMODE_HELPERS
16119f5173SCK Hu	help
17119f5173SCK Hu	  Choose this option if you have a Mediatek SoCs.
18119f5173SCK Hu	  The module will be called mediatek-drm
19119f5173SCK Hu	  This driver provides kernel mode setting and
20119f5173SCK Hu	  buffer management to userspace.
218f83f268SJie Qiu
228f83f268SJie Qiuconfig DRM_MEDIATEK_HDMI
238f83f268SJie Qiu	tristate "DRM HDMI Support for Mediatek SoCs"
248f83f268SJie Qiu	depends on DRM_MEDIATEK
258f83f268SJie Qiu	select SND_SOC_HDMI_CODEC if SND_SOC
268f83f268SJie Qiu	select GENERIC_PHY
278f83f268SJie Qiu	help
288f83f268SJie Qiu	  DRM/KMS HDMI driver for Mediatek SoCs
29