Rotation of frame buffer in DragonBoard410


I am running debian on 410 and I am trying it rotate data in frame buffer So that after this if I run any sample QT application it will display GUI in the rotated format as I have rotated frame buffer already,

Below is the command which I run to rotate framebuffer,

  • echo “1” > /sys/class/graphics/fb0/rotate

After this command I assume my application to be rotated but it does not.

So my questions are,
Is there support of rotation in Kernel or we need to add?
If Support is already there then any other parameters need to be updated?