I am using touchscreen 6‐bit LVDS LCD XGA (1024 x 768) with IMX6 phyBoard Mira SOM.
The LCD uses PWM backlight with inverted logic.
I am able to successfully get the touchscreen driver and LVDS panel driver working. Post boot up the LCD comes up properly without any issues.
However, when LCD comes on after going to sleep; I observe flicker which lasts for few minutes.
I am using X11 Linux version 4.14.39 and DPMS module to put device to sleep.
Steps to recreate:
Execute the following command on the terminal.
target> xset dpms force off; sleep 10; xset dpms force on;
After debugging I found that if I comment the following in function static void ipu_crtc_atomic_disable in imx-ldb.c file the flicker does not occur:
Any idea why the temporary flicker could be happening?