From patchwork Fri Sep 3 19:50:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Olivain X-Patchwork-Id: 1524542 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=DpZNVfbe; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@lists.buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H1T2m1ByBz9sCD for ; Sat, 4 Sep 2021 05:52:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 86FD1426BC; Fri, 3 Sep 2021 19:51:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ibmqmvcNmpjF; Fri, 3 Sep 2021 19:51:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id D7963426A6; Fri, 3 Sep 2021 19:51:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4B0E21C115D for ; Fri, 3 Sep 2021 19:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4653983EEC for ; Fri, 3 Sep 2021 19:51:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=free.fr Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7wGvRlII1NKt for ; Fri, 3 Sep 2021 19:51:36 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4C13C83EDA for ; Fri, 3 Sep 2021 19:51:36 +0000 (UTC) Received: from b52572-12.ea.freescale.net.net (unknown [37.165.52.250]) (Authenticated sender: ju.o@free.fr) by smtp1-g21.free.fr (Postfix) with ESMTPSA id C3339B0052C; Fri, 3 Sep 2021 21:51:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1630698692; bh=fKGChuUrIQbwy3ZunNMk91UxfsCHlmMtg4AwNEZkoJs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DpZNVfbeKQljgJiLTULrsEEZnL+qdQp8FX6sLwd6CQ1T4YnC8w2+Ka3Zcbmk4HaG0 +XSbDKC9yy5sBtn7oxUY+7cVZZJ41p22zrZhutha/edgxUlleeDvftKnXLJShWhRKS 7WX2GwtAdwujStaSh4ZYLM0QJu3YgM3tNMBCjLf9bsxxoD4wd777YC0/oB1FN2dr4H 1W7/8Tm6RzFieZbv5rNitZZX/tT28xSi4V/OI8MHF1LDgO+fSehbN95TgC9gmzv82X qRXNxcX3gLvv2C9cipAfpK6/FIb7qUaW/BA7TwnEtvSDxvKweQ1m+jpzWYAW9y0hxC skdAGzYizcV/Q== From: Julien Olivain To: buildroot@buildroot.org Date: Fri, 3 Sep 2021 21:50:20 +0200 Message-Id: <20210903195021.11686-2-ju.o@free.fr> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210903195021.11686-1-ju.o@free.fr> References: <20210903195021.11686-1-ju.o@free.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/glslsandbox-player: add mali-t76x support X-BeenThere: buildroot@lists.buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Julien Olivain Errors-To: buildroot-bounces@lists.buildroot.org Sender: "buildroot" 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 --- 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