disp: msm: dsi: parse PLL dfps data only if dynamic clock is enabled
PLL codes from devicetree are only required if dynamic clock is enabled for video mode panels. This change ensures that unnecessary error logs are not seen for all other panels, by parsing the data only if the panel property is set. Change-Id: I206520aab65b7a5613909c8ff527e88303533617 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -4091,6 +4091,14 @@ static int dsi_display_res_init(struct dsi_display *display)
|
||||
display->panel->host_config.force_hs_clk_lane;
|
||||
phy->cfg.phy_type =
|
||||
display->panel->host_config.phy_type;
|
||||
|
||||
/*
|
||||
* Parse the dynamic clock trim codes for PLL, for video mode panels that have
|
||||
* dynamic clock property set.
|
||||
*/
|
||||
if ((display->panel->dyn_clk_caps.dyn_clk_support) &&
|
||||
(display->panel->panel_mode == DSI_OP_VIDEO_MODE))
|
||||
dsi_phy_pll_parse_dfps_data(phy);
|
||||
}
|
||||
|
||||
rc = dsi_display_parse_lane_map(display);
|
||||
|
Referens i nytt ärende
Block a user