How to set DSI panel to landscape mode for TX2

Hi all,
The display is by default in portrait mode, we need to rotate it to the landscape mode.
I use the “panel-s-wuxga-8-0” as the default panel, Jepack version 3.1.
I disable the default Ubuntu desktop, and run my own Qt5 application.
I set the “nvidia,out-rotation” to be 90 in “panel-s-wuxga-8-0.dtsi”,it’not working.
Then i set the “initial_rotation” to be 1 in “fbcon.c”, it seem only the lcd console is landscape mode, my Qt App still portrait mode.

I sincerely appreciate anyone help me.

xilaiwojia,

I believe Xorg does not know your monitor has rotated. Could you try to use xrandr to rotate the monitor 90/270 degree and run Qt App again?

Thank you,I did some modification in Qt open sources, then lcd panel can be landscape.

Could you share your methods to other forum users here?