mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 01:52:03 +02:00
Add a firmware module to load, parse, and map the MCU firmware sections into shared GEM memory at the required virtual addresses accessible by the GPU. Create a firmware instance during probe and store it inside the TyrDrmRegistrationData to keep it alive after probe. Use the firmware instance to boot the MCU. Remove the dead-code annotations from the MMU, VM, slot manager, and kernel BO code now that these paths are used by the firmware module. Update Kconfig to add the RUST_FW_LOADER_ABSTRACTIONS dependency required by this module. Co-developed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Link: https://patch.msgid.link/20260728-fw-boot-b4-v10-7-9187aefa3f2f@collabora.com Signed-off-by: Alice Ryhl <aliceryhl@google.com>
27 lines
828 B
Plaintext
27 lines
828 B
Plaintext
# SPDX-License-Identifier: GPL-2.0 or MIT
|
|
|
|
config DRM_TYR
|
|
tristate "Tyr (Rust DRM support for ARM Mali CSF-based GPUs)"
|
|
depends on DRM=y
|
|
depends on RUST
|
|
depends on ARM || ARM64 || COMPILE_TEST
|
|
depends on MMU
|
|
depends on !GENERIC_ATOMIC64 # for IOMMU_IO_PGTABLE_LPAE
|
|
depends on COMMON_CLK
|
|
depends on IOMMU_SUPPORT
|
|
default n
|
|
select IOMMU_IO_PGTABLE_LPAE
|
|
select RUST_DRM_GEM_SHMEM_HELPER
|
|
select RUST_DRM_GPUVM
|
|
select RUST_FW_LOADER_ABSTRACTIONS
|
|
help
|
|
Rust DRM driver for ARM Mali CSF-based GPUs.
|
|
|
|
This driver is for Mali (or Immortalis) Valhall Gxxx GPUs.
|
|
|
|
Note that the Mali-G68 and Mali-G78, while Valhall architecture, will
|
|
be supported with the panfrost driver as they are not CSF GPUs.
|
|
|
|
if M is selected, the module will be called tyr. This driver is work
|
|
in progress and may not be functional.
|