Home
last modified time | relevance | path

Searched refs:eg_pi (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dcypress_dpm.c121 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_gfx_clock_gating_enable() local
124 if (eg_pi->light_sleep) { in cypress_gfx_clock_gating_enable()
149 if (eg_pi->light_sleep) { in cypress_gfx_clock_gating_enable()
174 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_mg_clock_gating_enable() local
196 if (eg_pi->mcls) { in cypress_mg_clock_gating_enable()
303 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_pcie_performance_request() local
315 eg_pi->pcie_performance_request_registered = true; in cypress_pcie_performance_request()
318 eg_pi->pcie_performance_request_registered) { in cypress_pcie_performance_request()
319 eg_pi->pcie_performance_request_registered = false; in cypress_pcie_performance_request()
655 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_populate_mvdd_value() local
[all …]
Dbtc_dpm.c1310 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_apply_voltage_delta_rules() local
1318 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
1324 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules()
1386 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_disable_ulv() local
1388 if (eg_pi->ulv.supported) { in btc_disable_ulv()
1399 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_populate_ulv_state() local
1400 struct rv7xx_pl *ulv_pl = eg_pi->ulv.pl; in btc_populate_ulv_state()
1629 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_init_smc_table() local
1666 if (eg_pi->sclk_deep_sleep) in btc_init_smc_table()
1674 if (eg_pi->ulv.supported) { in btc_init_smc_table()
[all …]
Dni_dpm.c1100 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in ni_process_firmware_header() local
1133 eg_pi->mc_reg_table_start = (u16)tmp; in ni_process_firmware_header()
1273 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in ni_populate_smc_voltage_tables() local
1276 if (eg_pi->vddc_voltage_table.count) { in ni_populate_smc_voltage_tables()
1277 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables()
1280 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in ni_populate_smc_voltage_tables()
1282 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in ni_populate_smc_voltage_tables()
1283 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in ni_populate_smc_voltage_tables()
1290 if (eg_pi->vddci_voltage_table.count) { in ni_populate_smc_voltage_tables()
1291 ni_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in ni_populate_smc_voltage_tables()
[all …]
Dsi_dpm.c2270 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_populate_power_containment_values() local
2329 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2338 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3651 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_program_ds_registers() local
3654 if (eg_pi->sclk_deep_sleep) { in si_program_ds_registers()
3940 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_construct_voltage_tables() local
3946 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3950 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables()
3953 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
3957 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables()
[all …]
Drv770_dpm.c2180 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in rv7xx_parse_pplib_clock_info() local
2229 eg_pi->acpi_vddci = pl->vddci; in rv7xx_parse_pplib_clock_info()
2238 eg_pi->ulv.supported = true; in rv7xx_parse_pplib_clock_info()
2239 eg_pi->ulv.pl = pl; in rv7xx_parse_pplib_clock_info()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c2384 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in si_populate_power_containment_values() local
2442 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
2451 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values()
3145 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in ni_update_current_ps() local
3148 eg_pi->current_rps = *rps; in ni_update_current_ps()
3150 eg_pi->current_rps.ps_priv = &ni_pi->current_ps; in ni_update_current_ps()
3151 adev->pm.dpm.current_ps = &eg_pi->current_rps; in ni_update_current_ps()
3158 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in ni_update_requested_ps() local
3161 eg_pi->requested_rps = *rps; in ni_update_requested_ps()
3163 eg_pi->requested_rps.ps_priv = &ni_pi->requested_ps; in ni_update_requested_ps()
[all …]