The code for a new subsystem "accel" with a framework for accelerators has been accepted into the DRM-Next branch, which is set to be included in the Linux 6.2 kernel. This subsystem is built on DRM/KMS, as developers have already split the GPU view into independent components, including "graphics output" and "compute" aspects, allowing the subsystem to work with display controllers without a computation block, as well as computation blocks without their own display controller, such as the ARM Mali GPU, which is essentially an accelerator.
These abstractions were close enough to what is needed for a more generalized implementation of computing accelerator support, so it was decided to extend the computation subsystem and rename it to "accel," as some supported devices are not GPUs. For example, Intel, which acquired Habana Labs, is interested in using this subsystem for machine learning accelerators.
Source: opennet.ru
