Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator

From: maciej . kwapulinski
Date: Mon Jun 20 2022 - 05:51:47 EST


On Wed, 16 Jun 2021 09:38:14 +0200, Maciej Kwapulinski wrote:
> after consulting, we will try to share api and some kernel code
> between the two drivers.

We prepared a prototype work based on Daniel Vetter’s invitation to
evaluate DRM framework as prospective fit.

Early results look quite promising. Effective leverage of DRM framework for
non GPU driver has been achieved. GNA driver source code turned out to have
been simplified by offloading some areas (device management + memory
regions management).

As a result, GNA driver source code size has been reduced by 15% (420
lines). DRM Framework complexity has not been an issue so far.

Plan for next step is to publish code to dri-devel ML.
Please share your thoughts.

Regards,
Maciej