package/linux-firmware: add option to install ARM Mali CSF firmwares

Arm Mali GPUs that belong to the 10th generation of the hardware
architecture need a binary firmware to implement the full
specification.

For the panthor kernel driver to be able to execute jobs on the GPU it
needs this firmware.

Signed-off-by: Andy Yan <andyshrk@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Andy Yan
2024-06-28 20:17:40 +08:00
committed by Thomas Petazzoni
parent bb19ffeaab
commit 94d4ab11fe
2 changed files with 15 additions and 0 deletions

View File

@@ -691,4 +691,14 @@ config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_ATOMISP
endmenu
menu "GPU Firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_ARM_MALI_CSF
bool "Arm Mali CSF firmware"
help
Firmware files for Arm Mali 10th generation GPU
needed by the linux panthor kernel driver.
endmenu
endif

View File

@@ -897,6 +897,11 @@ LINUX_FIRMWARE_FILES += intel/ipu/shisp_2401a0_v21.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.ivsc
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ARM_MALI_CSF),y)
LINUX_FIRMWARE_FILES += arm/mali/arch*/mali_csffw.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.mali_csffw
endif
ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
define LINUX_FIRMWARE_BUILD_CMDS