AnsweredAssumed Answered

i.mx6 rotate 90 degree

Question asked by Alex Berenshtein on Mar 12, 2018
Latest reply on Mar 12, 2018 by igorpadykov

I use kernel 4.1.15

I apply the following changes.

 

In file:  drivers/video/mxc/mxc_ipuv3_fb.c

 

        //if (var->rotate > IPU_ROTATE_VERT_FLIP)

                var->rotate = IPU_ROTATE_180;

                //var->rotate = IPU_ROTATE_NONE;

   

Hard-code  the value  "var->rotate" it work.

 

I try rotate display on 90 / 270 degree , for example :

    var->rotate =  IPU_ROTATE_90_RIGHT; 

    var->rotate = IPU_ROTATE_90_RIGHT_VFLIP;

     var->rotate = IPU_ROTATE_90_RIGHT_HFLIP;

      var->rotate = IPU_ROTATE_90_LEFT;

- but no working.

 

I would like rotate display on 90 / 270 degree use hard-code (in kernel only ).

Best regards. 

Outcomes