From patchwork Sun Aug 11 12:56:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1145316 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 465zXG68khz9sML for ; Sun, 11 Aug 2019 22:57:18 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EA721863B7; Sun, 11 Aug 2019 12:57:15 +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 VNDIKVy5zCzt; Sun, 11 Aug 2019 12:57:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8C27A862E8; Sun, 11 Aug 2019 12:57:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7239D1BF4E5 for ; Sun, 11 Aug 2019 12:57:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6F66B85E06 for ; Sun, 11 Aug 2019 12:57:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pL7KRol_H_7h for ; Sun, 11 Aug 2019 12:57:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2B57985D92 for ; Sun, 11 Aug 2019 12:57:08 +0000 (UTC) Received: from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132]) by mailout06.t-online.de (Postfix) with SMTP id 4D81B418E3A5; Sun, 11 Aug 2019 14:57:06 +0200 (CEST) Received: from fli4l.lan.fli4l (rk9YsrZvQhfKbsZZPV5kypi74GZOvI+Wg8VzAc8PWOJOpZpiyy9F0gCzdZ8fTKuw6R@[84.161.191.122]) by fwd27.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1hwnP9-25B8TY0; Sun, 11 Aug 2019 14:56:59 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:50400) by fli4l.lan.fli4l with esmtp (Exim 4.92.1) (envelope-from ) id 1hwnP9-0003zA-7j; Sun, 11 Aug 2019 14:56:59 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 11 Aug 2019 14:56:52 +0200 Message-Id: <20190811125653.17731-11-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190811125653.17731-1-bernd.kuhls@t-online.de> References: <20190811125653.17731-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: rk9YsrZvQhfKbsZZPV5kypi74GZOvI+Wg8VzAc8PWOJOpZpiyy9F0gCzdZ8fTKuw6R X-TOI-MSGID: f606966c-59ee-49c3-bf72-c1c5429b58e7 Subject: [Buildroot] [PATCH/next v8 11/12] 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 --- v8: added "select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO" (Romain, Erico) v7: initial version package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 3 +++ 2 files changed, 10 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 27ab0dce22..d85c01d1e1 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -111,6 +111,13 @@ 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 + select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO + 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)