package/mesa3d: select vc4 driver for gallium v3d

Although the Gallium V3D driver for RPi4 can be built independently, in
practice the accelaration doesn't work unless the VC4 driver is also
enabled.

Select VC4 automatically when V3D is selected.

Signed-off-by: Howard Mitchell <hm@hmbedded.co.uk>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Howard Mitchell 2020-03-06 09:25:03 +00:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4e36e8f208
commit bcf114234b

View File

@ -262,7 +262,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence
select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
select BR2_PACKAGE_LIBDRM_VC4
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime
select BR2_PACKAGE_MESA3D_OPENGL_EGL
help
Driver for Broadcom VC6 (rpi4) GPUs (needs vc4).