From patchwork Fri Jun 27 14:19:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65759 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6A7BC77B7F for ; Fri, 27 Jun 2025 14:19:27 +0000 (UTC) Received: from smtp-bc08.mail.infomaniak.ch (smtp-bc08.mail.infomaniak.ch [45.157.188.8]) by mx.groups.io with SMTP id smtpd.web11.14936.1751033963025491108 for ; Fri, 27 Jun 2025 07:19:23 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 45.157.188.8, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk13HFdzpHd; Fri, 27 Jun 2025 16:19:21 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk073vyz4MP; Fri, 27 Jun 2025 16:19:20 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:12 +0200 Subject: [meta-rockchip PATCH v3 1/6] mesa: remove kmsro from PACKAGECONFIG MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-1-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1713 From: Quentin Schulz Mesa has dropped[1] support for a separate kmsro option to the gallium-drivers. It is therefore not necessary to pass it to PACKAGECONFIG anymore, especially since the kmsro PACKAGECONFIG doesn't exit in the mesa recipe anymore[2]. [1] https://gitlab.freedesktop.org/mesa/mesa/-/commit/89863a050bea429d9574a307bc28953bb60accaf [2] https://git.openembedded.org/openembedded-core/commit/?id=3d9ec347e651e05d0246a8723ca4038bb1f5b765 Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 00cc15c6221c9bce0a1299fc81b63996744a2279..e0b38ce4d0cea913ea1ecafd43d42bb909a312fa 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,6 +1,6 @@ -PACKAGECONFIG:append:rk3288 = " kmsro panfrost" -PACKAGECONFIG:append:rk3328 = " kmsro lima" -PACKAGECONFIG:append:rk3399 = " kmsro panfrost" -PACKAGECONFIG:append:rk3566 = " kmsro panfrost" -PACKAGECONFIG:append:rk3568 = " kmsro panfrost" -PACKAGECONFIG:append:px30 = " kmsro panfrost" +PACKAGECONFIG:append:rk3288 = " panfrost" +PACKAGECONFIG:append:rk3328 = " lima" +PACKAGECONFIG:append:rk3399 = " panfrost" +PACKAGECONFIG:append:rk3566 = " panfrost" +PACKAGECONFIG:append:rk3568 = " panfrost" +PACKAGECONFIG:append:px30 = " panfrost" From patchwork Fri Jun 27 14:19:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65760 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2778C7EE3A for ; Fri, 27 Jun 2025 14:19:27 +0000 (UTC) Received: from smtp-1908.mail.infomaniak.ch (smtp-1908.mail.infomaniak.ch [185.125.25.8]) by mx.groups.io with SMTP id smtpd.web11.14938.1751033963590423486 for ; Fri, 27 Jun 2025 07:19:23 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 185.125.25.8, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk172lYz5b6; Fri, 27 Jun 2025 16:19:21 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk13YyCz3JC; Fri, 27 Jun 2025 16:19:21 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:13 +0200 Subject: [meta-rockchip PATCH v3 2/6] mesa: add libclc to PACKAGECONFIG for Panfrost-supported SoCs MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-2-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz , Trevor Woerner X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1714 From: Quentin Schulz Panfrost mesa drivers do not compile without libclc support anymore, I assume since commit 20970bcd9652 ("panfrost: Add base of OpenCL C infrastructure") merged in 25.1.0. So this adds the missing libclc PACKAGECONFIG to Panfrost-supported SoCs. Note that mesa recipe in OE-Core will be updated to not build panfrost if libclc PACKAGECONFIG is missing. Reported-by: Trevor Woerner Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index e0b38ce4d0cea913ea1ecafd43d42bb909a312fa..507e2fae98e9d98cc6999586564d68af5abd4c0d 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,6 +1,6 @@ -PACKAGECONFIG:append:rk3288 = " panfrost" +PACKAGECONFIG:append:rk3288 = " libclc panfrost" PACKAGECONFIG:append:rk3328 = " lima" -PACKAGECONFIG:append:rk3399 = " panfrost" -PACKAGECONFIG:append:rk3566 = " panfrost" -PACKAGECONFIG:append:rk3568 = " panfrost" -PACKAGECONFIG:append:px30 = " panfrost" +PACKAGECONFIG:append:rk3399 = " libclc panfrost" +PACKAGECONFIG:append:rk3566 = " libclc panfrost" +PACKAGECONFIG:append:rk3568 = " libclc panfrost" +PACKAGECONFIG:append:px30 = " libclc panfrost" From patchwork Fri Jun 27 14:19:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0878EC83013 for ; Fri, 27 Jun 2025 14:19:28 +0000 (UTC) Received: from smtp-190a.mail.infomaniak.ch (smtp-190a.mail.infomaniak.ch [185.125.25.10]) by mx.groups.io with SMTP id smtpd.web11.14939.1751033964097477781 for ; Fri, 27 Jun 2025 07:19:24 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 185.125.25.10, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk23krTzy8; Fri, 27 Jun 2025 16:19:22 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk20trXz3C7; Fri, 27 Jun 2025 16:19:22 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:14 +0200 Subject: [meta-rockchip PATCH v3 3/6] mesa: enable lima for RK3066 boards MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-3-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:28 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1715 From: Quentin Schulz lima is the the open-source implementation for the GPU found on RK3066, the Mali 400, so let's enable it for RK3066 boards by default. Not tested. Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 507e2fae98e9d98cc6999586564d68af5abd4c0d..19f0072b61178d71642da4afc9e56880b102069e 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,3 +1,4 @@ +PACKAGECONFIG:append:rk3066 = " lima" PACKAGECONFIG:append:rk3288 = " libclc panfrost" PACKAGECONFIG:append:rk3328 = " lima" PACKAGECONFIG:append:rk3399 = " libclc panfrost" From patchwork Fri Jun 27 14:19:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8457C7EE32 for ; Fri, 27 Jun 2025 14:19:27 +0000 (UTC) Received: from smtp-42ac.mail.infomaniak.ch (smtp-42ac.mail.infomaniak.ch [84.16.66.172]) by mx.groups.io with SMTP id smtpd.web11.14940.1751033964397585105 for ; Fri, 27 Jun 2025 07:19:24 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 84.16.66.172, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk306rsz20c; Fri, 27 Jun 2025 16:19:23 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk24S9sz4GW; Fri, 27 Jun 2025 16:19:22 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:15 +0200 Subject: [meta-rockchip PATCH v3 4/6] mesa: enable lima for RK3188 boards MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-4-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1716 From: Quentin Schulz lima is the the open-source implementation for the GPU found on RK3188, the Mali 400, so let's enable it for RK3188 boards by default. Not tested. Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 19f0072b61178d71642da4afc9e56880b102069e..1057e114b7569cc9ac841cd0c6818ac7f6c3827c 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,4 +1,5 @@ PACKAGECONFIG:append:rk3066 = " lima" +PACKAGECONFIG:append:rk3188 = " lima" PACKAGECONFIG:append:rk3288 = " libclc panfrost" PACKAGECONFIG:append:rk3328 = " lima" PACKAGECONFIG:append:rk3399 = " libclc panfrost" From patchwork Fri Jun 27 14:19:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65758 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECB1CC7EE31 for ; Fri, 27 Jun 2025 14:19:27 +0000 (UTC) Received: from smtp-42ac.mail.infomaniak.ch (smtp-42ac.mail.infomaniak.ch [84.16.66.172]) by mx.groups.io with SMTP id smtpd.web10.14916.1751033964985466308 for ; Fri, 27 Jun 2025 07:19:25 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 84.16.66.172, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk33khbz3bR; Fri, 27 Jun 2025 16:19:23 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk311X6z2NC; Fri, 27 Jun 2025 16:19:23 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:16 +0200 Subject: [meta-rockchip PATCH v3 5/6] mesa: rework bbappend to default to panfrost MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-5-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:27 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1717 From: Quentin Schulz Let's assume most Rockchip SoCs to come will be based on an Arm Mali GPU supported by Panfrost so let's always add panfrost drivers to mesa. Make the Mali-400/450 SoC such as RK3066, RK3188 and RK3328 use lima instead. Finally, do not add any mesa mali (panfrost or lima) driver for GPU-less SoC like RK3308. This will allow to not need to touch this recipe every time we add support for a new SoC with GPU supported by Mesa Panfrost. This also **almost** brings support for the GPU found on RK3588. Note that some GPUs (gen10; Valhall; Panthor; like on RK3588) still require additional firmware (CSFFW). Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 1057e114b7569cc9ac841cd0c6818ac7f6c3827c..50d62b8ac50afe1712dfa03f479d120acc3e4199 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -1,8 +1,11 @@ -PACKAGECONFIG:append:rk3066 = " lima" -PACKAGECONFIG:append:rk3188 = " lima" -PACKAGECONFIG:append:rk3288 = " libclc panfrost" -PACKAGECONFIG:append:rk3328 = " lima" -PACKAGECONFIG:append:rk3399 = " libclc panfrost" -PACKAGECONFIG:append:rk3566 = " libclc panfrost" -PACKAGECONFIG:append:rk3568 = " libclc panfrost" -PACKAGECONFIG:append:px30 = " libclc panfrost" +MALI_DRIVER = "panfrost" +# MALI 400 +MALI_DRIVER:rk3066 = "lima" +MALI_DRIVER:rk3188 = "lima" +# MALI 450 +MALI_DRIVER:rk3328 = "lima" +# No GPU +MALI_DRIVER:rk3308 = "" + +PACKAGECONFIG:append:rockchip = " ${@bb.utils.filter('MALI_DRIVER', 'lima panfrost', d)}" +PACKAGECONFIG:append:rockchip = "${@bb.utils.contains('MALI_DRIVER', 'panfrost', ' libclc', '', d)}" From patchwork Fri Jun 27 14:19:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 65763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1592EC83010 for ; Fri, 27 Jun 2025 14:19:28 +0000 (UTC) Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) by mx.groups.io with SMTP id smtpd.web11.14941.1751033965490238427 for ; Fri, 27 Jun 2025 07:19:25 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: 0leil.net, ip: 84.16.66.168, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4bTHk36r3Rz34S; Fri, 27 Jun 2025 16:19:23 +0200 (CEST) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4bTHk33yMpz4Cw; Fri, 27 Jun 2025 16:19:23 +0200 (CEST) From: Quentin Schulz Date: Fri, 27 Jun 2025 16:19:17 +0200 Subject: [meta-rockchip PATCH v3 6/6] mesa: add support for RK3588(S) MIME-Version: 1.0 Message-Id: <20250627-mesa-panthor-v3-6-798c24a9eef3@cherry.de> References: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> In-Reply-To: <20250627-mesa-panthor-v3-0-798c24a9eef3@cherry.de> To: yocto-patches@lists.yoctoproject.org Cc: Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 14:19:28 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1718 From: Quentin Schulz The Mali G610 found in the RK3588(S) SoC still requires a blob coming from a linux-firmware package to work. Therefore, recommend that package when building mesa for rk3588(s). Signed-off-by: Quentin Schulz --- recipes-graphics/mesa/mesa.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-graphics/mesa/mesa.bbappend b/recipes-graphics/mesa/mesa.bbappend index 50d62b8ac50afe1712dfa03f479d120acc3e4199..d9e7c082fc6be6812b3376496434c4ee823b6f65 100644 --- a/recipes-graphics/mesa/mesa.bbappend +++ b/recipes-graphics/mesa/mesa.bbappend @@ -9,3 +9,6 @@ MALI_DRIVER:rk3308 = "" PACKAGECONFIG:append:rockchip = " ${@bb.utils.filter('MALI_DRIVER', 'lima panfrost', d)}" PACKAGECONFIG:append:rockchip = "${@bb.utils.contains('MALI_DRIVER', 'panfrost', ' libclc', '', d)}" + +# Mali Gen10 (Valhall, supported by Panthor) requires a firmware blob +RRECOMMENDS:mesa-megadriver:append:rk3588s = " linux-firmware-mali-csffw-arch108"