Home
last modified time | relevance | path

Searched refs:request_ps (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A 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, hwmg in power_state_management()
[all...]
H A Dvega10_hwmgr.c3231 struct pp_power_state *request_ps, in vega10_apply_state_adjust_rules()
3236 cast_phw_vega10_power_state(&request_ps->hardware); in vega10_apply_state_adjust_rules()
3255 request_ps->classification.ui_label); in vega10_apply_state_adjust_rules()
3836 ps = hwmgr->request_ps; in vega10_dpm_get_sclk()
3858 ps = hwmgr->request_ps; in vega10_dpm_get_mclk()
4947 ps = hwmgr->request_ps; in vega10_set_sclk_od()
4998 ps = hwmgr->request_ps; in vega10_set_mclk_od()
5225 struct pp_power_state *ps = hwmgr->request_ps; in vega10_odn_update_power_state()
3230 vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, struct pp_power_state *request_ps, const struct pp_power_state *current_ps) vega10_apply_state_adjust_rules() argument
H A Dsmu7_hwmgr.c2982 struct pp_power_state *request_ps, in smu7_apply_state_adjust_rules()
2987 cast_phw_smu7_power_state(&request_ps->hardware); in smu7_apply_state_adjust_rules()
3002 request_ps->classification.ui_label); in smu7_apply_state_adjust_rules()
3120 ps = hwmgr->request_ps; in smu7_dpm_get_mclk()
3142 ps = hwmgr->request_ps; in smu7_dpm_get_sclk()
4704 ps = hwmgr->request_ps; in smu7_set_sclk_od()
4746 ps = hwmgr->request_ps; in smu7_set_mclk_od()
2981 smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, struct pp_power_state *request_ps, const struct pp_power_state *current_ps) smu7_apply_state_adjust_rules() argument
H A Dsmu8_hwmgr.c1335 ps = hwmgr->request_ps; in smu8_dpm_get_sclk()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A 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()
79 kfree(hwmgr->request_ps); in psm_init_power_state_table()
82 hwmgr->request_ps = NULL; in psm_init_power_state_table()
90 memcpy(hwmgr->request_ps, state, size); in psm_init_power_state_table()
112 kfree(hwmgr->request_ps); in psm_fini_power_state_table()
114 hwmgr->request_ps = NULL; in psm_fini_power_state_table()
174 memcpy(hwmgr->request_ps, stat in psm_set_states()
[all...]
H A Dvega10_hwmgr.c3258 struct pp_power_state *request_ps, in vega10_apply_state_adjust_rules()
3263 cast_phw_vega10_power_state(&request_ps->hardware); in vega10_apply_state_adjust_rules()
3282 request_ps->classification.ui_label); in vega10_apply_state_adjust_rules()
3863 ps = hwmgr->request_ps; in vega10_dpm_get_sclk()
3885 ps = hwmgr->request_ps; in vega10_dpm_get_mclk()
5125 ps = hwmgr->request_ps; in vega10_set_sclk_od()
5176 ps = hwmgr->request_ps; in vega10_set_mclk_od()
5409 struct pp_power_state *ps = hwmgr->request_ps; in vega10_odn_update_power_state()
3257 vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, struct pp_power_state *request_ps, const struct pp_power_state *current_ps) vega10_apply_state_adjust_rules() argument
H A Dsmu7_hwmgr.c3315 struct pp_power_state *request_ps, in smu7_apply_state_adjust_rules()
3320 cast_phw_smu7_power_state(&request_ps->hardware); in smu7_apply_state_adjust_rules()
3338 request_ps->classification.ui_label); in smu7_apply_state_adjust_rules()
3494 ps = hwmgr->request_ps; in smu7_dpm_get_mclk()
3516 ps = hwmgr->request_ps; in smu7_dpm_get_sclk()
5108 ps = hwmgr->request_ps; in smu7_set_sclk_od()
5150 ps = hwmgr->request_ps; in smu7_set_mclk_od()
3314 smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, struct pp_power_state *request_ps, const struct pp_power_state *current_ps) smu7_apply_state_adjust_rules() argument
H A Dsmu8_hwmgr.c1347 ps = hwmgr->request_ps; in smu8_dpm_get_sclk()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dkv_dpm.c2878 kv_dpm_print_power_state(void *handle, void *request_ps) in kv_dpm_print_power_state() argument
2881 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state()
3225 void *request_ps, in kv_check_state_equal()
3232 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal()
3223 kv_check_state_equal(void *handle, void *current_ps, void *request_ps, bool *equal) kv_check_state_equal() argument
H A Dsi_dpm.c7938 void *request_ps, in si_check_state_equal()
7945 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in si_check_state_equal()
7936 si_check_state_equal(void *handle, void *current_ps, void *request_ps, bool *equal) si_check_state_equal() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dkv_dpm.c2880 kv_dpm_print_power_state(void *handle, void *request_ps) in kv_dpm_print_power_state() argument
2883 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state()
3213 void *request_ps, in kv_check_state_equal()
3220 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal()
3211 kv_check_state_equal(void *handle, void *current_ps, void *request_ps, bool *equal) kv_check_state_equal() argument
H A Dsi_dpm.c7964 void *request_ps, in si_check_state_equal()
7971 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in si_check_state_equal()
7962 si_check_state_equal(void *handle, void *current_ps, void *request_ps, bool *equal) si_check_state_equal() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Dhwmgr.h793 struct pp_power_state *request_ps; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h791 struct pp_power_state *request_ps; member

Completed in 62 milliseconds