Home
last modified time | relevance | path

Searched refs:max_vddc (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/radeon/
Dbtc_dpm.h55 u16 max_vddc, u16 max_vddci,
Drv770_dpm.h103 u16 max_vddc; member
Dbtc_dpm.c1307 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
1326 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
Drv770_dpm.c1697 pi->max_vddc = 0; in rv770_get_max_vddc()
1699 pi->max_vddc = vddc; in rv770_get_max_vddc()
2222 if (pi->max_vddc) in rv7xx_parse_pplib_clock_info()
2223 pl->vddc = pi->max_vddc; in rv7xx_parse_pplib_clock_info()
Dni_dpm.c998 if (pi->max_vddc == 0) in ni_patch_single_dependency_table_based_on_leakage()
1000 table->entries[i].v = pi->max_vddc; in ni_patch_single_dependency_table_based_on_leakage()
3941 if (pi->max_vddc) in ni_parse_pplib_clock_info()
3942 pl->vddc = pi->max_vddc; in ni_parse_pplib_clock_info()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h189 uint32_t max_vddc; member
Dvega10_hwmgr.h299 uint32_t max_vddc; member
Dppatomctrl.h342 extern void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc,
Dppatomctrl.c1598 void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc, in atomctrl_get_voltage_range() argument
1611 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_3 *)profile)->ulMaxVddc) / 4; in atomctrl_get_voltage_range()
1617 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_6 *)profile)->ulMaxVddc) / 100; in atomctrl_get_voltage_range()
1624 *max_vddc = 0; in atomctrl_get_voltage_range()
Dsmu7_hwmgr.c985 uint32_t max_vddc = 0; in smu7_setup_voltage_range_from_vbios() local
992 atomctrl_get_voltage_range(hwmgr, &max_vddc, &min_vddc); in smu7_setup_voltage_range_from_vbios()
998 if (max_vddc == 0 || max_vddc > 2000 in smu7_setup_voltage_range_from_vbios()
999 || max_vddc < dep_sclk_table->entries[dep_sclk_table->count-1].vddc) in smu7_setup_voltage_range_from_vbios()
1000 max_vddc = dep_sclk_table->entries[dep_sclk_table->count-1].vddc; in smu7_setup_voltage_range_from_vbios()
1003 data->odn_dpm_table.max_vddc = max_vddc; in smu7_setup_voltage_range_from_vbios()
1079 if (data->odn_dpm_table.max_vddc) { in smu7_setup_default_dpm_tables()
4989 data->odn_dpm_table.max_vddc); in smu7_print_clock_levels()
5394 if (voltage < data->odn_dpm_table.min_vddc || voltage > data->odn_dpm_table.max_vddc) { in smu7_check_clk_voltage_valid()
5397 data->odn_dpm_table.max_vddc); in smu7_check_clk_voltage_valid()
Dvega10_hwmgr.c320 data->odn_dpm_table.max_vddc = avfs_params.ulMaxVddc; in vega10_odn_initial_default_setting()
342 if (odn_table->max_vddc == 0 || odn_table->max_vddc > 2000) in vega10_odn_initial_default_setting()
343 odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc; in vega10_odn_initial_default_setting()
351 od_table[2]->entries[i].vddc = odn_table->max_vddc > od_table[2]->entries[i].vddc ? in vega10_odn_initial_default_setting()
352 odn_table->max_vddc : in vega10_odn_initial_default_setting()
2570 if (odn_table->max_vddc) { in vega10_init_smc_table()
4765 data->odn_dpm_table.max_vddc); in vega10_emit_clock_levels()
4897 data->odn_dpm_table.max_vddc); in vega10_print_clock_levels()
5349 if (voltage < odn_table->min_vddc || voltage > odn_table->max_vddc) { in vega10_check_clk_voltage_valid()
5350 pr_info("OD voltage is out of range [%d - %d] mV\n", odn_table->min_vddc, odn_table->max_vddc); in vega10_check_clk_voltage_valid()
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.h559 u16 max_vddc; member
Dsi_dpm.c3310 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
3329 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
3400 pi->max_vddc = 0; in rv770_get_max_vddc()
3402 pi->max_vddc = vddc; in rv770_get_max_vddc()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dci_smumgr.c2867 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_uvd_smc_table() local
2882 if (uvd_table->entries[i].v <= max_vddc) in ci_update_uvd_smc_table()
2904 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_vce_smc_table() local
2914 if (vce_table->entries[i].v <= max_vddc) in ci_update_vce_smc_table()