Re: kernel.org 6.5.4 , NPU driver, --not support (RFC)

From: Jagan Teki
Date: Fri Sep 22 2023 - 05:39:00 EST


On Fri, 22 Sept 2023 at 15:04, Cancan Chang <Cancan.Chang@xxxxxxxxxxx> wrote:
>
> Dear Media Maintainers:
> Thanks for your attention. Before describing my problem,let me introduce to you what I mean by NPU.
> NPU is Neural Processing Unit, It is designed for deep learning acceleration, It is also called TPU, APU ..
>
> The real problems:
> When I was about to upstream my NPU driver codes to linux mainline, i meet two problems:
> 1. According to my research, There is no NPU module path in the linux (base on linux 6.5.4) , I have searched all linux projects and found no organization or comany that has submitted NPU code. Is there a path prepared for NPU driver currently?
> 2. If there is no NPU driver path currently, I am going to put my NPU driver code in the drivers/media/platform/amlogic/ , because my NPU driver belongs to amlogic. and amlogic NPU is mainly used for AI vision applications. Is this plan suitabe for you?

If I'm correct about the discussion with Oded Gabby before. I think
the drivers/accel/ is proper for AI Accelerators including NPU.

+ Oded in case he can comment.

Thanks,
Jagan.