Home
last modified time | relevance | path

Searched refs:max_limits (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/radeon/
Dbtc_dpm.c1270 const struct radeon_clock_and_voltage_limits *max_limits, in btc_adjust_clock_combinations() argument
1283 max_limits->sclk, in btc_adjust_clock_combinations()
1290 max_limits->mclk, in btc_adjust_clock_combinations()
2099 struct radeon_clock_and_voltage_limits *max_limits; in btc_apply_state_adjust_rules() local
2111 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in btc_apply_state_adjust_rules()
2113 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in btc_apply_state_adjust_rules()
2116 if (ps->high.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2117 ps->high.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2118 if (ps->high.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2119 ps->high.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
[all …]
Dbtc_dpm.h48 const struct radeon_clock_and_voltage_limits *max_limits,
Dni_dpm.c790 struct radeon_clock_and_voltage_limits *max_limits; in ni_apply_state_adjust_rules() local
803 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ni_apply_state_adjust_rules()
805 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ni_apply_state_adjust_rules()
809 if (ps->performance_levels[i].mclk > max_limits->mclk) in ni_apply_state_adjust_rules()
810 ps->performance_levels[i].mclk = max_limits->mclk; in ni_apply_state_adjust_rules()
811 if (ps->performance_levels[i].sclk > max_limits->sclk) in ni_apply_state_adjust_rules()
812 ps->performance_levels[i].sclk = max_limits->sclk; in ni_apply_state_adjust_rules()
813 if (ps->performance_levels[i].vddc > max_limits->vddc) in ni_apply_state_adjust_rules()
814 ps->performance_levels[i].vddc = max_limits->vddc; in ni_apply_state_adjust_rules()
815 if (ps->performance_levels[i].vddci > max_limits->vddci) in ni_apply_state_adjust_rules()
[all …]
Dci_dpm.c785 struct radeon_clock_and_voltage_limits *max_limits; in ci_apply_state_adjust_rules() local
810 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_apply_state_adjust_rules()
812 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_apply_state_adjust_rules()
816 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
817 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
818 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
819 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
3919 const struct radeon_clock_and_voltage_limits *max_limits; in ci_enable_uvd_dpm() local
3923 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_uvd_dpm()
3925 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_uvd_dpm()
[all …]
Dsi_dpm.c2953 struct radeon_clock_and_voltage_limits *max_limits; in si_apply_state_adjust_rules() local
3007 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in si_apply_state_adjust_rules()
3009 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in si_apply_state_adjust_rules()
3017 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3018 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3019 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3020 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
3021 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
3022 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
3023 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
[all …]
Dkv_dpm.c2151 struct radeon_clock_and_voltage_limits *max_limits = in kv_apply_state_adjust_rules() local
2162 mclk = max_limits->mclk; in kv_apply_state_adjust_rules()
2166 stable_p_state_sclk = (max_limits->sclk * 75) / 100; in kv_apply_state_adjust_rules()
2285 struct radeon_clock_and_voltage_limits *max_limits = in kv_calculate_nbps_level_settings() local
2287 u32 mclk = max_limits->mclk; in kv_calculate_nbps_level_settings()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.c3179 const struct phm_clock_and_voltage_limits *max_limits; in vega10_apply_state_adjust_rules() local
3195 max_limits = adev->pm.ac_power ? in vega10_apply_state_adjust_rules()
3203 max_limits->mclk) in vega10_apply_state_adjust_rules()
3205 max_limits->mclk; in vega10_apply_state_adjust_rules()
3207 max_limits->sclk) in vega10_apply_state_adjust_rules()
3209 max_limits->sclk; in vega10_apply_state_adjust_rules()
3226 max_limits = &(hwmgr->dyn_state.max_clock_voltage_on_ac); in vega10_apply_state_adjust_rules()
3227 stable_pstate_sclk = (max_limits->sclk * in vega10_apply_state_adjust_rules()
3243 stable_pstate_mclk = max_limits->mclk; in vega10_apply_state_adjust_rules()
3268 sclk = (minimum_clocks.engineClock > max_limits->sclk) ? in vega10_apply_state_adjust_rules()
[all …]
Dsmu7_hwmgr.c2924 const struct phm_clock_and_voltage_limits *max_limits; in smu7_apply_state_adjust_rules() local
2939 max_limits = adev->pm.ac_power ? in smu7_apply_state_adjust_rules()
2946 if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) in smu7_apply_state_adjust_rules()
2947 smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; in smu7_apply_state_adjust_rules()
2948 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
2949 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
2958 max_limits = &(hwmgr->dyn_state.max_clock_voltage_on_ac); in smu7_apply_state_adjust_rules()
2959 stable_pstate_sclk = (max_limits->sclk * 75) / 100; in smu7_apply_state_adjust_rules()
2974 stable_pstate_mclk = max_limits->mclk; in smu7_apply_state_adjust_rules()
3001 sclk = (minimum_clocks.engineClock > max_limits->sclk) ? in smu7_apply_state_adjust_rules()
[all …]
Dvega12_hwmgr.c1711 struct phm_clock_and_voltage_limits *max_limits = in vega12_get_dal_power_level()
1714 info->engine_max_clock = max_limits->sclk; in vega12_get_dal_power_level()
1715 info->memory_max_clock = max_limits->mclk; in vega12_get_dal_power_level()
Dvega20_hwmgr.c2757 struct phm_clock_and_voltage_limits *max_limits = in vega20_get_dal_power_level()
2760 info->engine_max_clock = max_limits->sclk; in vega20_get_dal_power_level()
2761 info->memory_max_clock = max_limits->mclk; in vega20_get_dal_power_level()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c3268 const struct amdgpu_clock_and_voltage_limits *max_limits, in btc_adjust_clock_combinations() argument
3281 max_limits->sclk, in btc_adjust_clock_combinations()
3288 max_limits->mclk, in btc_adjust_clock_combinations()
3411 struct amdgpu_clock_and_voltage_limits *max_limits; in si_apply_state_adjust_rules() local
3465 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in si_apply_state_adjust_rules()
3467 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in si_apply_state_adjust_rules()
3475 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3476 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3477 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3478 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
[all …]
Dkv_dpm.c2217 struct amdgpu_clock_and_voltage_limits *max_limits = in kv_apply_state_adjust_rules() local
2228 mclk = max_limits->mclk; in kv_apply_state_adjust_rules()
2232 stable_p_state_sclk = (max_limits->sclk * 75) / 100; in kv_apply_state_adjust_rules()
2351 struct amdgpu_clock_and_voltage_limits *max_limits = in kv_calculate_nbps_level_settings() local
2353 u32 mclk = max_limits->mclk; in kv_calculate_nbps_level_settings()