Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCHv2] package/mesa3d: vc4 backend is an EGL provider
@ 2017-08-13 13:05 Yann E. MORIN
  2017-08-16 21:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2017-08-13 13:05 UTC (permalink / raw)
  To: buildroot

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 <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>

---
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(+)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index ad41b1cd2a..13c118ee68 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -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.
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-16 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-13 13:05 [Buildroot] [PATCHv2] package/mesa3d: vc4 backend is an EGL provider Yann E. MORIN
2017-08-16 21:13 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox