IMX53 rotate

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

IMX53 rotate

跳至解决方案
4,120 次查看
woutervh
Contributor IV

I have some 1920x1080 screens attached by LVDS to a IMX53 platform. These needs to be rotated by 90 or 180°.

I'd prefere to do this in kernel space because I don't want the user to bother about the screen orientation.

Where do I start?

标签 (3)
1 解答
3,345 次查看
VladanJovanovic
NXP Employee
NXP Employee

In Linux BSP documentation package there's a document named "imx5x_IPU_LIB_UG.pdf". It describes IPU API and how you can use IPU to perform these functions accelerated by HW.

Usually your application will need to generate frame to a buffer of XxY size, and then you'd use IPU to rotate it to YxX framebuffer. So a small plugin is usually required to integrate to an existing app.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,346 次查看
VladanJovanovic
NXP Employee
NXP Employee

In Linux BSP documentation package there's a document named "imx5x_IPU_LIB_UG.pdf". It describes IPU API and how you can use IPU to perform these functions accelerated by HW.

Usually your application will need to generate frame to a buffer of XxY size, and then you'd use IPU to rotate it to YxX framebuffer. So a small plugin is usually required to integrate to an existing app.

0 项奖励
回复
3,345 次查看
woutervh
Contributor IV

Yes, but I want it in kernel, so that the user/app/whatever doesn't need to use the IPU api...

0 项奖励
回复
3,345 次查看
Noel_V
Contributor III

Hi wouter,

I'm in the need for rotating the FRAME buffer on the IMx53 .

Did you succeed in rotating ( so that bootup shows a correct display)?

Any pacthes requried ?

Regards

Noel

0 项奖励
回复
3,345 次查看
Philip_FSL
Contributor IV

The user side library sits on top of kernel ioctl calls.  You should be able to replicate the functionality kernel side that calls the IPU kernel driver functions directly.