void mali_dev_pause(void) { mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); mali_group_power_off(MALI_FALSE); mali_l2_cache_pause_all(MALI_TRUE); }
void mali_pm_os_suspend(void) { MALI_DEBUG_PRINT(3, ("Mali PM: OS suspend\n")); mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); mali_utilization_suspend(); mali_group_power_off(MALI_TRUE); mali_power_on = MALI_FALSE; }
void mali_pm_os_suspend(void) { MALI_DEBUG_PRINT(3, ("Mali PM: OS suspend\n")); mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); mali_utilization_suspend(); /* MALI_SEC */ #if !defined(CONFIG_PM_RUNTIME) mali_group_power_off(); mali_power_on = MALI_FALSE; #endif }
void mali_dev_pause(mali_bool *power_is_on) { mali_bool power_is_on_tmp; /* Locking the current power state - so it will not switch from being ON to OFF, but it might remain OFF */ power_is_on_tmp = _mali_osk_pm_dev_ref_add_no_power_on(); if (NULL != power_is_on) { *power_is_on = power_is_on_tmp; } mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); }
void mali_dev_pause(mali_bool *power_is_on) { mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); /* * Take and hold the PM lock to be sure we don't change power state as well. * (it might be unsafe to for instance change frequency if Mali GPU is powered off) */ mali_pm_execute_state_change_lock(); if (NULL != power_is_on) { *power_is_on = mali_pm_is_powered_on(); } }
void mali_pm_os_suspend(enum mali_sleep_event event) { MALI_DEBUG_PRINT(2, ("Mali PM: %s: from = %x\n", __FUNCTION__, event)); mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); mali_group_power_off(); mali_power_on = MALI_FALSE; /// mali_utilization_suspend(); /// if (clock_is_on(MT_CG_MFG_PDN_BG3D_SW_CG)) /// { /// disable_clock(MT_CG_MFG_PDN_BG3D_SW_CG, "G3D_DRV"); /// } }
void mali_pm_os_suspend(void) { mali_bool do_reset = MALI_FALSE; MALI_DEBUG_PRINT(3, ("Mali PM: OS suspend\n")); mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); mali_utilization_suspend(); do_reset = mali_power_on; mali_group_power_off(MALI_TRUE); mali_power_on = MALI_FALSE; if (do_reset) { mali_pmm_acquire_protect(); //mali_pm_reset_gpu(); } }
void mali_dev_pause(void) { mali_gp_scheduler_suspend(); mali_pp_scheduler_suspend(); }