Rotate MIPI dsi display in i.MX8M

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

Rotate MIPI dsi display in i.MX8M

3,854 次查看
yashavanthashet
Contributor V

Hi,

We are using i.MX8M custom board with Raydium rm6820 mipi-dsi display.
Display is working fine with using dcss, but the display output is rotated to 180 degree. Needs to hold the display upside down to see the proper GUI.

So kindly let us know how to rotate the mipi-dsi(dcss) output to 180 degree.

Thanks in advance.

Reagrds,

Yashavantha

10 回复数

3,140 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

Are you using Android or Yocto?

Best Regards,

Diego.

0 项奖励
回复

2,454 次查看
maxime_guillot
Contributor III

Hello @diegoadrian ,

I have the same issue with this chip but in Android world.

Do you have a solution to rotate it by 180°?

Thank you

0 项奖励
回复

1,695 次查看
Few
Contributor I

Are there any information with android?

0 项奖励
回复

3,140 次查看
yashavanthashet
Contributor V

Hi Diego,

We are using "fsl-yocto-L4.9.51_mx8mq-ga" yocto release.

Thanks and Regards,

Yashavantha

0 项奖励
回复

3,140 次查看
gary_bisson
Senior Contributor III

Hi,

Then you can modify /etc/xdg/weston/weston.ini to have:

[output]
name=HDMI-A-1
mode=1920x1080@60
transform=90

(assuming you are using HDMI, for MIPI the name would be DSI-1)

Regards,

Gary

3,140 次查看
yashavanthashet
Contributor V

Hi Gary,

Thank you for your reply.

There is no any file with that name in that location,

Thanks and Regards,

Yashavantha

0 项奖励
回复

3,140 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

You can create the file with the configuration that Gary mentioned and it should work.

Best Regards,

Diego.

0 项奖励
回复

3,140 次查看
yashavanthashet
Contributor V

Hi,

The solution given by Gary is working, but only after loading GUI. Linux logo and open embedded logo still remains upside down only.

Is there any solution which makes display rotation from controller side only, so that even linux and open embedded logos looks proper?

Thanks and Regards,

Yashavantha

0 项奖励
回复

3,140 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, is impossible with the weston.ini file, since this process is not initialized at that level. For that, you will need to create a patch for the u-boot and for the kernel that could change the display orientation at that level.

Hope this can help you.

Best Regards,

Diego.

3,140 次查看
yashavanthashet
Contributor V

Hi,

With the above changes only display orientation changes, but if we want to test touch 'we have to touch the default place of icon (without rotation position) itself.

Before rotation terminal icon was in bottom right corner, after rotation it went to top left corner. But now if i want to open terminal icon, i have to touch in bottom right itself, not in top left corner.

Regards,

Yashavantha

0 项奖励
回复