summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2019-11-11 16:55:26 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:58:06 +0800
commitc2dd2db4efa768606391c015f2151cf87a6c2e55 (patch)
tree757f90ca80cbaa2d03ca798c6fa6c885f6cb068c /include/video
parentaccaed25e29ef76376aec9ff31ca32b1ac4221eb (diff)
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 1) enable the display controller, 2) wait for the frame index starting to move and 3) finally switch TCON to operation mode. Steps 1) to 3) should be done within a frame, so we disable local irq and preemption to make sure we don't relinquish CPU during the procedure. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/dpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h
index 6b7ed30c83d8..2aae2168c1ae 100644
--- a/include/video/dpu.h
+++ b/include/video/dpu.h
@@ -485,6 +485,8 @@ void dpu_fw_put(struct dpu_fetchunit *fu);
struct dpu_framegen;
void framegen_enable(struct dpu_framegen *fg);
void framegen_disable(struct dpu_framegen *fg);
+void framegen_enable_pixel_link(struct dpu_framegen *fg);
+void framegen_disable_pixel_link(struct dpu_framegen *fg);
void framegen_shdtokgen(struct dpu_framegen *fg);
void framegen_syncmode(struct dpu_framegen *fg, fgsyncmode_t mode);
void framegen_cfg_videomode(struct dpu_framegen *fg, struct drm_display_mode *m,