mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
fbecef1316
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: 57692c94dc
("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
11 lines
290 B
Plaintext
11 lines
290 B
Plaintext
config DRM_V3D
|
|
tristate "Broadcom V3D 3.x and newer"
|
|
depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST
|
|
depends on DRM
|
|
depends on COMMON_CLK
|
|
depends on MMU
|
|
select DRM_SCHED
|
|
help
|
|
Choose this option if you have a system that has a Broadcom
|
|
V3D 3.x or newer GPU, such as BCM7268.
|