Loading drivers/video/msm/mdss/mdss_mdp.c +6 −1 Original line number Diff line number Diff line Loading @@ -1595,6 +1595,11 @@ static int mdss_mdp_gdsc_notifier_call(struct notifier_block *self, mdata = container_of(self, struct mdss_data_type, gdsc_cb); if (event & REGULATOR_EVENT_ENABLE) { /* * As SMMU in low tier targets is not power collapsible, * hence we don't need to restore sec configuration. */ if (!mdss_mdp_req_init_restore_cfg(mdata)) __mdss_restore_sec_cfg(mdata); } else if (event & REGULATOR_EVENT_PRE_DISABLE) { pr_debug("mdss gdsc is getting disabled\n"); Loading Loading
drivers/video/msm/mdss/mdss_mdp.c +6 −1 Original line number Diff line number Diff line Loading @@ -1595,6 +1595,11 @@ static int mdss_mdp_gdsc_notifier_call(struct notifier_block *self, mdata = container_of(self, struct mdss_data_type, gdsc_cb); if (event & REGULATOR_EVENT_ENABLE) { /* * As SMMU in low tier targets is not power collapsible, * hence we don't need to restore sec configuration. */ if (!mdss_mdp_req_init_restore_cfg(mdata)) __mdss_restore_sec_cfg(mdata); } else if (event & REGULATOR_EVENT_PRE_DISABLE) { pr_debug("mdss gdsc is getting disabled\n"); Loading