Loading drivers/platform/msm/ipa/ipa_v3/ipa_uc.c +10 −0 Original line number Original line Diff line number Diff line Loading @@ -493,6 +493,16 @@ static void ipa3_uc_response_hdlr(enum ipa_irq_type interrupt, */ */ ipa3_proxy_clk_unvote(); ipa3_proxy_clk_unvote(); /* * To enable ipa power collapse we need to enable rpmh and uc * handshake So that uc can do register retention. To enable * this handshake we need to send the below message to rpmh. * For APQ only target, we do it here once uC loading is * completed. */ if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ) ipa_pc_qmp_enable(); for (i = 0; i < IPA_HW_NUM_FEATURES; i++) { for (i = 0; i < IPA_HW_NUM_FEATURES; i++) { if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr) if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr) ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr(); ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr(); Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_uc.c +10 −0 Original line number Original line Diff line number Diff line Loading @@ -493,6 +493,16 @@ static void ipa3_uc_response_hdlr(enum ipa_irq_type interrupt, */ */ ipa3_proxy_clk_unvote(); ipa3_proxy_clk_unvote(); /* * To enable ipa power collapse we need to enable rpmh and uc * handshake So that uc can do register retention. To enable * this handshake we need to send the below message to rpmh. * For APQ only target, we do it here once uC loading is * completed. */ if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ) ipa_pc_qmp_enable(); for (i = 0; i < IPA_HW_NUM_FEATURES; i++) { for (i = 0; i < IPA_HW_NUM_FEATURES; i++) { if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr) if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr) ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr(); ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr(); Loading