mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Tyr buffer objects are shmem-backed, so the driver should use drm::gem::shmem::Object<BoData> as its GEM object type instead of the base drm::gem::Object<BoData> type. Switching to the shmem GEM object type matches how Tyr allocates and manages its buffer objects, and uses the shmem-specific GEM abstraction provided by the DRM Rust bindings. Select RUST_DRM_GEM_SHMEM_HELPER to ensure the required helpers are available when DRM_TYR is enabled. Signed-off-by: Alvin Sun <alvin.sun@linux.dev> Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Link: https://patch.msgid.link/20260428-fw-boot-prerequisites-v1-3-c69af9abe1af@collabora.com Signed-off-by: Alice Ryhl <aliceryhl@google.com>
22 lines
697 B
Plaintext
22 lines
697 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 !GENERIC_ATOMIC64 # for IOMMU_IO_PGTABLE_LPAE
|
|
depends on COMMON_CLK
|
|
default n
|
|
select RUST_DRM_GEM_SHMEM_HELPER
|
|
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.
|