Quote:

Originally Posted by

Fair enough, I didn't check whenever this symbol is further referenced. Moreover, in MIPI DCS language, 'inverted' refers to 'color-inverted' display, not 'orientation-inverted'.

So I got curious, and took the DTSi file for the panel and the patch to enable the closely related S6E3FA0 panel on Exynos (never made it upstream), and decoded the `qcom,mdss-dsi-on-command` sequence, since it seems the best place to insert a command to rotate the display, if it exists; my decoding is below (references https://www.tonylabs.com/wp-content/..._v1.02.00.pdf)







In the MIPI DCS specification, one can control the Device Line Refresh Order:

1155 Bit B4 – Display Device Line Refresh Order

1156 This bit controls the display device’s horizontal line refresh order. The image shown on the display device

1157 is unaffected, regardless of the bit setting.

1158 ‘0’ = Display device is refreshed from the top line to the bottom line

1159 ‘1’ = Display device is refreshed from the bottom line to the top line





Things I would try:

Find Samsung references for the display controller so we can find the undocumented commands below

Use command DCS set_address_mode 36h to flip the display: insert before the last line:





Things I would try:

Find Samsung references for the display controller so we can find the undocumented commands below

Use command DCS set_address_mode 36h to flip the display: insert before the last line:

15 01 00 00 00 00 02 36 10 or



and see what we get on display and if we can change the refresh direction. In worst case, we need to try all values from 00 for FF for the last byte in the command.





Anybody with a unlocked bootloader and time to recompile the kernel to test this ?