diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-09 21:08:48 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2019-08-02 15:28:47 +0900 |
commit | d6f25bd9d4079165ea90f12d71e06d1dca83cd86 (patch) | |
tree | 452f333c28d37931a312d99c63ce5b2ccd9114da /drivers/gpu/drm | |
parent | 59d431746f1b3c76fd551b71241d7fdce38a58e9 (diff) | |
download | linux-stable-d6f25bd9d4079165ea90f12d71e06d1dca83cd86.tar.gz linux-stable-d6f25bd9d4079165ea90f12d71e06d1dca83cd86.tar.bz2 linux-stable-d6f25bd9d4079165ea90f12d71e06d1dca83cd86.zip |
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/exynos/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 60ce4a8ad9e1..6f7d3b3b3628 100644 --- a/drivers/gpu/drm/exynos/Kconfig +++ b/drivers/gpu/drm/exynos/Kconfig @@ -2,6 +2,7 @@ config DRM_EXYNOS tristate "DRM Support for Samsung SoC EXYNOS Series" depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST) + depends on MMU select DRM_KMS_HELPER select VIDEOMODE_HELPERS select SND_SOC_HDMI_CODEC if SND_SOC |