diff options
author | Liu Ying <victor.liu@nxp.com> | 2017-09-13 17:40:18 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:58:14 +0800 |
commit | ee63aa8251c02ea434fb874dc7a5ffbff4c24472 (patch) | |
tree | 56764433fb8808aef46c9020abb2e1f196271222 /include/video | |
parent | 61584d69b201bf9cb5b6d0b2a5e751d34f4b9022 (diff) |
gpu: imx: dpu: Add helpers to peek at auxiliary display submodules
This patch adds dpu_aux_{unit}_peek() helpers so that callers
may peek at auxiliary display submodules.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/dpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h index 2ab8186e2040..5a1bd562599a 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -398,11 +398,13 @@ void constframe_constantcolor(struct dpu_constframe *cf, unsigned int r, void constframe_controltrigger(struct dpu_constframe *cf, bool trigger); struct dpu_constframe *dpu_cf_get(struct dpu_soc *dpu, int id); void dpu_cf_put(struct dpu_constframe *cf); +struct dpu_constframe *dpu_aux_cf_peek(struct dpu_constframe *cf); /* Display Engine Configuration Unit */ struct dpu_disengcfg; struct dpu_disengcfg *dpu_dec_get(struct dpu_soc *dpu, int id); void dpu_dec_put(struct dpu_disengcfg *dec); +struct dpu_disengcfg *dpu_aux_dec_peek(struct dpu_disengcfg *dec); /* External Destination Unit */ struct dpu_extdst; @@ -431,6 +433,7 @@ void extdst_last_pixel_cnt(struct dpu_extdst *ed, u16 *x, u16 *y); u32 extdst_perfresult(struct dpu_extdst *ed); struct dpu_extdst *dpu_ed_get(struct dpu_soc *dpu, int id); void dpu_ed_put(struct dpu_extdst *ed); +struct dpu_extdst *dpu_aux_ed_peek(struct dpu_extdst *ed); /* Fetch Decode Unit */ int fetchdecode_pixengcfg_dynamic_src_sel(struct dpu_fetchunit *fu, @@ -506,6 +509,7 @@ void framegen_enable_clock(struct dpu_framegen *fg); void framegen_disable_clock(struct dpu_framegen *fg); struct dpu_framegen *dpu_fg_get(struct dpu_soc *dpu, int id); void dpu_fg_put(struct dpu_framegen *fg); +struct dpu_framegen *dpu_aux_fg_peek(struct dpu_framegen *fg); /* Horizontal Scaler Unit */ struct dpu_hscaler; @@ -549,6 +553,7 @@ void tcon_set_operation_mode(struct dpu_tcon *tcon); void tcon_cfg_videomode(struct dpu_tcon *tcon, struct drm_display_mode *m); struct dpu_tcon *dpu_tcon_get(struct dpu_soc *dpu, int id); void dpu_tcon_put(struct dpu_tcon *tcon); +struct dpu_tcon *dpu_aux_tcon_peek(struct dpu_tcon *tcon); /* Vertical Scaler Unit */ struct dpu_vscaler; |