]> git.baikalelectronics.ru Git - kernel.git/commit
drm/v3d: add CONFIG_MMU dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 May 2018 15:50:12 +0000 (17:50 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 30 May 2018 19:15:18 +0000 (12:15 -0700)
commit9302396c4b1805ba62584c55cd554ba51efefbe7
tree4cbd9c7c83c83bee420393c199700b3b78d262c8
parentdd0c75ac23092b73dac50d52eec9f4ca8b12bccf
drm/v3d: add CONFIG_MMU dependency

Without CONFIG_MMU, we get a link error:

drivers/gpu/drm/v3d/v3d_bo.o: In function `v3d_gem_fault':
v3d_bo.c:(.text+0x3ca): undefined reference to `vm_insert_mixed'

The other drivers with this problem already depend on CONFIG_MMU,
so let's do the same thing here.

Fixes: 1cc8c2fdf9bb ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180525155030.3667352-5-arnd@arndb.de
drivers/gpu/drm/v3d/Kconfig