Rotating a MIPI-DSI display to landscape on Arduino Uno Q

Following up on MIPI-DSI display for Arduino Uno Q: USB pitfall, this is a step-by-step guide on how to rotate a portrait-native 10.1" MIPI-DSI touchscreen (Waveshare 10.1-DSI-TOUCH-A) into landscape mode on the Arduino Uno Q — covering both display and touch rotation in Xorg/LightDM and XFCE. The post also explains the underlying hardware limitation of the Qualcomm QRB2210 / Adreno DPU920 display controller that keeps the pre-GUI boot console in portrait mode.

You can find all the details on the Arduino Forum:

https://forum.arduino.cc/t/rotating-a-dsi-display-to-landscape-step-by-step-hardware-limitation/1459311