Lines Matching refs:max_limits
908 struct amdgpu_clock_and_voltage_limits *max_limits; in ci_apply_state_adjust_rules() local
933 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_apply_state_adjust_rules()
935 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_apply_state_adjust_rules()
939 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
940 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
941 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
942 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
4039 const struct amdgpu_clock_and_voltage_limits *max_limits; in ci_enable_uvd_dpm() local
4043 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_uvd_dpm()
4045 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_uvd_dpm()
4051 if (adev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_uvd_dpm()
4088 const struct amdgpu_clock_and_voltage_limits *max_limits; in ci_enable_vce_dpm() local
4092 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_vce_dpm()
4094 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_vce_dpm()
4099 if (adev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) { in ci_enable_vce_dpm()
4121 const struct amdgpu_clock_and_voltage_limits *max_limits;
4125 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac;
4127 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc;
4132 … if (adev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {
4152 const struct amdgpu_clock_and_voltage_limits *max_limits;
4156 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac;
4158 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc;
4163 if (adev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v <= max_limits->vddc) {