From 568ed66cac5149dbf3f2c9a01ef22ac1505c0cc4 Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Thu, 8 Aug 2019 13:51:44 +0800 Subject: 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 --- include/video/dpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/video') 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); -- cgit v1.2.3