mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:19:57 +07:00
306d674a2d
ARM SMCCC is only set for ARMv7 and ARMv8 CPUs, but we currently
allow the driver to be build for older architecture levels as
well, which results in a link failure:
drivers/gpu/built-in.o: In function `mtk_hdmi_hw_make_reg_writable':
:(.text+0x1e737c): undefined reference to `arm_smccc_smc'
This adds a Kconfig dependency. The patch applies on my two
previous fixes that are not yet applied, so please apply all
three to get randconfig builds to work correctly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8f83f26891
("drm/mediatek: Add HDMI support")
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
27 lines
699 B
Plaintext
27 lines
699 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
|
|
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
|