mesa: add vc4 driver support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 7 Apr 2016 19:03:39 +0000 (16:03 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 7 Apr 2016 19:46:23 +0000 (21:46 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mesa3d/Config.in
package/mesa3d/mesa3d.mk

index 8f6ab75c6b96e3215ea6ba75ca54a9e52494a752..a87f53d76a82e20cc0784541f9b024458bd6524d 100644 (file)
@@ -79,6 +79,16 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
          This is a software opengl implementation using the Gallium3D
          infrastructure.
 
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
+       bool "Gallium vc4 driver"
+       depends on BR2_arm
+       select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+       select BR2_PACKAGE_LIBDRM_VC4
+       select BR2_PACKAGE_MESA3D_NEEDS_XA
+       help
+         Driver for Broadcom VC4 (rpi2/3) GPUs.
+         It requires a vanilla 4.5+ kernel with drm vc4 (open) support.
+
 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL
        bool "Gallium virgl driver"
        select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
index 292935e388a3fef385ab7425c190768ddc3d1b62..b5677f988c7b26e794c0b7dd15e0620ca9c95e82 100644 (file)
@@ -65,6 +65,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU)  += nouveau
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600)     += r600
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA)     += svga
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST)   += swrast
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4)      += vc4
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL)    += virgl
 # DRI Drivers
 MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST) += swrast