Lines Matching refs:max_limits
930 struct amdgpu_clock_and_voltage_limits *max_limits; in ci_apply_state_adjust_rules() local
955 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_apply_state_adjust_rules()
957 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_apply_state_adjust_rules()
961 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
962 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
963 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
964 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
4078 const struct amdgpu_clock_and_voltage_limits *max_limits; in ci_enable_uvd_dpm() local
4082 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_uvd_dpm()
4084 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_uvd_dpm()
4090 if (adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_uvd_dpm()
4127 const struct amdgpu_clock_and_voltage_limits *max_limits; in ci_enable_vce_dpm() local
4131 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_vce_dpm()
4133 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_vce_dpm()
4138 if (adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_vce_dpm()
4160 const struct amdgpu_clock_and_voltage_limits *max_limits;
4164 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac;
4166 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc;
4171 … if (adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {
4191 const struct amdgpu_clock_and_voltage_limits *max_limits;
4195 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac;
4197 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc;
4202 if (adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {