summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2018-08-30 15:46:56 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:58:28 +0800
commit1a04cd435deed3d2e582119a2a616e5cb2400ff5 (patch)
treefdccca402991321bc88b6dd0c8c052c4dad84a43 /include/video
parent5705389c717f21f920a215e647f1d64eab48700b (diff)
gpu: imx: dpu: extdst: Add extdst_pixengcfg_syncmode_master() helper
This patch adds extdst_pixengcfg_syncmode_master() helper support so that the callers may control if a extdst is master or slave when it works in sync mode. The bit16 of extdst's PIXENGCFG_STATIC register controls this and it's a part of sync mode fixup logic. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/dpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h
index 0002a7840167..1f2c8287fcdb 100644
--- a/include/video/dpu.h
+++ b/include/video/dpu.h
@@ -413,6 +413,7 @@ void extdst_pixengcfg_powerdown(struct dpu_extdst *ed, bool powerdown);
void extdst_pixengcfg_sync_mode(struct dpu_extdst *ed, ed_sync_mode_t mode);
void extdst_pixengcfg_reset(struct dpu_extdst *ed, bool reset);
void extdst_pixengcfg_div(struct dpu_extdst *ed, u16 div);
+void extdst_pixengcfg_syncmode_master(struct dpu_extdst *ed, bool enable);
int extdst_pixengcfg_src_sel(struct dpu_extdst *ed, extdst_src_sel_t src);
void extdst_pixengcfg_sel_shdldreq(struct dpu_extdst *ed);
void extdst_pixengcfg_shdldreq(struct dpu_extdst *ed, u32 req_mask);