MLK-15110-22 drm/imx: dpu: crtc: Evade the first dumb frame for DPR/PRG errata
authorLiu Ying <victor.liu@nxp.com>
Thu, 22 Jun 2017 03:33:26 +0000 (11:33 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:50:54 +0000 (14:50 -0500)
commitd4c6dcb57f0b2ead8f692f752b5d93d35726c3c3
tree4b61de0c1851ea60938a2f71138f7030e593a4a3
parentf96195aa58a979988647b37185d0f43eb488908d
MLK-15110-22 drm/imx: dpu: crtc: Evade the first dumb frame for DPR/PRG errata

To workaround the errata TKT320950, DPR/PRG need to evade the first dumb frame
which is generated by DPU.  The way we achieve that is to bypass TCON(but set
the TCON sync signals and KA_CHUCK strobe signal up) before enabling the DPU
display controller, and then enable the display controller, wait for the frame
index starting to move and finally switch TCON to operation mode.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/imx/dpu/dpu-crtc.c
drivers/gpu/imx/dpu/dpu-tcon.c
include/video/dpu.h