Lines Matching refs:dpm
356 struct trinity_power_info *pi = rdev->pm.dpm.priv; in trinity_get_pi()
1060 rdev->pm.dpm.thermal.min_temp = low_temp; in trinity_set_thermal_temperature_range()
1061 rdev->pm.dpm.thermal.max_temp = high_temp; in trinity_set_thermal_temperature_range()
1123 trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in trinity_dpm_enable()
1171 trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in trinity_dpm_disable()
1226 rdev->pm.dpm.forced_level = level; in trinity_dpm_force_performance_level()
1234 struct radeon_ps requested_ps = *rdev->pm.dpm.requested_ps; in trinity_dpm_pre_set_power_state()
1255 trinity_dpm_bapm_enable(rdev, rdev->pm.dpm.ac_power); in trinity_dpm_set_power_state()
1509 &rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table; in trinity_get_vce_clock_voltage()
1546 u32 num_active_displays = rdev->pm.dpm.new_active_crtc_count; in trinity_apply_state_adjust_rules()
1554 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in trinity_apply_state_adjust_rules()
1555 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules()
1572 if (ps->levels[i].sclk < rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk) in trinity_apply_state_adjust_rules()
1573 ps->levels[i].sclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].sclk; in trinity_apply_state_adjust_rules()
1636 u32 num_active_displays = rdev->pm.dpm.new_active_crtc_count; in trinity_add_dccac_value()
1699 rdev->pm.dpm.boot_ps = rps; in trinity_parse_pplib_non_clock_info()
1703 rdev->pm.dpm.uvd_ps = rps; in trinity_parse_pplib_non_clock_info()
1760 rdev->pm.dpm.ps = kzalloc(sizeof(struct radeon_ps) * in trinity_parse_power_table()
1762 if (!rdev->pm.dpm.ps) in trinity_parse_power_table()
1775 kfree(rdev->pm.dpm.ps); in trinity_parse_power_table()
1778 rdev->pm.dpm.ps[i].ps_priv = ps; in trinity_parse_power_table()
1791 &rdev->pm.dpm.ps[i], k, in trinity_parse_power_table()
1795 trinity_parse_pplib_non_clock_info(rdev, &rdev->pm.dpm.ps[i], in trinity_parse_power_table()
1800 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
1805 clock_array_index = rdev->pm.dpm.vce_states[i].clk_idx; in trinity_parse_power_table()
1810 rdev->pm.dpm.vce_states[i].sclk = sclk; in trinity_parse_power_table()
1811 rdev->pm.dpm.vce_states[i].mclk = 0; in trinity_parse_power_table()
1953 rdev->pm.dpm.priv = pi; in trinity_dpm_init()
2080 for (i = 0; i < rdev->pm.dpm.num_ps; i++) { in trinity_dpm_fini()
2081 kfree(rdev->pm.dpm.ps[i].ps_priv); in trinity_dpm_fini()
2083 kfree(rdev->pm.dpm.ps); in trinity_dpm_fini()
2084 kfree(rdev->pm.dpm.priv); in trinity_dpm_fini()