| # 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. |