Hello, I've been trying to rotate a LVDS screen for quite some time now on a iMX6UL. For some mecanical reason it would be tricky to just turn the screen around so I've been looking for a software solution.
I'm using the framebuffer QT5 yocto build and I've been trying to recompile the kernel to ask for the v4l2 interface to rotate the image.
So far I've learn that the iMX6UL uses the PXP driver but I'm not able to find the exact function that I need to change and call some kind of rotation event. I've found the mxc_pxp_v4l2.c file inside the kernel and I've been trying to modify and recompile it without success on having the screen rotated. I also notice that there are many file versions for the dma manipulation (pxp_dma_v2.c, pxp_dma_v3.c) and I don't know which file is used for real.
I'm not sure about how things are called out since I'm only changing pointers in a struct.
Anyone has tips or possibles solutions that I could try to make it work? Am I trying to change the appropriate files?