package/mesa3d: vc4 backend is an EGL provider
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 Aug 2017 13:05:29 +0000 (15:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Aug 2017 21:13:22 +0000 (23:13 +0200)
The VC4 GPU does not support full GL, it only provides EGL.

Currently, it is possible to build the VC4 backend without EGL support,
but that does not make sense in the slighest.

So, forcibly enable EGL with VC4, like is done for etnaviv and virgl.

Reported-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mesa3d/Config.in

index ad41b1cd2aa7cb615f97feead549377f6cee234f..13c118ee68b48872c87e1eb5e8f8fb93656df339 100644 (file)
@@ -102,6 +102,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
        select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
        select BR2_PACKAGE_LIBDRM_VC4
        select BR2_PACKAGE_MESA3D_NEEDS_XA
+       select BR2_PACKAGE_MESA3D_OPENGL_EGL
        help
          Driver for Broadcom VC4 (rpi2/3) GPUs.
          It requires a vanilla 4.5+ kernel with drm vc4 (open) support.