]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/exynos: add CONFIG_MMU dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 9 Jul 2019 12:08:48 +0000 (21:08 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 2 Aug 2019 06:28:47 +0000 (15:28 +0900)
commitd6f25bd9d4079165ea90f12d71e06d1dca83cd86
tree452f333c28d37931a312d99c63ce5b2ccd9114da
parent59d431746f1b3c76fd551b71241d7fdce38a58e9
drm/exynos: add CONFIG_MMU dependency

Compile-testing this driver on a NOMMU configuration shows a link failure:

drivers/gpu/drm/exynos/exynos_drm_gem.o: In function `exynos_drm_gem_fault':
exynos_drm_gem.c:(.text+0x484): undefined reference to `vmf_insert_mixed'

Add a CONFIG_MMU dependency to ensure we only enable this in configurations
that build correctly.

Many other drm drivers have the same dependency. It would be nice to
make this work in MMU-less configurations, but evidently nobody has
ever needed this so far.

Fixes: 156bdac99061 ("drm/exynos: trigger build of all modules")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Inki Dae <daeinki@gmail.com>
drivers/gpu/drm/exynos/Kconfig