disp: msm: dsi: avoid PLL configure and toggle during TUI
The change ensures that during a Trusted UI case, configuring and toggling the DSI PHY PLL is skipped. Change-Id: I3246c8e5f01d47ac6fd58098f859ef8436a762bf Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Šī revīzija ir iekļauta:
@@ -2767,6 +2767,9 @@ int dsi_display_phy_pll_toggle(void *priv, bool prepare)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (is_skip_op_required(display))
|
||||
return 0;
|
||||
|
||||
rc = dsi_display_set_clk_src(display, !prepare);
|
||||
|
||||
m_ctrl = &display->ctrl[display->clk_master_idx];
|
||||
@@ -2793,6 +2796,9 @@ int dsi_display_phy_configure(void *priv, bool commit)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (is_skip_op_required(display))
|
||||
return 0;
|
||||
|
||||
m_ctrl = &display->ctrl[display->clk_master_idx];
|
||||
if ((!m_ctrl->phy) || (!m_ctrl->ctrl)) {
|
||||
DSI_ERR("[%s] PHY not found\n", display->name);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user