Lines Matching refs:performance_levels
2325 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2326 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2345 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2346 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2352 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2361 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2420 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3032 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
3033 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
3037 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3038 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3039 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3040 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
3041 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
3042 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
3043 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
3044 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules()
3058 if (ps->performance_levels[i].sclk > max_sclk_vddc) in si_apply_state_adjust_rules()
3059 ps->performance_levels[i].sclk = max_sclk_vddc; in si_apply_state_adjust_rules()
3062 if (ps->performance_levels[i].mclk > max_mclk_vddci) in si_apply_state_adjust_rules()
3063 ps->performance_levels[i].mclk = max_mclk_vddci; in si_apply_state_adjust_rules()
3066 if (ps->performance_levels[i].mclk > max_mclk_vddc) in si_apply_state_adjust_rules()
3067 ps->performance_levels[i].mclk = max_mclk_vddc; in si_apply_state_adjust_rules()
3070 if (ps->performance_levels[i].mclk > max_mclk) in si_apply_state_adjust_rules()
3071 ps->performance_levels[i].mclk = max_mclk; in si_apply_state_adjust_rules()
3074 if (ps->performance_levels[i].sclk > max_sclk) in si_apply_state_adjust_rules()
3075 ps->performance_levels[i].sclk = max_sclk; in si_apply_state_adjust_rules()
3082 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in si_apply_state_adjust_rules()
3083 vddci = ps->performance_levels[ps->performance_level_count - 1].vddci; in si_apply_state_adjust_rules()
3085 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3086 vddci = ps->performance_levels[0].vddci; in si_apply_state_adjust_rules()
3090 sclk = ps->performance_levels[ps->performance_level_count - 1].sclk; in si_apply_state_adjust_rules()
3091 vddc = ps->performance_levels[ps->performance_level_count - 1].vddc; in si_apply_state_adjust_rules()
3093 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3094 vddc = ps->performance_levels[0].vddc; in si_apply_state_adjust_rules()
3105 ps->performance_levels[0].sclk = sclk; in si_apply_state_adjust_rules()
3106 ps->performance_levels[0].mclk = mclk; in si_apply_state_adjust_rules()
3107 ps->performance_levels[0].vddc = vddc; in si_apply_state_adjust_rules()
3108 ps->performance_levels[0].vddci = vddci; in si_apply_state_adjust_rules()
3111 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3113 if (sclk < ps->performance_levels[i].sclk) in si_apply_state_adjust_rules()
3114 sclk = ps->performance_levels[i].sclk; in si_apply_state_adjust_rules()
3117 ps->performance_levels[i].sclk = sclk; in si_apply_state_adjust_rules()
3118 ps->performance_levels[i].vddc = vddc; in si_apply_state_adjust_rules()
3122 if (ps->performance_levels[i].sclk < ps->performance_levels[i - 1].sclk) in si_apply_state_adjust_rules()
3123 ps->performance_levels[i].sclk = ps->performance_levels[i - 1].sclk; in si_apply_state_adjust_rules()
3124 if (ps->performance_levels[i].vddc < ps->performance_levels[i - 1].vddc) in si_apply_state_adjust_rules()
3125 ps->performance_levels[i].vddc = ps->performance_levels[i - 1].vddc; in si_apply_state_adjust_rules()
3130 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3132 if (mclk < ps->performance_levels[i].mclk) in si_apply_state_adjust_rules()
3133 mclk = ps->performance_levels[i].mclk; in si_apply_state_adjust_rules()
3136 ps->performance_levels[i].mclk = mclk; in si_apply_state_adjust_rules()
3137 ps->performance_levels[i].vddci = vddci; in si_apply_state_adjust_rules()
3141 if (ps->performance_levels[i].mclk < ps->performance_levels[i - 1].mclk) in si_apply_state_adjust_rules()
3142 ps->performance_levels[i].mclk = ps->performance_levels[i - 1].mclk; in si_apply_state_adjust_rules()
3143 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in si_apply_state_adjust_rules()
3144 ps->performance_levels[i].vddci = ps->performance_levels[i - 1].vddci; in si_apply_state_adjust_rules()
3150 &ps->performance_levels[i]); in si_apply_state_adjust_rules()
3153 if (ps->performance_levels[i].vddc < min_vce_voltage) in si_apply_state_adjust_rules()
3154 ps->performance_levels[i].vddc = min_vce_voltage; in si_apply_state_adjust_rules()
3156 ps->performance_levels[i].sclk, in si_apply_state_adjust_rules()
3157 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3159 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3160 max_limits->vddci, &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3162 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3163 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3166 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3172 &ps->performance_levels[i].vddc, in si_apply_state_adjust_rules()
3173 &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3178 if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) in si_apply_state_adjust_rules()
4329 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters()
4397 cpu_to_be32(initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4413 cpu_to_be32(initial_state->performance_levels[0].sclk); in si_populate_smc_initial_state()
4421 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4439 initial_state->performance_levels[0].vddci, in si_populate_smc_initial_state()
4445 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4446 initial_state->performance_levels[0].sclk, in si_populate_smc_initial_state()
4447 initial_state->performance_levels[0].mclk, in si_populate_smc_initial_state()
4462 initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4464 if (initial_state->performance_levels[0].mclk > pi->mclk_edc_enable_threshold) in si_populate_smc_initial_state()
5112 state->performance_levels[i + 1].sclk, in si_populate_smc_t()
5113 state->performance_levels[i].sclk, in si_populate_smc_t()
5155 if (state->performance_levels[0].mclk != ulv->pl.mclk) in si_is_state_ulv_compatible()
5204 threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100; in si_convert_power_state_to_smc()
5228 ret = si_convert_power_level_to_smc(rdev, &state->performance_levels[i], in si_convert_power_state_to_smc()
5238 (state->performance_levels[i].sclk < threshold) ? in si_convert_power_state_to_smc()
5646 &state->performance_levels[i], in si_convert_mc_reg_table_to_smc()
5665 si_convert_mc_reg_table_entry_to_smc(rdev, &boot_state->performance_levels[0], in si_populate_mc_reg_table()
5727 pcie_speed = state->performance_levels[i].pcie_gen; in si_get_maximum_link_speed()
6741 struct rv7xx_pl *pl = &ps->performance_levels[index]; in si_parse_pplib_clock_info()
7106 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7126 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7144 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_mclk()