package/mesa3d: vc4 backend is an EGL provider
PATCH v2 1/1 package/mesa3d: vc4 backend is an EGL provider
The VC4 GPU does not support full GL, it only provides EGL.
Currently, it is possible to build the VC4 backend without ELG support, but that does not make sense in the slighest.
So, forcibly enable EGL with VC4, like is done for etnaviv and virgl.
---
Note:
Currently, as soon as mesa3d and Xorg are both enabled, then we consider that full GL is available. However, that is definitely not the case with the VC4 backend, obviously, as the hardware is not capable of that at all. Fixing this situation is a bigger endeavour, for anotehr patch(set).
---
Changes v1 -> v2:
- enhgance the commit log to explain why we forcibly enable EGL.
--- package/mesa3d/Config.in | 1 + 1 file changed, 1 insertion(+)
package/mesa3d/Config.in +1 -0
@@ -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.
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH v2 1/1 package/mesa3d: vc4 backend is an EGL provider
Hello,
Quoted 12 lines · Yann E. MORIN
The VC4 GPU does not support full GL, it only provides EGL.
Currently, it is possible to build the VC4 backend without ELG 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 <[email protected]>Signed-off-by "Yann E. MORIN" <[email protected]>Cc Bernd Kuhls <[email protected]>Cc Waldemar Brodkorb <[email protected]>
Quoted 6 lines
---
Note:
Currently, as soon as mesa3d and Xorg are both enabled, then we consider that full GL is available. However, that is definitely not the case with the VC4 backend, obviously, as the hardware is not capable of that at all. Fixing this situation is a bigger endeavour, for anotehr patch(set).
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com