What MCU/Processor/Board and compiler are you using?
Linux FB
What do you want to achieve?
Rotate 480x800 16 bit screen counter-clockwise 90 degrees. It’s currently displayed fine in portrait format.
What have you tried so far?
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
Have you considered rotating the Linux driver instead? I suggest doing this as it will make outputting data to the display less complicated. Additionally, this would allow you to use some sort of splash screen while the kernel is loading if that is of interest.
Which driver are you using? Many/Most of them have a rotate parameter you can pass in via the device tree file. This is an example from one I used in a previous project:
The STM32MP157C-DK2 has a FRD397B2509V2 TFT MIPI DSI LCD module with an OTM8009A LCD driver. The driver doesn’t support rotation. Is there another way in the LittlevGL framebuffer driver?
Note that even after changing that setting your driver still needs to handle drawing the buffer to the appropriate location on the screen (LittlevGL does not just hand you a landscape buffer with everything drawn in portrait).