Home
last modified time | relevance | path

Searched refs:workload_prority (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dhwmgr.c67 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT] = 0; in hwmgr_init_workload_prority()
68 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_FULLSCREEN3D] = 1; in hwmgr_init_workload_prority()
69 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_POWERSAVING] = 2; in hwmgr_init_workload_prority()
70 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_VIDEO] = 3; in hwmgr_init_workload_prority()
71 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_VR] = 4; in hwmgr_init_workload_prority()
72 hwmgr->workload_prority[PP_SMC_POWER_PROFILE_COMPUTE] = 5; in hwmgr_init_workload_prority()
Dvega20_hwmgr.c432 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in vega20_hwmgr_backend_init()
Dsmu7_hwmgr.c1589 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_FULLSCREEN3D]; in smu7_init_dpm_defaults()
Dvega10_hwmgr.c833 hwmgr->workload_mask = 1 << hwmgr->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in vega10_hwmgr_backend_init()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damdgpu_smu.c852 smu->workload_mask = 1 << smu->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT]; in smu_sw_init()
853 smu->workload_prority[PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT] = 0; in smu_sw_init()
854 smu->workload_prority[PP_SMC_POWER_PROFILE_FULLSCREEN3D] = 1; in smu_sw_init()
855 smu->workload_prority[PP_SMC_POWER_PROFILE_POWERSAVING] = 2; in smu_sw_init()
856 smu->workload_prority[PP_SMC_POWER_PROFILE_VIDEO] = 3; in smu_sw_init()
857 smu->workload_prority[PP_SMC_POWER_PROFILE_VR] = 4; in smu_sw_init()
858 smu->workload_prority[PP_SMC_POWER_PROFILE_COMPUTE] = 5; in smu_sw_init()
859 smu->workload_prority[PP_SMC_POWER_PROFILE_CUSTOM] = 6; in smu_sw_init()
1706 smu->workload_mask &= ~(1 << smu->workload_prority[type]); in smu_switch_power_profile()
1711 smu->workload_mask |= (1 << smu->workload_prority[type]); in smu_switch_power_profile()
Damd_powerplay.c961 hwmgr->workload_mask &= ~(1 << hwmgr->workload_prority[type]); in pp_dpm_switch_power_profile()
966 hwmgr->workload_mask |= (1 << hwmgr->workload_prority[type]); in pp_dpm_switch_power_profile()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhwmgr.h796 uint32_t workload_prority[Workload_Policy_Max]; member
Damdgpu_smu.h380 uint32_t workload_prority[WORKLOAD_POLICY_MAX]; member