diff options
author | Liu Ying <victor.liu@nxp.com> | 2018-08-30 15:44:05 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2018-10-29 11:10:38 +0800 |
commit | c50fdaa355b2744e036cc598a77d9c32993c5a31 (patch) | |
tree | 40c7772aa81469b54860a0880d2e6c515228a1c1 /include | |
parent | 50d889f517095736c399d46143ba02ce3abfba6f (diff) |
MLK-19413-25 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')
-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 0cf4671ebcd4..9620285557d2 100644 --- a/include/video/dpu.h +++ b/include/video/dpu.h @@ -613,6 +613,7 @@ framegen_cfg_videomode(struct dpu_framegen *fg, struct drm_display_mode *m, bool side_by_side, bool encoder_type_has_tmds, bool encoder_type_has_lvds); void framegen_pkickconfig(struct dpu_framegen *fg, bool enable); +void framegen_syncmode_fixup(struct dpu_framegen *fg, bool enable); void framegen_sacfg(struct dpu_framegen *fg, unsigned int x, unsigned int y); void framegen_displaymode(struct dpu_framegen *fg, fgdm_t mode); void framegen_panic_displaymode(struct dpu_framegen *fg, fgdm_t mode); |