Limits on hardware usage on IMX8MP: GPU, ISP and NPU

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

Limits on hardware usage on IMX8MP: GPU, ISP and NPU

Jump to solution
446 Views
r3gl0
Contributor II

Hi, I have a bit of a strange questions, but here it goes:

-Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?

-I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?

Tags (3)
0 Kudos
Reply
1 Solution
408 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?

-->Yes, you can get image buffer from V4L2 with DMABUF, and then import it to GLES/Vulkan or OpenCL to post-process. For GPU demo , please refer here: https://github.com/nxp-imx/gtec-demo-framework/tree/master/DemoApps

I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?

--> This is not possible. The OpenVX is used for machine learning, not generic GPU.

Best Regards,
Zhiming

View solution in original post

0 Kudos
Reply
1 Reply
409 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Is it possible to take an image from the ISP, send it directly to the GPU for post-processing, and then return the result to the CPU to be used in a regular application?

-->Yes, you can get image buffer from V4L2 with DMABUF, and then import it to GLES/Vulkan or OpenCL to post-process. For GPU demo , please refer here: https://github.com/nxp-imx/gtec-demo-framework/tree/master/DemoApps

I noticed that the NPU on the i.MX8MP supports OpenVX. Does this mean I can program it and use it as a sort of secondary GPU?

--> This is not possible. The OpenVX is used for machine learning, not generic GPU.

Best Regards,
Zhiming

0 Kudos
Reply