Skip to contentSkip to conversation

package/mesa3d: select vc4 driver for gallium v3d

Buildroot Arnout Vandecappelle (Essensium/Mind) 1 participant 1 message Jan 9, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=bcf114234b00a07d45de63f7321fd47a66ed4c43
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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.

---
 package/mesa3d/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mesa3d/Config.in +1 -1
index 7c3a1beff3..c01f12529a 100644
@@ -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).

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot