diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-25 11:50:12 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-05-30 15:15:18 -0400 |
commit | fbecef131676c1d18e8e6b42c04e10dc49725e96 (patch) | |
tree | 4cbd9c7c83c83bee420393c199700b3b78d262c8 /drivers | |
parent | f619794d716c0615241b73a0a5e78dbc8442de7b (diff) |
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: 57692c94dcbe ("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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/v3d/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/v3d/Kconfig b/drivers/gpu/drm/v3d/Kconfig index a0c0259355bd..1552bf552c94 100644 --- a/drivers/gpu/drm/v3d/Kconfig +++ b/drivers/gpu/drm/v3d/Kconfig | |||
@@ -3,6 +3,7 @@ config DRM_V3D | |||
3 | depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST | 3 | depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST |
4 | depends on DRM | 4 | depends on DRM |
5 | depends on COMMON_CLK | 5 | depends on COMMON_CLK |
6 | depends on MMU | ||
6 | select DRM_SCHED | 7 | select DRM_SCHED |
7 | help | 8 | help |
8 | Choose this option if you have a system that has a Broadcom | 9 | Choose this option if you have a system that has a Broadcom |