diff options
author | Fancy Fang <chen.fang@nxp.com> | 2020-05-13 17:21:17 +0800 |
---|---|---|
committer | Fancy Fang <chen.fang@nxp.com> | 2020-05-15 10:08:30 +0800 |
commit | bfa7236c8477e8993f074a3068ddc64c1614db06 (patch) | |
tree | 543e2a08bc72d2cd5a79fc345e04241111713ccd /include/video | |
parent | 2ff28a22ad4b28cbe55fa5c51c19186a84861815 (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>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/imx-lcdifv3.h | 1 |
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); |