Home
last modified time | relevance | path

Searched refs:request_ps (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dpp_psm.c57 hwmgr->request_ps = kzalloc(size, GFP_KERNEL); in psm_init_power_state_table()
58 if (hwmgr->request_ps == NULL) { in psm_init_power_state_table()
66 kfree(hwmgr->request_ps); in psm_init_power_state_table()
68 hwmgr->request_ps = NULL; in psm_init_power_state_table()
81 memcpy(hwmgr->request_ps, state, size); in psm_init_power_state_table()
103 kfree(hwmgr->request_ps); in psm_fini_power_state_table()
105 hwmgr->request_ps = NULL; in psm_fini_power_state_table()
165 memcpy(hwmgr->request_ps, state, hwmgr->ps_size); in psm_set_states()
244 requested = hwmgr->request_ps; in power_state_management()
255 memcpy(hwmgr->current_ps, hwmgr->request_ps, hwmgr->ps_size); in power_state_management()
Dvega10_hwmgr.c3131 struct pp_power_state *request_ps, in vega10_apply_state_adjust_rules() argument
3136 cast_phw_vega10_power_state(&request_ps->hardware); in vega10_apply_state_adjust_rules()
3155 request_ps->classification.ui_label); in vega10_apply_state_adjust_rules()
3713 ps = hwmgr->request_ps; in vega10_dpm_get_sclk()
3735 ps = hwmgr->request_ps; in vega10_dpm_get_mclk()
4772 ps = hwmgr->request_ps; in vega10_set_sclk_od()
4823 ps = hwmgr->request_ps; in vega10_set_mclk_od()
5030 struct pp_power_state *ps = hwmgr->request_ps; in vega10_odn_update_power_state()
Dsmu7_hwmgr.c2884 struct pp_power_state *request_ps, in smu7_apply_state_adjust_rules() argument
2889 cast_phw_smu7_power_state(&request_ps->hardware); in smu7_apply_state_adjust_rules()
2904 request_ps->classification.ui_label); in smu7_apply_state_adjust_rules()
3022 ps = hwmgr->request_ps; in smu7_dpm_get_mclk()
3044 ps = hwmgr->request_ps; in smu7_dpm_get_sclk()
4590 ps = hwmgr->request_ps; in smu7_set_sclk_od()
4632 ps = hwmgr->request_ps; in smu7_set_mclk_od()
Dsmu8_hwmgr.c1306 ps = hwmgr->request_ps; in smu8_dpm_get_sclk()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2892 kv_dpm_print_power_state(void *handle, void *request_ps) in kv_dpm_print_power_state() argument
2895 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state()
3239 void *request_ps, in kv_check_state_equal() argument
3246 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal()
Dsi_dpm.c7941 void *request_ps, in si_check_state_equal() argument
7948 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in si_check_state_equal()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhwmgr.h780 struct pp_power_state *request_ps; member