This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

rotate framebuffer support ?

Guru 20755 points


Hello,

Is fb0 rotate in DM8148 supported in linux driver ?

I have tried modifyiing

echo 1 > /sys/class/graphics/fb0/rotate

But there is no change in screen.
I also tried to do it in code:
var.rotate = 1; /* To set rotation angle to 90 degree */
if (ioctl(fd, FBIOPUT_VSCREENINFO, &var)<0) {
    perror("Error:FBIOPUT_VSCREENINFO\n");
    close(fd);
    exit(4);
}
But there is no change.

Are there any ideas ?
Regards,
Ran