how to rorate lcd screen 90 degree for IMX6UL in linux kernel or linux driver?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to rorate lcd screen 90 degree for IMX6UL in linux kernel or linux driver?

1,877 Views
huyongfa
Contributor II

we have a IMX6UL EVK borad with a 480x272 LCD, now we want to rotate the screen 90 degree, whether this is can be implemented in linux kernel or linux driver? for IMX6Q we have implemented this feathur in IPU driver. but MX6UL have no IPU. so is there someone can suppliy some clues ?

Tags (1)
0 Kudos
4 Replies

1,084 Views
sandip_gokani
Contributor I

Hi,

I am working on i.MX6UL EVK. I need a code to rotate LCD contains.

Is there any changes required in Driver? please can you send me a details C code ?

On my mail id - sandip.gokani@mantratec.com

0 Kudos

1,084 Views
igorpadykov
NXP Employee
NXP Employee

Hi hu

i.MX6UL has PxP instead IPU and one can check its examples

in imx-test package (../pxp_v4l2_test).

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,084 Views
huyongfa
Contributor II

Hi Igor:

thanks for your replying.

i have complete this feature by alloc two fb memory,

one for mmap, one for lcd dma.

then move mmap fb memory to lcd dma memory periodically, also with rotate calculation.

now this works well.

0 Kudos

1,084 Views
erhany
Contributor II

Hi,

Is it possible to make this feature work on the fly from the userspace? I am trying to implement it on Weston desktop. There is a "transform" setting but not working on imx6ul? 

0 Kudos