From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 962EB1584AD for ; Fri, 02 May 2025 01:43:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7C4A7342FFE for ; Fri, 02 May 2025 01:43:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1D8711103AD; Fri, 02 May 2025 01:43:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0730D1103AD for ; Fri, 02 May 2025 01:43:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id B4076342F8C for ; Fri, 02 May 2025 01:43:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10AB0266B for ; Fri, 02 May 2025 01:43:38 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1746150202.23e382acf4f7d75e49bc694f409c92385283632f.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mesa/mesa-9999.ebuild X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 23e382acf4f7d75e49bc694f409c92385283632f X-VCS-Branch: master Date: Fri, 02 May 2025 01:43:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 893768ad-5eda-46a5-a0aa-a1f8640dd278 X-Archives-Hash: f94131cf795fe2594f77ad76814b1fc7 commit: 23e382acf4f7d75e49bc694f409c92385283632f Author: Janne Grunau jannau net> AuthorDate: Thu Apr 24 11:27:07 2025 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri May 2 01:43:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e382ac media-libs/mesa: Enable support for asahi and HoneyKrisp drivers Support for these drivers is avaiable in mesa 25.1.0-rc1 and later. Add support for building them. Signed-off-by: Janne Grunau jannau.net> Closes: https://github.com/gentoo/gentoo/pull/41727 Signed-off-by: Matt Turner gentoo.org> media-libs/mesa/mesa-9999.ebuild | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 4108ce4e7ff0..49829329d08e 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -54,7 +54,7 @@ SLOT="0" RADEON_CARDS="r300 r600 radeon radeonsi" VIDEO_CARDS="${RADEON_CARDS} - d3d12 freedreno intel lavapipe lima nouveau nvk panfrost v3d vc4 virgl + asahi d3d12 freedreno intel lavapipe lima nouveau nvk panfrost v3d vc4 virgl vivante vmware zink" for card in ${VIDEO_CARDS}; do IUSE_VIDEO_CARDS+=" video_cards_${card}" @@ -159,7 +159,7 @@ DEPEND="${RDEPEND} " CLC_DEPSTRING=" - ~dev-util/mesa_clc-${PV}[video_cards_panfrost?] + ~dev-util/mesa_clc-${PV}[video_cards_asahi?,video_cards_panfrost?] llvm-core/libclc[spirv(-)] " BDEPEND=" @@ -177,6 +177,7 @@ BDEPEND=" dev-python/packaging[\${PYTHON_USEDEP}] dev-python/pyyaml[\${PYTHON_USEDEP}] ") + video_cards_asahi? ( ${CLC_DEPSTRING} ) video_cards_intel? ( ${CLC_DEPSTRING} ) video_cards_panfrost? ( ${CLC_DEPSTRING} ) vulkan? ( @@ -216,7 +217,8 @@ src_unpack() { pkg_pretend() { if use vulkan; then - if ! use video_cards_d3d12 && + if ! use video_cards_asahi && + ! use video_cards_d3d12 && ! use video_cards_freedreno && ! use video_cards_intel && ! use video_cards_lavapipe && @@ -226,7 +228,7 @@ pkg_pretend() { ! use video_cards_radeonsi && ! use video_cards_v3d && ! use video_cards_virgl; then - ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, radeonsi, v3d, or virgl" + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain asahi, d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, radeonsi, v3d, or virgl" fi fi @@ -367,6 +369,7 @@ multilib_src_configure() { gallium_enable !llvm softpipe gallium_enable llvm llvmpipe + gallium_enable video_cards_asahi asahi gallium_enable video_cards_d3d12 d3d12 gallium_enable video_cards_freedreno freedreno gallium_enable video_cards_intel crocus i915 iris @@ -398,6 +401,7 @@ multilib_src_configure() { fi if use vulkan; then + vulkan_enable video_cards_asahi asahi vulkan_enable video_cards_d3d12 microsoft-experimental vulkan_enable video_cards_freedreno freedreno vulkan_enable video_cards_intel intel intel_hasvk @@ -435,13 +439,15 @@ multilib_src_configure() { emesonargs+=($(meson_feature video_cards_intel intel-rt)) fi - if use video_cards_intel || + if use video_cards_asahi || + use video_cards_intel || use video_cards_nvk || use video_cards_panfrost; then emesonargs+=(-Dmesa-clc=system) fi - if use video_cards_panfrost; then + if use video_cards_asahi || + use video_cards_panfrost; then emesonargs+=(-Dprecomp-compiler=system) fi