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.
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)
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,
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.
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.