summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorFancy Fang <chen.fang@nxp.com>2020-05-13 17:21:17 +0800
committerFancy Fang <chen.fang@nxp.com>2020-05-15 15:40:10 +0800
commit092c084f77f1d84cb57119a4c5bb71d2db641b32 (patch)
tree7e5d89a97b362288f58a557f1db423e6585a3607 /include/video
parentc78d56a52d3ee0cc27f202eb6810cb6246ed0cbf (diff)
MLK-24002-1 drm/imx: lcdifv3: enable shadow load for plane update
After the atomic plane update, the shadow load should be enabled to make sure its update can take effect on next frame in any cases. And this enable is better to be done in CRTC's atomic_flush() which is called after plane's atomic_update() is called. Besides, the shadow load enable in controller enable is unnecessary, so remove it. Signed-off-by: Fancy Fang <chen.fang@nxp.com> Reviewed-by: Liu Ying <victor.liu@nxp.com> (cherry picked from commit bfa7236c8477e8993f074a3068ddc64c1614db06)
Diffstat (limited to 'include/video')
-rw-r--r--include/video/imx-lcdifv3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/imx-lcdifv3.h b/include/video/imx-lcdifv3.h
index 26103ad63327..e8556bea7aed 100644
--- a/include/video/imx-lcdifv3.h
+++ b/include/video/imx-lcdifv3.h
@@ -26,6 +26,7 @@ void lcdifv3_set_fb_addr(struct lcdifv3_soc *lcdifv3, int id, u32 addr);
void lcdifv3_set_mode(struct lcdifv3_soc *lcdifv3, struct videomode *vmode);
void lcdifv3_set_fb_hcrop(struct lcdifv3_soc *lcdifv3, u32 src_w,
u32 fb_w, bool crop);
+void lcdifv3_en_shadow_load(struct lcdifv3_soc *lcdifv3);
void lcdifv3_enable_controller(struct lcdifv3_soc *lcdifv3);
void lcdifv3_disable_controller(struct lcdifv3_soc *lcdifv3);
void lcdifv3_dump_registers(struct lcdifv3_soc *lcdifv3);