Home
last modified time | relevance | path

Searched refs:min_sclk (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu10_hwmgr.c595 uint32_t min_sclk = hwmgr->display_config->min_core_set_clock; in smu10_dpm_force_dpm_level() local
605 if (min_sclk < data->gfx_min_freq_limit) in smu10_dpm_force_dpm_level()
606 min_sclk = data->gfx_min_freq_limit; in smu10_dpm_force_dpm_level()
608 min_sclk /= 100; /* transfer 10KHz to MHz */ in smu10_dpm_force_dpm_level()
652 min_sclk, in smu10_dpm_force_dpm_level()
656 min_sclk, in smu10_dpm_force_dpm_level()
707 min_sclk, in smu10_dpm_force_dpm_level()
Dvega12_hwmgr.c710 hwmgr->default_compute_power_profile.min_sclk =
2545 uint32_t min_sclk, uint32_t min_mclk)
2553 dpm_table->gfx_table.dpm_levels[i].value >= min_sclk) {
/Linux-v5.10/drivers/gpu/drm/radeon/
Dtrinity_dpm.h79 u32 min_sclk; member
Dsumo_dpm.h83 u32 min_sclk; member
Dtrinity_dpm.c1403 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in trinity_patch_thermal_state()
1542 u32 min_sclk = pi->sys_info.min_sclk; /* XXX check against disp reqs */ in trinity_apply_state_adjust_rules() local
1543 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in trinity_apply_state_adjust_rules()
1566 if (ps->levels[i].sclk < min_sclk) in trinity_apply_state_adjust_rules()
1568 trinity_get_valid_engine_clock(rdev, min_sclk); in trinity_apply_state_adjust_rules()
1866 pi->sys_info.min_sclk = le32_to_cpu(igp_info->info_7.ulMinEngineClock); in trinity_parse_sys_info_table()
Dsumo_dpm.c1047 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_patch_thermal_state()
1094 u32 min_sclk = pi->sys_info.min_sclk; /* XXX check against disp reqs */ in sumo_apply_state_adjust_rules() local
1095 u32 sclk_in_sr = pi->sys_info.min_sclk; /* ??? */ in sumo_apply_state_adjust_rules()
1115 if (ps->levels[i].sclk < min_sclk) in sumo_apply_state_adjust_rules()
1117 sumo_get_valid_engine_clock(rdev, min_sclk); in sumo_apply_state_adjust_rules()
1675 pi->sys_info.min_sclk = le32_to_cpu(igp_info->info_6.ulMinEngineClock); in sumo_parse_sys_info_table()
Dni_dpm.c2459 u32 min_sclk; in ni_populate_power_containment_values() local
2510 min_sclk = max_sclk; 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()
2516 if (min_sclk < state->performance_levels[0].sclk) in ni_populate_power_containment_values()
2517 min_sclk = state->performance_levels[0].sclk; in ni_populate_power_containment_values()
2519 if (min_sclk == 0) in ni_populate_power_containment_values()
2523 (u8)((NISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / max_sclk); in ni_populate_power_containment_values()
Dsi_dpm.c2279 u32 min_sclk; in si_populate_power_containment_values() local
2319 min_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()
2326 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2327 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2329 if (min_sclk == 0) in si_populate_power_containment_values()
2353 …smc_state->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / ma… in si_populate_power_containment_values()
Dkv_dpm.c2144 u32 min_sclk = 10000; /* ??? */ in kv_apply_state_adjust_rules() local
2163 sclk = min_sclk; in kv_apply_state_adjust_rules()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c2375 u32 min_sclk; in si_populate_power_containment_values() local
2415 min_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()
2421 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2422 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2424 if (min_sclk == 0) in si_populate_power_containment_values()
2448 …smc_state->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / ma… in si_populate_power_containment_values()
Dkv_dpm.c2210 u32 min_sclk = 10000; /* ??? */ in kv_apply_state_adjust_rules() local
2229 sclk = min_sclk; in kv_apply_state_adjust_rules()