imx8mp NPU required kernel driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp NPU required kernel driver

1,305 Views
arno_0
Contributor III

Would like to know what is the minimum kernel driver that is needed to get the NPU running.

Reading the documents IMXMLUG (Machine Learning) it mentiones a "unified GPU/NPU driver" with no further details.  And in IMXGRAPHICUG (imx Graphics) the NPU is not mentioned at all. That is why I am asking what is minimum driver set needed? I do have a headless system - no graphical output.

Can you tell me what options to choose in kernel config (minimum) to enable the acceleration by the NPU?

A second question is about the attached image (IMXMLUG Figure 3): What is the advantage of XNNPACK delegate over the direct access. Seems that direct access using NEON and XNNPACK CPU (floating point). Does it mean that direct way is faster but less precise?

Tags (4)
0 Kudos
1 Reply

1,274 Views
arno_0
Contributor III

So far it looks as it is located in drivers/mxc. But for sure not all is needed. Can you tell me what to focus on? I figured out that part creates once init by kernel a /dev/galcore, right?

Same about the devicetree - what is needed to enable?

0 Kudos