imx6q VPU support

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

imx6q VPU support

跳至解决方案
673 次查看
flobro
Contributor III

we are "stuck" with Linux 4.9.175 kernel with iMX6q and are looking for a solution for VPU video decoding. I see that there is a VPU driver in the kernel,  but I assume that more support is needed for doing a simple decode.

 

Questions: Do I need CONFIG_MXC_GPU_VIV with CONFIG_MXC_VPU? 

I cannot seem to get the CONFIG_MXC_GPU_VIV to stick in menuconfig (I save it, then go back in and it is disabled...)

 

 

Thanks in advance.

标签 (1)
标记 (3)
0 项奖励
1 解答
660 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

If you are using mainline kernel version, you may need porting VPU driver from kernel we release.

https://github.com/nxp-imx/linux-imx/tree/rel_imx_4.9.88_2.0.0_ga/drivers/mxc

 

在原帖中查看解决方案

0 项奖励
4 回复数
656 次查看
flobro
Contributor III

Thank you for the reply. I will try that.

The current code I have seems to lock up the kernel as soon as the module loads.

0 项奖励
661 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

If you are using mainline kernel version, you may need porting VPU driver from kernel we release.

https://github.com/nxp-imx/linux-imx/tree/rel_imx_4.9.88_2.0.0_ga/drivers/mxc

 

0 项奖励
626 次查看
flobro
Contributor III
I managed to get the imxvpudec driver(s) working with gstreamer to decode video files to jpeg/png frames. The only issue is there seems to be no support for "videorate' (maybe due to no timestamps in the video) - so the issue is speed.
0 项奖励
649 次查看
flobro
Contributor III

Anyone know of a simple VPU decoder test? (does it use vpuwrap, or some other library)...

0 项奖励