I am using a iMX8M mini EVK + LVDS panel (with a SN65DSI83 bridge). The panel has a hactive of 1024 and vactive of 600
I see the following in the logs
01-01 00:00:15.032 3130 3130 W display : mode.width = 1024 px
01-01 00:00:15.032 3130 3130 W display : mode.height = 600 px
What I need to do is rotate the display so that the longer edge is the height and shorter edge is the width? Can I get some help to identify the changes needed in both Linux and if needed Android to make the system always display content with height 1024 and width 600?
I have tried using the steps here
which shows no change.
I tried using fbcon:rotate=1 which did not work (Also saw later that the imx8m reference manual mentions fb is no longer used "Frame buffer drivers are supported for i.MX 6 and i.MX 7 but not for i.MX 8")
I have spent a week look at different combinations so any pointers would be very helpful.
Does anyone have any ideas here?
I was able to use SurfaceFlinger to perform the rotation but I am still hoping to get something in the Kernel so that the rotation is performed during the boot up stage as well.
You can rotate the display by changing the weston.in file, as in the example below:
root@imx8mmevk:~# cat /etc/xdg/weston/weston.ini
# i.MX: Disable idle timeout
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
Thanks for the reply. That file does not exist on the system.
Also I would need a way to do this as part of the code/build so that once it is deployed the change takes effect at boot itself.
One other data point
When I try this command on the MIPI display it rotates fine
content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1
This same command on the LVDS version has no effect.