path: root/drivers/gpu/drm/msm/dsi/dsi_cfg.h
diff options
authorChandan Uddaraju <>2018-04-18 12:45:14 -0700
committerSean Paul <>2018-07-26 10:40:14 -0400
commited9976a09b486d85ae537b5cd73e947d7dfbb136 (patch)
treea49d5841d4b050e23df5295ad51c7c763abf58a3 /drivers/gpu/drm/msm/dsi/dsi_cfg.h
parent2a8536f6e8464b8988baa7db881f30721616b0da (diff)
drm/msm/dsi: adjust dsi timing for dual dsi mode
For dual dsi mode, the horizontal timing needs to be divided by half since both the dsi controllers will be driving this panel. Adjust the pixel clock and DSI timing accordingly. Changes in v3: - Added Archit's R-b - Rebase on dsi cleanup set in msm-next Cc: Sibi Sankar <> Reviewed-by: Archit Taneja <> Signed-off-by: Chandan Uddaraju <> Signed-off-by: Sean Paul <> Signed-off-by: Rob Clark <>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_cfg.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.h b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
index a795a062b779..16c507911110 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_cfg.h
+++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.h
@@ -48,7 +48,7 @@ struct msm_dsi_host_cfg_ops {
void* (*tx_buf_get)(struct msm_dsi_host *msm_host);
void (*tx_buf_put)(struct msm_dsi_host *msm_host);
int (*dma_base_get)(struct msm_dsi_host *msm_host, uint64_t *iova);
- int (*calc_clk_rate)(struct msm_dsi_host *msm_host);
+ int (*calc_clk_rate)(struct msm_dsi_host *msm_host, bool is_dual_dsi);
struct msm_dsi_cfg_handler {