Searched refs:workload_mask (Results 1 – 14 of 14) sorted by relevance
947 hwmgr->workload_mask &= ~(1 << hwmgr->workload_prority[type]); in pp_dpm_switch_power_profile()948 index = fls(hwmgr->workload_mask); in pp_dpm_switch_power_profile()952 hwmgr->workload_mask |= (1 << hwmgr->workload_prority[type]); in pp_dpm_switch_power_profile()953 index = fls(hwmgr->workload_mask); in pp_dpm_switch_power_profile()
298 index = fls(hwmgr->workload_mask); in psm_adjust_power_state_dynamic()
387 uint32_t workload_mask; member
515 uint32_t workload_mask; member
407 data->workload_mask = 0xff; in vega12_hwmgr_backend_init()
445 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in vega20_hwmgr_backend_init()
840 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in vega10_hwmgr_backend_init()
1859 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_FULLSCREEN3D]; in smu7_init_dpm_defaults()
1278 smu->workload_mask = 1 << smu->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in smu_sw_init()1280 smu->workload_mask = 1 << smu->workload_prority[PP_SMC_POWER_PROFILE_FULLSCREEN3D]; in smu_sw_init()2284 index = fls(smu->workload_mask); in smu_adjust_power_state_dynamic()2351 smu->workload_mask &= ~(1 << smu->workload_prority[type]); in smu_switch_power_profile()2352 index = fls(smu->workload_mask); in smu_switch_power_profile()2356 smu->workload_mask |= (1 << smu->workload_prority[type]); in smu_switch_power_profile()2357 index = fls(smu->workload_mask); in smu_switch_power_profile()
2488 u32 workload_mask, selected_workload_mask; in smu_v13_0_0_set_power_profile_mode() local2555 selected_workload_mask = workload_mask = 1 << workload_type; in smu_v13_0_0_set_power_profile_mode()2567 workload_mask |= 1 << workload_type; in smu_v13_0_0_set_power_profile_mode()2572 workload_mask, in smu_v13_0_0_set_power_profile_mode()2575 smu->workload_mask = selected_workload_mask; in smu_v13_0_0_set_power_profile_mode()
2508 smu->workload_mask = (1 << workload_type); in smu_v13_0_7_set_power_profile_mode()
559 uint32_t workload_mask; member
806 uint32_t workload_mask; member
1815 smu->workload_mask = 1 << workload_type; in smu_v14_0_2_set_power_profile_mode()