Rotate MIPI dsi display in i.MX8M

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Rotate MIPI dsi display in i.MX8M

4,146件の閲覧回数
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,432件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello,

Are you using Android or Yocto?

Best Regards,

Diego.

0 件の賞賛
返信

2,746件の閲覧回数
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,987件の閲覧回数
Few
Contributor I

Are there any information with android?

0 件の賞賛
返信

3,432件の閲覧回数
yashavanthashet
Contributor V

Hi Diego,

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

Thanks and Regards,

Yashavantha

0 件の賞賛
返信

3,432件の閲覧回数
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,432件の閲覧回数
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,432件の閲覧回数
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,432件の閲覧回数
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,432件の閲覧回数
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,432件の閲覧回数
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 件の賞賛
返信