summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2019-08-08 13:51:44 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:57:57 +0800
commit568ed66cac5149dbf3f2c9a01ef22ac1505c0cc4 (patch)
treed922c71fdc49f4c8a8ca33431ca32d4fb151a0f5 /include/video
parent72559a032dbe71f6ab3cfb96cec88cd60e98ada6 (diff)
gpu: imx: dpu: framegen: Use bypass clock when display encoder type is TMDS
This patch sets display clock's parent to bypass clock when display encoder type is TMDS, otherwise, to pll clock when other types of encoder. Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/dpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/dpu.h b/include/video/dpu.h
index fdb74fa57944..ad9d30453a89 100644
--- a/include/video/dpu.h
+++ b/include/video/dpu.h
@@ -473,8 +473,8 @@ void framegen_enable(struct dpu_framegen *fg);
void framegen_disable(struct dpu_framegen *fg);
void framegen_shdtokgen(struct dpu_framegen *fg);
void framegen_syncmode(struct dpu_framegen *fg, fgsyncmode_t mode);
-void
-framegen_cfg_videomode(struct dpu_framegen *fg, struct drm_display_mode *m);
+void framegen_cfg_videomode(struct dpu_framegen *fg, struct drm_display_mode *m,
+ unsigned int encoder_type);
void framegen_pkickconfig(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);