AMD submits Linux kernel driver patches for Versal AI Engine arrays
AMD has posted a 15-patch series for a Linux kernel driver for the AI Engine array in Versal devices. The series targets only Versal Gen 2 and is under review.
AMD posted a 15-patch series to the dri-devel mailing list on 18 November that adds a Linux kernel driver for the AI Engine array in its Versal devices. The driver sits in the kernel’s accel subsystem for compute accelerators. According to AMD’s cover letter (the primary source), the series targets only Versal Gen 2.
The cover letter explains that some AI Engine registers, such as resets and tile clock gating, can be written only by trusted firmware. The driver therefore passes these operations to the platform firmware. Ten of the patches change firmware and clock drivers. AMD says this posting differs considerably from one it sent a little over a year ago.
Why it matters
A driver in the mainline kernel would be maintained with the kernel itself, which helps teams on long-term-support distributions. The patches are still under review and may change, so do not plan around them yet.