PD #00001: use maximal switch delay for mali pmu
authorKasin Lee <kasin.li@amlogic.com>
Fri, 11 Jul 2014 17:52:42 +0000 (01:52 +0800)
committerKasin Lee <kasin.li@amlogic.com>
Fri, 11 Jul 2014 17:52:42 +0000 (01:52 +0800)
mali/common/mali_pmu.c

index ea31f3ccb763db51717fe6c4f4b8dcd85913260e..316519e0ddf6a4cec33187f37455cdf33c94933a 100755 (executable)
@@ -155,7 +155,6 @@ static _mali_osk_errcode_t mali_pmu_power_up_internal(struct mali_pmu_core *pmu,
 #else
        for (current_domain = 1; current_domain <= pmu->registered_cores_mask; current_domain <<= 1) {
                if (current_domain & mask & stat) {
-                       mali_hw_core_register_write_relaxed(&pmu->hw_core, PMU_REG_ADDR_MGMT_SW_DELAY, 0xff);
                        mali_hw_core_register_write(&pmu->hw_core, PMU_REG_ADDR_MGMT_POWER_UP, current_domain);
 
                        err = mali_pmu_wait_for_command_finish(pmu);
@@ -164,7 +163,6 @@ static _mali_osk_errcode_t mali_pmu_power_up_internal(struct mali_pmu_core *pmu,
                        }
                }
        }
-       mali_hw_core_register_write_relaxed(&pmu->hw_core, PMU_REG_ADDR_MGMT_SW_DELAY, pmu->switch_delay);
 #endif
 
 #if defined(DEBUG)