Searched refs:power_profile_mode (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | pp_psm.c | 302 if (hwmgr->power_profile_mode != workload[0] && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
|
H A D | smu10_hwmgr.c | 1477 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in smu10_get_power_profile_mode() 1503 if (hwmgr->power_profile_mode == input[size]) in smu10_set_power_profile_mode() 1519 hwmgr->power_profile_mode = input[size]; in smu10_set_power_profile_mode()
|
H A D | vega20_hwmgr.c | 446 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega20_hwmgr_backend_init() 4029 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " "); in vega20_get_power_profile_mode() 4095 uint32_t power_profile_mode = input[size]; in vega20_set_power_profile_mode() local 4097 if (power_profile_mode > PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode() 4098 pr_err("Invalid power profile mode %d\n", power_profile_mode); in vega20_set_power_profile_mode() 4102 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega20_set_power_profile_mode() 4187 conv_power_profile_to_pplib_workload(power_profile_mode); in vega20_set_power_profile_mode() 4192 hwmgr->power_profile_mode = power_profile_mode; in vega20_set_power_profile_mode()
|
H A D | vega10_hwmgr.c | 841 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT; in vega10_hwmgr_backend_init() 5349 i, amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode() 5354 amdgpu_pp_profile_name[i], (i == hwmgr->power_profile_mode) ? "*" : " ", in vega10_get_power_profile_mode() 5374 uint32_t power_profile_mode = input[size]; in vega10_set_power_profile_mode() local 5376 if (power_profile_mode == PP_SMC_POWER_PROFILE_CUSTOM) { in vega10_set_power_profile_mode() 5405 1 << power_profile_mode, in vega10_set_power_profile_mode() 5409 (!power_profile_mode) ? 0 : 1 << (power_profile_mode - 1), in vega10_set_power_profile_mode() 5412 hwmgr->power_profile_mode = power_profile_mode; in vega10_set_power_profile_mode()
|
H A D | smu7_hwmgr.c | 1860 hwmgr->power_profile_mode = PP_SMC_POWER_PROFILE_FULLSCREEN3D; in smu7_init_dpm_defaults() 5586 if (i == hwmgr->power_profile_mode) { in smu7_get_power_profile_mode() 5634 } else if (hwmgr->power_profile_mode == PP_SMC_POWER_PROFILE_COMPUTE) { in smu7_patch_compute_profile_mode() 5674 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode() 5682 if (mode == hwmgr->power_profile_mode) in smu7_set_power_profile_mode() 5700 hwmgr->power_profile_mode = mode; in smu7_set_power_profile_mode()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | hwmgr.h | 799 uint32_t power_profile_mode; member
|