Intel VPU Driver Adapted To Linux's New Accelerator Framework

Written by Michael Larabel in Intel on 8 December 2022 at 03:22 PM EST. 1 Comment
INTEL
Going back to the summer Intel posted their initial open-source Linux driver for their Versatile Processing Unit "VPU" debuting with Meteor Lake. Since then they have continued refining this open-source VPU Linux driver and with the latest patch series have adapted it to make use of the new accelerator framework/subsystem premiering in Linux 6.2.

Linux 6.2 is set to introduce the new "accel" accelerator subsystem and framework intended to be the new common area in the kernel for AI accelerators and similar devices. As outlined in prior articles, this accelerator subsystem/framework re-uses common elements from the Direct Rendering Manager (DRM) subsystem given all that is in common between today's accelerators and graphics processors. DMA-BUF and plenty of DRM interfaces fit in well into the accelerator scope and so this new accel area should work out nicely. It also works out better than tossing some drivers into "char/misc" as was one of the areas for accelerator drivers to this point.


The Intel Versatile Processing Unit (not to be confused with Video Processing Unit) is being introduced with Meteor Lake CPUs.


With the accel subsystem queued for introduction in Linux 6.2, Intel's Habana Labs driver is in the process of being adapted from char/misc to the new framework -- after all, Habana Labs kernel driver maintainer Oded Gabbay was instrumental in bringing together this new subsystem.

Now Intel's VPU driver for Meteor Lake has also been adapted to jive with the new accel code. The Intel VPU v4 patch series posted today has switched over to using the accel framework as well as making various other low-level code improvements.


The Versatile Processing Unit with Meteor Lake is a CPU-integrated inference accelerator to be used for Computer Vision (CV) and deep learning software.

The Intel VPU driver is still undergoing review and isn't expected to be merged until post-6.2 at some point likely in 2023. Those interested can see the v4 patches for the other latest changes to this new accelerator block for 14th Gen Core CPUs.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week