XDC 2022 |  KUnit sorcery and the uncanny nature of FPU in the DRM | I. Basso & M. Canal & M. Lemes @XOrgFoundation
XDC 2022 |  KUnit sorcery and the uncanny nature of FPU in the DRM | I. Basso & M. Canal & M. Lemes  @XOrgFoundation
Uploaded October 2022 | Updated December 2026, 3 hours ago
Talk by: Isabella Basso & Maíra Canal & Magali Lemes
X.Org Developers Conference 2022

indico.freedesktop.org/event/2/contributions/65

It's very easy for Linux kernel driver maintainers to build strongholds around their code, as it's very difficult for the lay contributor to understand unusual macros or code that's often not properly documented and assumed to be only edited by "experts". As this is often the case with DRM drivers, we propose the adoption of KUnit as a tool not only for making such code more reliable, but also for making it more approachable as unit tests provide a simple and elegant way of finding exactly which piece of code has been broken. We explore this magic tool's adoption in the context of AMD's jarring DML submodule and how we can turn it from a spooky piece of code to a more friendly face.

#xdc #kernel #linux #testing #kunit
XDC 2022 |  KUnit sorcery and the uncanny nature of FPU in the DRM | I. Basso & M. Canal & M. LemesXDC 2024 | Lightning talksXDC 2026 | Apple M3 GPU reverse engineering progress -  Anna Maniscalco, Alyssa Milburn, Evan TangXDC 2022 | introduction to isaspec |  Rob ClarkXDC 2023 | October 19 | To crash or not to crash: if you do, at least recover fast! | G.G. PiccoliXDC 2024 | CoC Team: Processes, Guidelines, Oversight - Sima Vetter et al.XDC 2023 | October 17 | Improving the Worlds Slowest Raytracer | Friedrich VockXDC 2026 | Kraid: A new compiler for Panfrost -  Lorenzo Rossi, Faith Ekstrand, Christoph PillmayerXDC 2022 | Worlds Slowest Raytracer | Bas NieuwenhuizenXDC 2023 | October 17 | Opening Session | Samuel Iglesias GonsalvezXDC 2025 | PanVK: from PoC to Vulkan 1.4 in less than a year - Lars-Ivar Simonsen, Erik Faye-LundXDC 2026 | Bringing Linux DRM Display Panel support in the modern age - Neil Armstrong
X.Org Foundation |

XDC 2022 | KUnit sorcery and the uncanny nature of FPU in the DRM | I. Basso & M. Canal & M. Lemes

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER