summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/dsi/dsi_cfg.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2019-06-30 17:18:31 +0300
committerRob Clark <robdclark@chromium.org>2020-01-04 19:52:04 +0300
commit6b16f05aa39f9fae43c18d4fd1ddad7988ab6d90 (patch)
treeadecbd8efa6b4b8b0215fcb8e8233ac2fcdf553e /drivers/gpu/drm/msm/dsi/dsi_cfg.h
parente37b624d25139f8b9d4bdafb3ac5131f56d0e7bb (diff)
downloadlinux-6b16f05aa39f9fae43c18d4fd1ddad7988ab6d90.tar.xz
drm/msm/dsi: split clk rate setting and enable
Decouple enable and rate setting. Prep work to handle bootloader enabled display. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_cfg.h')
-rw-r--r--drivers/gpu/drm/msm/dsi/dsi_cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.h b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
index 50a37ceb6a25..32a9d127e058 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_cfg.h
+++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
@@ -35,6 +35,7 @@ struct msm_dsi_config {
};
struct msm_dsi_host_cfg_ops {
+ int (*link_clk_set_rate)(struct msm_dsi_host *msm_host);
int (*link_clk_enable)(struct msm_dsi_host *msm_host);
void (*link_clk_disable)(struct msm_dsi_host *msm_host);
int (*clk_init_ver)(struct msm_dsi_host *msm_host);