AnsweredAssumed Answered

IMX8MM Display output rotation

Question asked by Grigori Timonen on Aug 12, 2019
Latest reply on Aug 16, 2019 by Grigori Timonen



We use NXP IMX 8MM EVK with Yocto Linux 4.14.98_2.0.0 and custom MIPI DSI display (DRM driver made on top of  Raydeon 67191 driver). Our display has a 720x1280 resolution and it is vertical.

Now I have to rotate display 270 degrees.


I've enabled CONFIG_FRAMEBUFFER_CONSOLE_ROTATION option in kernel config in order to rotate framebuffer console output and I am able to rotate console output with following commands:

root@imx8mmevk:~# cd /sys/class/graphics/fbcon
root@imx8mmevk:/sys/class/graphics/fbcon# echo 3 | sudo tee rotate_all

Next I have to rotate framebuffer for the gst-player video playback, QML viewer, IP camera input. So I want portrait display to act as a landscape one.


I was trying to write 3 to /sys/class/graphics/fb0/rotate, but with no effect.

Is there any support for framebuffer rotation?