mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 16:36:58 +07:00
72ac696903
This patch uses existing method drm_display_mode_to_videomode for calculating front/back porches, sync lengths for mediatek dsi/dpi drivers; instead of manually calculating them Signed-off-by: Satendra Singh Thakur <thakursatendra2003@yahoo.co.in> Signed-off-by: CK Hu <ck.hu@mediatek.com>
28 lines
725 B
Plaintext
28 lines
725 B
Plaintext
config DRM_MEDIATEK
|
|
tristate "DRM Support for Mediatek SoCs"
|
|
depends on DRM
|
|
depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
|
|
depends on COMMON_CLK
|
|
depends on HAVE_ARM_SMCCC
|
|
depends on OF
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
select MEMORY
|
|
select MTK_SMI
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have a Mediatek SoCs.
|
|
The module will be called mediatek-drm
|
|
This driver provides kernel mode setting and
|
|
buffer management to userspace.
|
|
|
|
config DRM_MEDIATEK_HDMI
|
|
tristate "DRM HDMI Support for Mediatek SoCs"
|
|
depends on DRM_MEDIATEK
|
|
select SND_SOC_HDMI_CODEC if SND_SOC
|
|
select GENERIC_PHY
|
|
help
|
|
DRM/KMS HDMI driver for Mediatek SoCs
|