I am testing the 10.1-inch display panel on my Rock 5B, and everything is fine.
Due to the CSI camera and Panel layout (i want the camera on top of the panel) i need to rotate the panel 270º (no Desktop).
-
Rotating the panel with:
echo 2 | sudo tee /sys/class/graphics/fbcon/rotate_all
works only for FB, drm still has the same layout.
Reading here and there, i found a possible fix, passing a kernel command line like this:
video=card0-DSI-1,rotate=270 or video=DSI-1,rotate=270
should work, but it does nothing to kernel 5.10.110. I can see there is support for rotation but i haven’t found a solution yet. Then there is the Touchscreen to rotate.
Does anyone know how to rotate drm at boot (or after boot)?