Lines Matching refs:performance_levels

2321 		prev_sclk = state->performance_levels[i-1].sclk;  in si_populate_power_containment_values()
2322 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2341 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2342 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2348 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2357 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2416 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
2978 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
2979 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
2983 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
2984 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
2985 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
2986 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
2987 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
2988 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
2989 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
2990 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules()
3004 if (ps->performance_levels[i].sclk > max_sclk_vddc) in si_apply_state_adjust_rules()
3005 ps->performance_levels[i].sclk = max_sclk_vddc; in si_apply_state_adjust_rules()
3008 if (ps->performance_levels[i].mclk > max_mclk_vddci) in si_apply_state_adjust_rules()
3009 ps->performance_levels[i].mclk = max_mclk_vddci; in si_apply_state_adjust_rules()
3012 if (ps->performance_levels[i].mclk > max_mclk_vddc) in si_apply_state_adjust_rules()
3013 ps->performance_levels[i].mclk = max_mclk_vddc; in si_apply_state_adjust_rules()
3016 if (ps->performance_levels[i].mclk > max_mclk) in si_apply_state_adjust_rules()
3017 ps->performance_levels[i].mclk = max_mclk; in si_apply_state_adjust_rules()
3020 if (ps->performance_levels[i].sclk > max_sclk) in si_apply_state_adjust_rules()
3021 ps->performance_levels[i].sclk = max_sclk; in si_apply_state_adjust_rules()
3028 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in si_apply_state_adjust_rules()
3029 vddci = ps->performance_levels[ps->performance_level_count - 1].vddci; in si_apply_state_adjust_rules()
3031 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3032 vddci = ps->performance_levels[0].vddci; in si_apply_state_adjust_rules()
3036 sclk = ps->performance_levels[ps->performance_level_count - 1].sclk; in si_apply_state_adjust_rules()
3037 vddc = ps->performance_levels[ps->performance_level_count - 1].vddc; in si_apply_state_adjust_rules()
3039 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3040 vddc = ps->performance_levels[0].vddc; in si_apply_state_adjust_rules()
3044 ps->performance_levels[0].sclk = sclk; in si_apply_state_adjust_rules()
3045 ps->performance_levels[0].mclk = mclk; in si_apply_state_adjust_rules()
3046 ps->performance_levels[0].vddc = vddc; in si_apply_state_adjust_rules()
3047 ps->performance_levels[0].vddci = vddci; in si_apply_state_adjust_rules()
3050 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3052 if (sclk < ps->performance_levels[i].sclk) in si_apply_state_adjust_rules()
3053 sclk = ps->performance_levels[i].sclk; in si_apply_state_adjust_rules()
3056 ps->performance_levels[i].sclk = sclk; in si_apply_state_adjust_rules()
3057 ps->performance_levels[i].vddc = vddc; in si_apply_state_adjust_rules()
3061 if (ps->performance_levels[i].sclk < ps->performance_levels[i - 1].sclk) in si_apply_state_adjust_rules()
3062 ps->performance_levels[i].sclk = ps->performance_levels[i - 1].sclk; in si_apply_state_adjust_rules()
3063 if (ps->performance_levels[i].vddc < ps->performance_levels[i - 1].vddc) in si_apply_state_adjust_rules()
3064 ps->performance_levels[i].vddc = ps->performance_levels[i - 1].vddc; in si_apply_state_adjust_rules()
3069 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3071 if (mclk < ps->performance_levels[i].mclk) in si_apply_state_adjust_rules()
3072 mclk = ps->performance_levels[i].mclk; in si_apply_state_adjust_rules()
3075 ps->performance_levels[i].mclk = mclk; in si_apply_state_adjust_rules()
3076 ps->performance_levels[i].vddci = vddci; in si_apply_state_adjust_rules()
3080 if (ps->performance_levels[i].mclk < ps->performance_levels[i - 1].mclk) in si_apply_state_adjust_rules()
3081 ps->performance_levels[i].mclk = ps->performance_levels[i - 1].mclk; in si_apply_state_adjust_rules()
3082 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in si_apply_state_adjust_rules()
3083 ps->performance_levels[i].vddci = ps->performance_levels[i - 1].vddci; in si_apply_state_adjust_rules()
3089 &ps->performance_levels[i]); in si_apply_state_adjust_rules()
3093 ps->performance_levels[i].sclk, in si_apply_state_adjust_rules()
3094 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3096 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3097 max_limits->vddci, &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3099 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3100 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3103 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3109 &ps->performance_levels[i].vddc, in si_apply_state_adjust_rules()
3110 &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3115 if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) in si_apply_state_adjust_rules()
4267 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters()
4335 cpu_to_be32(initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4351 cpu_to_be32(initial_state->performance_levels[0].sclk); in si_populate_smc_initial_state()
4359 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4377 initial_state->performance_levels[0].vddci, in si_populate_smc_initial_state()
4383 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4384 initial_state->performance_levels[0].sclk, in si_populate_smc_initial_state()
4385 initial_state->performance_levels[0].mclk, in si_populate_smc_initial_state()
4400 initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4402 if (initial_state->performance_levels[0].mclk > pi->mclk_edc_enable_threshold) in si_populate_smc_initial_state()
5050 state->performance_levels[i + 1].sclk, in si_populate_smc_t()
5051 state->performance_levels[i].sclk, in si_populate_smc_t()
5093 if (state->performance_levels[0].mclk != ulv->pl.mclk) in si_is_state_ulv_compatible()
5142 threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100; in si_convert_power_state_to_smc()
5166 ret = si_convert_power_level_to_smc(rdev, &state->performance_levels[i], in si_convert_power_state_to_smc()
5176 (state->performance_levels[i].sclk < threshold) ? in si_convert_power_state_to_smc()
5584 &state->performance_levels[i], in si_convert_mc_reg_table_to_smc()
5603 si_convert_mc_reg_table_entry_to_smc(rdev, &boot_state->performance_levels[0], in si_populate_mc_reg_table()
5665 pcie_speed = state->performance_levels[i].pcie_gen; in si_get_maximum_link_speed()
6661 struct rv7xx_pl *pl = &ps->performance_levels[index]; in si_parse_pplib_clock_info()
6996 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7016 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7034 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_mclk()