Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dbtc_dpm.h55 u16 max_vddc, u16 max_vddci,
Drv770_dpm.h103 u16 max_vddc; member
Dbtc_dpm.c1309 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
1328 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
Drv770_dpm.c1695 pi->max_vddc = 0; in rv770_get_max_vddc()
1697 pi->max_vddc = vddc; in rv770_get_max_vddc()
2220 if (pi->max_vddc) in rv7xx_parse_pplib_clock_info()
2221 pl->vddc = pi->max_vddc; in rv7xx_parse_pplib_clock_info()
Dni_dpm.c999 if (pi->max_vddc == 0) in ni_patch_single_dependency_table_based_on_leakage()
1001 table->entries[i].v = pi->max_vddc; in ni_patch_single_dependency_table_based_on_leakage()
3944 if (pi->max_vddc) in ni_parse_pplib_clock_info()
3945 pl->vddc = pi->max_vddc; in ni_parse_pplib_clock_info()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h189 uint32_t max_vddc; member
Dppatomctrl.c1534 void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc, in atomctrl_get_voltage_range() argument
1547 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_3 *)profile)->ulMaxVddc) / 4; in atomctrl_get_voltage_range()
1553 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_6 *)profile)->ulMaxVddc) / 100; in atomctrl_get_voltage_range()
1560 *max_vddc = 0; in atomctrl_get_voltage_range()
Dsmu7_hwmgr.c922 uint32_t max_vddc = 0; in smu7_setup_voltage_range_from_vbios() local
929 atomctrl_get_voltage_range(hwmgr, &max_vddc, &min_vddc); in smu7_setup_voltage_range_from_vbios()
935 if (max_vddc == 0 || max_vddc > 2000 in smu7_setup_voltage_range_from_vbios()
936 || max_vddc < dep_sclk_table->entries[dep_sclk_table->count-1].vddc) in smu7_setup_voltage_range_from_vbios()
937 max_vddc = dep_sclk_table->entries[dep_sclk_table->count-1].vddc; in smu7_setup_voltage_range_from_vbios()
940 data->odn_dpm_table.max_vddc = max_vddc; in smu7_setup_voltage_range_from_vbios()
1016 if (data->odn_dpm_table.max_vddc) { in smu7_setup_default_dpm_tables()
4643 data->odn_dpm_table.max_vddc); in smu7_print_clock_levels()
4995 if (voltage < data->odn_dpm_table.min_vddc || voltage > data->odn_dpm_table.max_vddc) { in smu7_check_clk_voltage_valid()
4998 data->odn_dpm_table.max_vddc); in smu7_check_clk_voltage_valid()
Dvega10_hwmgr.h299 uint32_t max_vddc; member
Dppatomctrl.h325 extern void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc,
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()
2567 if (odn_table->max_vddc) { in vega10_init_smc_table()
4744 data->odn_dpm_table.max_vddc); in vega10_print_clock_levels()
5192 if (voltage < odn_table->min_vddc || voltage > odn_table->max_vddc) { in vega10_check_clk_voltage_valid()
5193 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()
/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.h559 u16 max_vddc; member
Dsi_dpm.c3295 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
3314 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
3385 pi->max_vddc = 0; in rv770_get_max_vddc()
3387 pi->max_vddc = vddc; in rv770_get_max_vddc()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dci_smumgr.c2865 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_uvd_smc_table() local
2880 if (uvd_table->entries[i].v <= max_vddc) in ci_update_uvd_smc_table()
2902 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_vce_smc_table() local
2912 if (vce_table->entries[i].v <= max_vddc) in ci_update_vce_smc_table()