Tyr: a new Rust GPU driver
summary
Tyr is a new Rust kernel‑mode GPU driver for ARM Mali (tested on the G16) that implements IO‑MMU mappings, DRM VM and buffer management, CSF microcontroller boot/command submission plumbing, DMA‑fence sync and a scheduler so user space can upload command buffers. A downstream prototype boots GNOME and runs Firefox, drives games with similar frame rates to the C driver and has proven APIs that avoid unsafe where possible, but upstream boot of the firmware MCU is blocked by early memory allocation gaps.
AI-written summary · about
chapters (8)
- 0:00Introduction to the project
- 0:57GPU driver fundamentals
- 4:37User vs kernel mode drivers
- 10:32Kernel driver architecture
- 12:06CSF job submission
- 14:09Rust abstractions
- 17:11Future development plans
- 20:04Live demo and Q&A
related talks
39mTyr: A New Rust GPU Driver for the Linux Kernel
12mLightning Talk: Rust Will Solve All Your Problems, Possibly. Arm’s Journey to Using...
47mEverything Awesome about GPU Drivers
30mPanfrost: Open Source meets Arm Mali GPUs
39mFrom C to Rust: Bringing Rust Abstractions to Embedded Linux
39mOverview of a Modern DRM Driver
38mConverting a DRM driver to Rust
40mKeynote: Kernel Developer Roundtable
