meta-rockchip/recipes-graphics/mesa/mesa.bbappend
Quentin Schulz 696c2b69c1 mesa: add support for RK3588(S)
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).

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
2025-07-03 15:28:12 -04:00

15 lines
509 B
Plaintext

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)}"
# Mali Gen10 (Valhall, supported by Panthor) requires a firmware blob
RRECOMMENDS:mesa-megadriver:append:rk3588s = " linux-firmware-mali-csffw-arch108"