Commit 7e53c284 authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Daniel Vetter

drm: fix MMU dependencies

DRM_VM and DRM_LEGACY shouldn't be selected if MMU isn't set.

Fixes: 62a0d98a ("drm: allow to use mmuless SoC")
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1484211456-5759-1-git-send-email-benjamin.gaignard@linaro.org
parent f5c5d57a
...@@ -138,7 +138,7 @@ config DRM_KMS_CMA_HELPER ...@@ -138,7 +138,7 @@ config DRM_KMS_CMA_HELPER
config DRM_VM config DRM_VM
bool bool
depends on DRM depends on DRM && MMU
source "drivers/gpu/drm/i2c/Kconfig" source "drivers/gpu/drm/i2c/Kconfig"
...@@ -267,7 +267,7 @@ source "drivers/gpu/drm/meson/Kconfig" ...@@ -267,7 +267,7 @@ source "drivers/gpu/drm/meson/Kconfig"
menuconfig DRM_LEGACY menuconfig DRM_LEGACY
bool "Enable legacy drivers (DANGEROUS)" bool "Enable legacy drivers (DANGEROUS)"
depends on DRM depends on DRM && MMU
select DRM_VM select DRM_VM
help help
Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment