From patchwork Fri Nov 1 18:57:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 2005262 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xg9BT3B0Jz1xy1 for ; Sat, 2 Nov 2024 05:58:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id DBCBD605A6; Fri, 1 Nov 2024 18:58:55 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id swK0pGhyTeRf; Fri, 1 Nov 2024 18:58:55 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org EEE1260686 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id EEE1260686; Fri, 1 Nov 2024 18:58:54 +0000 (UTC) X-Original-To: buildroot@buildroot.org Delivered-To: buildroot@buildroot.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 548D827E1 for ; Fri, 1 Nov 2024 18:58:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4FD49404C2 for ; Fri, 1 Nov 2024 18:58:54 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id M1ORW4wR66RE for ; Fri, 1 Nov 2024 18:58:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 6119540281 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 6119540281 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6119540281 for ; Fri, 1 Nov 2024 18:58:53 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a02c6.dip0.t-ipconnect.de [91.58.2.198]) by dd20012.kasserver.com (Postfix) with ESMTPSA id C68EAA4C2430; Fri, 1 Nov 2024 19:57:59 +0100 (CET) Received: from bruckner.lan.fli4l ([192.168.1.1]:36440) by fli4l.lan.fli4l with esmtp (Exim 4.98) (envelope-from ) id 1t6wqN-000000002yP-0Jss; Fri, 01 Nov 2024 18:57:59 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 1 Nov 2024 19:57:57 +0100 Message-Id: <20241101185758.729921-5-bernd@kuhls.net> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241101185758.729921-1-bernd@kuhls.net> References: <20241101185758.729921-1-bernd@kuhls.net> MIME-Version: 1.0 X-Spamd-Bar: ++ X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202406071026; t=1730487479; bh=xyPPfS8qSU3Tfx47dUoumRO+c7lrljFMxAgq2VjnLxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xyt0cyI5ruBXTv5oRdIb3sc44ut5LV3Kh496eg89WosDPd07QG60AuwEr8OsgoRqk 1ozQLEOVAOP5Ekleqk9jm6sPIjV5tX20NDTy7K0JMwZkmxg4lRpQUPcmcGsiYWq8JJ NCjvCeRueNjFsF1iMD8kN0LXLZcnnwLQBvvO1zCKh1hEmXMjG8hn+Q4LThvtetk8k/ Ln/JOndP6bzjgJ+CStjI5656Iy5QjYGnC2cRxXj6O434YZoGIpS12lM3bZo8sVX6Cr vhO1nEWNWM271VsnWyJPTSyfKSNsENVz1mpqMS+YgiwUuE3fHgJ75HyadNObDTgpWs yxQZMmbpswYKA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202406071026 header.b=Xyt0cyI5 Subject: [Buildroot] [PATCH 6/6] package/mesa3d: add option to enable VIRTIO vulkan driver X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Daniel Lang , Romain Naour , "Yann E . MORIN" , Valentin Korenblit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Alex Bennée The support for Venus in MESA has been stable since 23.2 so add an option to enable it. Signed-off-by: Alex Bennée Signed-off-by: Bernd Kuhls --- package/mesa3d/Config.in | 6 ++++++ package/mesa3d/mesa3d.mk | 1 + 2 files changed, 7 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 2cd72490bd..86a69a0acd 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -334,6 +334,12 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST help Vulkan swrast driver. +config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_VIRTIO + bool "Vulkan VirtIO driver (Venus)" + select BR2_PACKAGE_MESA3D_VULKAN_DRIVER + help + Vulkan VirtIO (venus) driver. + comment "Off-screen Rendering" config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 3d19930c8f..8b4b217a27 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -115,6 +115,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM) += broadcom MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST) += swrast +MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_VIRTIO) += virtio ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),) MESA3D_CONF_OPTS += \