Tyr, a new Rust DRM driver targeting CSF-based ARM Mali GPUs
10 months ago
- #Rust
- #Linux Kernel
- #GPU Drivers
- Introduction of Tyr, a new Rust-based DRM driver for CSF-based Arm Mali GPUs, developed by Collabora, Arm, and Google.
- Tyr is a port of the mature C-based Panthor driver, aiming to eventually implement the same userspace API for compatibility with PanVK, Collabora's Vulkan driver.
- The development of Tyr is part of the Rust-for-Linux initiative, marking Collabora's formal participation in advancing Rust within the kernel community.
- Tyr's development is currently ahead in a downstream branch, allowing faster prototyping and testing of components not yet supported upstream.
- The initial upstream submission of Tyr can power up the GPU and probe the device on an RK3588 SoC, with more functionality pending MCU support.
- Upcoming blog posts will detail Tyr's inner workings, GPU driver development on Linux, and Mali's CSF architecture.
- Collabora's strategy involves submitting small parts of Tyr upstream iteratively to evolve alongside other Rust GPU drivers and engage the community in development.