Skip to content

Commit 306d674

Browse files
arndbpH5
authored andcommitted
drm/mediatek: add ARM_SMCCC dependency
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: 8f83f26 ("drm/mediatek: Add HDMI support") Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent b5db361 commit 306d674

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/mediatek/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ config DRM_MEDIATEK
33
depends on DRM
44
depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
55
depends on COMMON_CLK
6+
depends on HAVE_ARM_SMCCC
67
depends on OF
78
select DRM_GEM_CMA_HELPER
89
select DRM_KMS_HELPER

0 commit comments

Comments
 (0)