diff options
author | Liu Ying <victor.liu@nxp.com> | 2018-08-30 15:44:05 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:58:27 +0800 |
commit | 5705389c717f21f920a215e647f1d64eab48700b (patch) | |
tree | d5c73d662318608248dc64693464632036391c8a /include/video | |
parent | 40b282a22300c62c373e76eea48176554738147a (diff) |
gpu: imx: dpu: framegen: Add framegen_syncmode_fixup() helper
Bit7 of framegen's SECSTATCONFIG register is used to control
the sync mode fixup logic implemented in framegen. This patch
adds framegen_syncmode_fixup() helper so that the callers
may enable/disable the fixup logic for a framegen.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/dpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h index 7dacf2d44608..0002a7840167 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -496,6 +496,7 @@ void framegen_syncmode(struct dpu_framegen *fg, fgsyncmode_t mode); void framegen_cfg_videomode(struct dpu_framegen *fg, struct drm_display_mode *m, bool side_by_side, unsigned int encoder_type); void framegen_pkickconfig(struct dpu_framegen *fg, bool enable); +void framegen_syncmode_fixup(struct dpu_framegen *fg, bool enable); void framegen_displaymode(struct dpu_framegen *fg, fgdm_t mode); void framegen_panic_displaymode(struct dpu_framegen *fg, fgdm_t mode); void framegen_wait_done(struct dpu_framegen *fg, struct drm_display_mode *m); |