How to change LCD horizontal rotation and vertical rotation
The TFT screen has a register to set the scanning direction. As long as this value is changed, it can be changed at will. No need to change your display data.
See the driver chip information for details.
If the lcd support Horizontal/Vertical display mode, it’s able to chose the signal for change.
and it's able to switch "Mirror" via controller board