Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 693d07de authored by Nagamalleswararao Ganji's avatar Nagamalleswararao Ganji Committed by Stephen Boyd
Browse files

msm_fb: display: Configure MDP clock table based on DSI Video pixel clk



To avoid display underrun issues, configure the MDP clock table's rate
according to DSI Video mode panel's pixel clock frequency by 1.15 times.

Change-Id: I9bc864a754c2d51c9d86ece79863820eb72cdae8
Signed-off-by: default avatarNagamalleswararao Ganji <nganji@codeaurora.org>
parent f17ece3a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2398,6 +2398,8 @@ static int mdp_probe(struct platform_device *pdev)
#ifdef CONFIG_FB_MSM_MIPI_DSI
	case MIPI_VIDEO_PANEL:
#ifndef CONFIG_FB_MSM_MDP303
		mipi = &mfd->panel_info.mipi;
		configure_mdp_core_clk_table((mipi->dsi_pclk_rate) * 23 / 20);
		pdata->on = mdp4_dsi_video_on;
		pdata->off = mdp4_dsi_video_off;
		mfd->hw_refresh = TRUE;