Habana Labs AI Driver Updates Submitted For Linux 5.15
![LINUX KERNEL](/assets/categories/linuxkernel.webp)
The original Habana Labs AI driver code for Linux 5.15 was strongly objected by DRM kernel developers as it was trying to push through DMA-BUF changes without the approval of the DRM developers and at the time also lacking any open-source user-space software.
This morning was the surprise of Habana Labs open-sourcing their LLVM-based AI code compiler and SynapseAI Core. While there is now the open-source user-space code for Habana Labs hardware that goes along with their AI kernel driver, the revised pull request for Linux 5.15 still lacks the DMA-BUF bits.
DRM co-maintainer Daniel Vetter of Intel already commented that the DMA-BUF code should go through the proper review process on the DRI development mailing list. He's also suggesting moving forward to potentially reposition the Habana Labs AI driver under drivers/gpu/habanalabs rather than living within char/misc.
Daniel added, "There's still the problem that we spent the past 2.5 years pissing off a lot of people for an imo questionable political project, bypassing all the technical review and expertise. Now that the political nonsense is resolved I think we need to look at at least the technical cleanup. The angered people are much harder to fix, so let's maybe ignore that (or perhaps a ks topic, no idea, I'm honestly not super motivated to rehash this entire story again)."
Anyhow, today with the new char/misc pull request are the Habana Labs driver changes for Linux 5.15 sans the DMA-BUF bits.
New to this open-source AI acceleration driver in Linux 5.15 is support for firmware reset, support for 64-bit user mappings, the ability to disable huge-page usage, various firmware handling updates, a new wait for multiple command submission user-space API, state dumping support for Gaudi, and a variety of other improvements and fixes.
1 Comment