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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
452 次查看
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?

标记 (3)
0 项奖励
回复
1 解答
414 次查看
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 项奖励
回复
1 回复
415 次查看
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 项奖励
回复