[Buildroot] [git commit] package/glslsandbox-player: add mali-t76x support
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Sep 5 14:03:51 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=7744f8f35035e411026838515121c925235a46e1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
mali-t76x frame buffer driver requires a "null" native windowing
system. With such a system, the default EGL display is selected.
Fixes:
http://autobuild.buildroot.net/results/4a579346463d0d946d6d2a05723270135d728981
Signed-off-by: Julien Olivain <ju.o at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/glslsandbox-player/Config.in | 5 +++++
package/glslsandbox-player/glslsandbox-player.mk | 3 +++
2 files changed, 8 insertions(+)
diff --git a/package/glslsandbox-player/Config.in b/package/glslsandbox-player/Config.in
index dc0d2c07f1..8ab668d260 100644
--- a/package/glslsandbox-player/Config.in
+++ b/package/glslsandbox-player/Config.in
@@ -56,6 +56,7 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS
choice
prompt "Native windowing system"
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI if BR2_PACKAGE_SUNXI_MALI_MAINLINE
+ default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X if BR2_PACKAGE_MALI_T76X
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI if BR2_PACKAGE_RPI_USERLAND
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 if BR2_PACKAGE_SDL2_OPENGLES
default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM
@@ -73,6 +74,10 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI
bool "Allwinner ARM/Mali Frame Buffer"
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE
+config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X
+ bool "ARM/Mali T76x Frame Buffer"
+ depends on BR2_PACKAGE_MALI_T76X
+
config BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI
bool "RaspberryPI Frame Buffer"
depends on BR2_PACKAGE_RPI_USERLAND
diff --git a/package/glslsandbox-player/glslsandbox-player.mk b/package/glslsandbox-player/glslsandbox-player.mk
index 341b939110..1578608a42 100644
--- a/package/glslsandbox-player/glslsandbox-player.mk
+++ b/package/glslsandbox-player/glslsandbox-player.mk
@@ -44,6 +44,9 @@ GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-mainline
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali
+else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X),y)
+GLSLSANDBOX_PLAYER_DEPENDENCIES += mali-t76x
+GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws
else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI),y)
GLSLSANDBOX_PLAYER_DEPENDENCIES += rpi-userland
GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=rpi
More information about the buildroot
mailing list