Home
last modified time | relevance | path

Searched refs:performance_levels (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/radeon/
Dni_dpm.c810 if (ps->performance_levels[i].mclk > max_limits->mclk) in ni_apply_state_adjust_rules()
811 ps->performance_levels[i].mclk = max_limits->mclk; in ni_apply_state_adjust_rules()
812 if (ps->performance_levels[i].sclk > max_limits->sclk) in ni_apply_state_adjust_rules()
813 ps->performance_levels[i].sclk = max_limits->sclk; in ni_apply_state_adjust_rules()
814 if (ps->performance_levels[i].vddc > max_limits->vddc) in ni_apply_state_adjust_rules()
815 ps->performance_levels[i].vddc = max_limits->vddc; in ni_apply_state_adjust_rules()
816 if (ps->performance_levels[i].vddci > max_limits->vddci) in ni_apply_state_adjust_rules()
817 ps->performance_levels[i].vddci = max_limits->vddci; in ni_apply_state_adjust_rules()
825 ps->performance_levels[0].mclk = in ni_apply_state_adjust_rules()
826 ps->performance_levels[ps->performance_level_count - 1].mclk; in ni_apply_state_adjust_rules()
[all …]
Dsi_dpm.c2325 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()
[all …]
Dci_dpm.c831 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
832 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
833 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
834 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
841 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
842 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
844 mclk = ps->performance_levels[0].mclk; in ci_apply_state_adjust_rules()
845 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
855 ps->performance_levels[0].sclk = sclk; in ci_apply_state_adjust_rules()
856 ps->performance_levels[0].mclk = mclk; in ci_apply_state_adjust_rules()
[all …]
Dni_dpm.h175 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
Dci_dpm.h50 struct ci_pl performance_levels[CISLANDS_MAX_HARDWARE_POWERLEVELS]; member
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_hwmgr.c2917 if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) in smu7_apply_state_adjust_rules()
2918 smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; in smu7_apply_state_adjust_rules()
2919 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
2920 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
2964 sclk = smu7_ps->performance_levels[0].engine_clock; in smu7_apply_state_adjust_rules()
2965 mclk = smu7_ps->performance_levels[0].memory_clock; in smu7_apply_state_adjust_rules()
2968 mclk = smu7_ps->performance_levels in smu7_apply_state_adjust_rules()
2979 smu7_ps->performance_levels[0].engine_clock = sclk; in smu7_apply_state_adjust_rules()
2980 smu7_ps->performance_levels[0].memory_clock = mclk; in smu7_apply_state_adjust_rules()
2982 smu7_ps->performance_levels[1].engine_clock = in smu7_apply_state_adjust_rules()
[all …]
Dvega10_hwmgr.c3056 performance_level = &(vega10_power_state->performance_levels in vega10_get_pp_table_entry_callback_func()
3080 performance_level = &(vega10_power_state->performance_levels in vega10_get_pp_table_entry_callback_func()
3167 if (vega10_ps->performance_levels[i].mem_clock > in vega10_apply_state_adjust_rules()
3169 vega10_ps->performance_levels[i].mem_clock = in vega10_apply_state_adjust_rules()
3171 if (vega10_ps->performance_levels[i].gfx_clock > in vega10_apply_state_adjust_rules()
3173 vega10_ps->performance_levels[i].gfx_clock = in vega10_apply_state_adjust_rules()
3229 sclk = vega10_ps->performance_levels[0].gfx_clock; in vega10_apply_state_adjust_rules()
3230 mclk = vega10_ps->performance_levels[0].mem_clock; in vega10_apply_state_adjust_rules()
3240 vega10_ps->performance_levels[0].gfx_clock = sclk; in vega10_apply_state_adjust_rules()
3241 vega10_ps->performance_levels[0].mem_clock = mclk; in vega10_apply_state_adjust_rules()
[all …]
Dsmu7_hwmgr.h85 struct smu7_performance_level performance_levels[SMU7_MAX_HARDWARE_POWERLEVELS]; member
Dvega10_hwmgr.h112 struct vega10_performance_level performance_levels[VEGA10_MAX_HARDWARE_POWERLEVELS]; member
Dvega20_hwmgr.h129 struct vega20_performance_level performance_levels[VEGA20_MAX_HARDWARE_POWERLEVELS]; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c2422 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2423 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2441 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2442 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2448 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2457 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2516 if ((state->performance_levels[i].sclk >= adev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3183 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >= in ni_set_uvd_clock_before_set_eng_clock()
3184 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_before_set_eng_clock()
3201 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk < in ni_set_uvd_clock_after_set_eng_clock()
[all …]
Dsi_dpm.h617 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
/Linux-v5.4/drivers/platform/x86/
Dsamsung-laptop.c148 const struct sabi_performance_level performance_levels[4]; member
205 .performance_levels = {
268 .performance_levels = {
672 for (i = 0; config->performance_levels[i].name; ++i) { in get_performance_level()
673 if (sretval.data[0] == config->performance_levels[i].value) in get_performance_level()
674 return sprintf(buf, "%s\n", config->performance_levels[i].name); in get_performance_level()
691 for (i = 0; config->performance_levels[i].name; ++i) { in set_performance_level()
693 &config->performance_levels[i]; in set_performance_level()
702 if (!config->performance_levels[i].name) in set_performance_level()
1219 ok = !!samsung->config->performance_levels[0].name; in samsung_sysfs_is_visible()