Home
last modified time | relevance | path

Searched refs:prev_sclk (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dsumo_dpm.c1598 u32 prev_sclk = 0; in sumo_construct_sclk_voltage_mapping_table() local
1601 if (table[i].ulSupportedSCLK > prev_sclk) { in sumo_construct_sclk_voltage_mapping_table()
1606 prev_sclk = table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table()
Dni_dpm.c2457 u32 prev_sclk; in ni_populate_power_containment_values() local
2501 prev_sclk = state->performance_levels[i-1].sclk; in ni_populate_power_containment_values()
2506 if (max_sclk < prev_sclk) in ni_populate_power_containment_values()
2509 if ((max_ps_percent == 0) || (prev_sclk == max_sclk) || eg_pi->uvd_enabled) in ni_populate_power_containment_values()
2512 min_sclk = prev_sclk; in ni_populate_power_containment_values()
2514 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in ni_populate_power_containment_values()
Dsi_dpm.c2277 u32 prev_sclk; in si_populate_power_containment_values() local
2306 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2313 if (prev_sclk > max_sclk) in si_populate_power_containment_values()
2317 (prev_sclk == max_sclk) || in si_populate_power_containment_values()
2321 min_sclk = prev_sclk; in si_populate_power_containment_values()
2323 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in si_populate_power_containment_values()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c142 u32 prev_sclk = 0; in sumo_construct_sclk_voltage_mapping_table() local
145 if (table[i].ulSupportedSCLK > prev_sclk) { in sumo_construct_sclk_voltage_mapping_table()
150 prev_sclk = table[i].ulSupportedSCLK; in sumo_construct_sclk_voltage_mapping_table()
Dsi_dpm.c2373 u32 prev_sclk; in si_populate_power_containment_values() local
2402 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2409 if (prev_sclk > max_sclk) in si_populate_power_containment_values()
2413 (prev_sclk == max_sclk) || in si_populate_power_containment_values()
2417 min_sclk = prev_sclk; in si_populate_power_containment_values()
2419 min_sclk = (prev_sclk * (u32)max_ps_percent) / 100; in si_populate_power_containment_values()