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_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_runtime_suspend(void) { mali_bool do_reset = MALI_FALSE; MALI_DEBUG_PRINT(3, ("Mali PM: Runtime suspend\n")); 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(); } }
static void mali_pm_powerdown(mali_power_mode power_mode, enum mali_pm_level old_level) { if ( (MALI_PM_LEVEL_1_ON == old_level) || (MALI_PM_LEVEL_2_STANDBY == old_level) ) { mali_group_power_off(); } mali_platform_power_mode_change(power_mode); #if MALI_PMM_RUNTIME_JOB_CONTROL_ON _mali_osk_pm_dev_idle(); if (MALI_POWER_MODE_DEEP_SLEEP == power_mode) { mali_platform_power_mode_change(power_mode); } #endif }
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_pm_runtime_suspend(void) { MALI_DEBUG_PRINT(3, ("Mali PM: Runtime suspend\n")); mali_group_power_off(MALI_TRUE); mali_power_on = MALI_FALSE; }