From patchwork Sun Aug 11 10:38:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1145276 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 465wTP5TlKz9sN6 for ; Sun, 11 Aug 2019 20:39:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 717AA87852; Sun, 11 Aug 2019 10:39:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IvUT5Dx+xqPE; Sun, 11 Aug 2019 10:39:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D92A8783F; Sun, 11 Aug 2019 10:39:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B7B7A1BF574 for ; Sun, 11 Aug 2019 10:39:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B081A81B72 for ; Sun, 11 Aug 2019 10:39:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7pOKpiSRg5TN for ; Sun, 11 Aug 2019 10:39:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by whitealder.osuosl.org (Postfix) with ESMTPS id 46F62830FD for ; Sun, 11 Aug 2019 10:39:20 +0000 (UTC) Received: from fwd36.aul.t-online.de (fwd36.aul.t-online.de [172.20.26.137]) by mailout03.t-online.de (Postfix) with SMTP id 6C9E942168C9; Sun, 11 Aug 2019 12:39:18 +0200 (CEST) Received: from fli4l.lan.fli4l (VgQ8m8ZeQhKIkyQQgGmgpewTn5G4cOxvpOiIsFWwnn0Qt2RY2n2MxMIbsneE2X0ZdT@[84.161.191.122]) by fwd36.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1hwlFr-49q6EK0; Sun, 11 Aug 2019 12:39:15 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:49050) by fli4l.lan.fli4l with esmtp (Exim 4.92.1) (envelope-from ) id 1hwlFq-00064d-Ek; Sun, 11 Aug 2019 12:39:14 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 11 Aug 2019 12:38:59 +0200 Message-Id: <20190811103859.4841-11-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190811103859.4841-1-bernd.kuhls@t-online.de> References: <20190811103859.4841-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: VgQ8m8ZeQhKIkyQQgGmgpewTn5G4cOxvpOiIsFWwnn0Qt2RY2n2MxMIbsneE2X0ZdT X-TOI-MSGID: 7673109c-9d78-476e-b8db-433475090fcc Subject: [Buildroot] [PATCH v7 11/11] package/mesa3d: add support for gallium lima driver X-BeenThere: buildroot@busybox.net 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: Spenser Gilliland , =?utf-8?q?Andr=C3=A9_Hen?= =?utf-8?q?tschel?= , Romain Naour , Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" More infos can be found here: https://gitlab.freedesktop.org/lima/web/wikis/home Signed-off-by: Bernd Kuhls --- v7: initial version package/mesa3d/Config.in | 6 ++++++ package/mesa3d/mesa3d.mk | 3 +++ 2 files changed, 9 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 27ab0dce22..b8a143368d 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -111,6 +111,12 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO comment "Gallium KMSRO needs one or more renderonly drivers" depends on !BR2_PACKAGE_MESA3D_GALLIUM_KMSRO +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA + bool "Gallium lima driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + Mesa driver for ARM Mali Utgard GPUs. + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU bool "Gallium nouveau driver" depends on BR2_i386 || BR2_x86_64 diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 1497659202..80abd392ba 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -86,6 +86,7 @@ endif #Gallium Drivers MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) += r600 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi @@ -172,6 +173,8 @@ else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4),y) MESA3D_PLATFORMS = drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y) MESA3D_PLATFORMS = drm +else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA),y) +MESA3D_PLATFORMS = drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL),y) MESA3D_PLATFORMS = drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI),y)