All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip PATCH v3 0/6] mesa: build fixes, refactoring and adding support for RK3588(s), RK3066, RK3188
@ 2025-06-27 14:19 Quentin Schulz
  2025-06-27 14:19 ` [meta-rockchip PATCH v3 1/6] mesa: remove kmsro from PACKAGECONFIG Quentin Schulz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Quentin Schulz @ 2025-06-27 14:19 UTC (permalink / raw)
  To: yocto-patches; +Cc: Quentin Schulz, Trevor Woerner

This removes now unneeded kmsro PACKAGECONFIG as mesa dropped it (as
well as OE-Core's recipe).

The Panfrost drivers currently do not compile anymore due to a missing
libclc PACKAGECONFIG dependency so this adds the libclc to the
Panfrost-supported SoCs.

This refactors a bit the bbappend to hopefully require a bit less
maintenance with newer SoCs with most assumed to be supported by
Panfrost mesa drivers.

This enables (untested) support for lima mesa driver on RK3066 and
RK3188.

Finally, this enables Panthor support for RK3588(S).

Panthor is the open-source implementation for the Arm GPU Valhall series
both in the Linux kernel and Mesa userspace. In the latter, the panfrost
"driver" is actually handling this version of the Arm GPU. One therefore
needs to enable panfrost in PACKAGECONFIG to be able to use this
open-source implementation.

The open-source implementation still requires a proprietary blob which
is running on the GPU: mali_csffw.bin. Note that the closed-source
implementation (libmali and vendor kernel drivers) also requires this
blob.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Changes in v3:
- added now-required libclc dependency for panfrost,
- added support for RK3066 and RK3188 (though untested)
- refactored bbappend to default to panfrost unless specified otherwise,
- Link to v2: https://lore.kernel.org/r/20250415-mesa-panthor-v2-0-a7850d0091fe@cherry.de

Changes in v2:
- rebased on top of master with mesa 25.0 update merged
- added patch 3 which removes kmsro from PACKAGECONFIG as it's now
  unnecessary,
- Link to v1: https://lore.kernel.org/r/20240531-mesa-panthor-v1-0-8cfb4d17ad3a@cherry.de

---
Quentin Schulz (6):
      mesa: remove kmsro from PACKAGECONFIG
      mesa: add libclc to PACKAGECONFIG for Panfrost-supported SoCs
      mesa: enable lima for RK3066 boards
      mesa: enable lima for RK3188 boards
      mesa: rework bbappend to default to panfrost
      mesa: add support for RK3588(S)

 recipes-graphics/mesa/mesa.bbappend | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
base-commit: d01077165243de983e2d12c9e75e9818bdbb5a4d
change-id: 20240531-mesa-panthor-9c31ca1aa31f

Best regards,
-- 
Quentin Schulz <quentin.schulz@cherry.de>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-07-03 19:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 14:19 [meta-rockchip PATCH v3 0/6] mesa: build fixes, refactoring and adding support for RK3588(s), RK3066, RK3188 Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 1/6] mesa: remove kmsro from PACKAGECONFIG Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 2/6] mesa: add libclc to PACKAGECONFIG for Panfrost-supported SoCs Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 3/6] mesa: enable lima for RK3066 boards Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 4/6] mesa: enable lima for RK3188 boards Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 5/6] mesa: rework bbappend to default to panfrost Quentin Schulz
2025-06-27 14:19 ` [meta-rockchip PATCH v3 6/6] mesa: add support for RK3588(S) Quentin Schulz
2025-07-03 19:33 ` [meta-rockchip PATCH v3 0/6] mesa: build fixes, refactoring and adding support for RK3588(s), RK3066, RK3188 Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.