The team behind Tyr started 2025 with little to show in our quest to produce a Rust GPU driver for Arm Mali hardware, and by the end of the year, we were able to play SuperTuxKart (a 3D open-source racing game) at the Linux Plumbers Conference (LPC). Our prototype was a joint effort between Arm, Collabora, and Google; it ran well for the duration of the event, and the performance was more than adequate for players. Thankfully, we picked up steam at precisely the right moment: Dave Airlie just announced in the Maintainers Summit that the DRM subsystem is only "about a year away" from disallowing new drivers written in C and requiring the use of Rust. Now it is time to lay out a possible roadmap for 2026 in order to upstream all of this work.
Tyr团队在2025年初几乎没有成果,但我们的目标是为Arm Mali硬件开发一个Rust GPU驱动。到年底,我们已经能够在Linux Plumbers Conference(LPC)上运行SuperTuxKart(一款3D开源赛车游戏)。我们的原型是Arm、Collabora和Google的联合努力;在活动期间运行良好,性能对玩家来说绰绰有余。幸运的是,我们在正确的时机获得了动力:Dave Airlie在Maintainers Summit上宣布,DRM子系统大约“一年后”将禁止新驱动使用C语言编写,并要求使用Rust。现在是时候为2026年制定可能的上游路线图了。
What are we trying to accomplish with Tyr?
Miguel Ojeda's talk at LPC this year summarized where Rust is being used in the Linux kernel, with drivers like the anonymous shared memory subsystem for Android (ashmem) quickly being rolled out to millions of users. Given Mali's extensive market share in the phone market, supporting this segment is a natural aspiration for Tyr, followed by other embedded platforms where Mali is also present. In parallel, we must not lose track of upstream, as the objective is to evolve together with the Nova Rust GPU driver and ensure that the ecosystem will be useful for any new drivers that might come in the future. The prototype was meant to prove that a Rust driver for Arm Mali could come to fruition with acceptable performance, but now we should iterate on the code and refactor it as needed. This will allow us to learn from our mistakes and settle on a design that is appropriate for an upstream driver.
Tyr希望实现什么目标?
Miguel Ojeda在今年的LPC上总结了Rust在Linux内核中的应用,例如Android的匿名共享内存子系统(ashmem)驱动迅速部署到了数百万用户。考虑到Mali在手机市场的广泛占有率,支持这一市场是Tyr的自然目标,随后是其他同样使用Mali的嵌入式平台。同时,我们不能忽视上游工作,目标是与Nova Rust GPU驱动共同演进,并确保生态系统对未来可能出现的新驱动依然有用。原型的目的是证明Arm Mali的Rust驱动可以实现,并具有可接受的性能,但现在我们应该对代码进行迭代和重构,从错误中学习,并确定适合上游的设计。
What is there, and what is not
A version of the Tyr driver was merged for the 6.18 kernel release, but it is not capable of much, as a few key Rust abstractions are missing. The downstream branch (the parts of Tyr not yet in the mainline kernel) is where we house our latest prototype; it is working well enough to run desktop environments and games, e
1万+




被折叠的 条评论
为什么被折叠?



