Lines Matching full:pm
145 if (rps == rdev->pm.dpm.current_ps) in r600_dpm_print_ps_status()
147 if (rps == rdev->pm.dpm.requested_ps) in r600_dpm_print_ps_status()
149 if (rps == rdev->pm.dpm.boot_ps) in r600_dpm_print_ps_status()
756 rdev->pm.dpm.thermal.min_temp = low_temp; in r600_set_thermal_temperature_range()
757 rdev->pm.dpm.thermal.max_temp = high_temp; in r600_set_thermal_temperature_range()
790 r600_is_internal_thermal_sensor(rdev->pm.int_thermal_type)) { in r600_dpm_late_enable()
856 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps()
857 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
858 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
893 rdev->pm.dpm.fan.t_hyst = fan_info->fan.ucTHyst; in r600_parse_extended_power_table()
894 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in r600_parse_extended_power_table()
895 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in r600_parse_extended_power_table()
896 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in r600_parse_extended_power_table()
897 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table()
898 rdev->pm.dpm.fan.pwm_med = le16_to_cpu(fan_info->fan.usPWMMed); in r600_parse_extended_power_table()
899 rdev->pm.dpm.fan.pwm_high = le16_to_cpu(fan_info->fan.usPWMHigh); in r600_parse_extended_power_table()
901 rdev->pm.dpm.fan.t_max = le16_to_cpu(fan_info->fan2.usTMax); in r600_parse_extended_power_table()
903 rdev->pm.dpm.fan.t_max = 10900; in r600_parse_extended_power_table()
904 rdev->pm.dpm.fan.cycle_delay = 100000; in r600_parse_extended_power_table()
906 rdev->pm.dpm.fan.control_mode = fan_info->fan3.ucFanControlMode; in r600_parse_extended_power_table()
907 rdev->pm.dpm.fan.default_max_fan_pwm = in r600_parse_extended_power_table()
909 rdev->pm.dpm.fan.default_fan_output_sensitivity = 4836; in r600_parse_extended_power_table()
910 rdev->pm.dpm.fan.fan_output_sensitivity = in r600_parse_extended_power_table()
913 rdev->pm.dpm.fan.ucode_fan_control = true; in r600_parse_extended_power_table()
924 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, in r600_parse_extended_power_table()
933 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, in r600_parse_extended_power_table()
936 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
944 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, in r600_parse_extended_power_table()
947 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
948 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
956 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, in r600_parse_extended_power_table()
959 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
960 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
961 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries); in r600_parse_extended_power_table()
971 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk = in r600_parse_extended_power_table()
974 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk = in r600_parse_extended_power_table()
977 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc = in r600_parse_extended_power_table()
979 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddci = in r600_parse_extended_power_table()
990 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries = in r600_parse_extended_power_table()
994 if (!rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries) { in r600_parse_extended_power_table()
1001 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].sclk = in r600_parse_extended_power_table()
1003 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].mclk = in r600_parse_extended_power_table()
1005 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = in r600_parse_extended_power_table()
1010 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.count = in r600_parse_extended_power_table()
1018 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
1019 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table()
1020 rdev->pm.dpm.near_tdp_limit_adjusted = rdev->pm.dpm.near_tdp_limit; in r600_parse_extended_power_table()
1021 rdev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); in r600_parse_extended_power_table()
1022 if (rdev->pm.dpm.tdp_od_limit) in r600_parse_extended_power_table()
1023 rdev->pm.dpm.power_control = true; in r600_parse_extended_power_table()
1025 rdev->pm.dpm.power_control = false; in r600_parse_extended_power_table()
1026 rdev->pm.dpm.tdp_adjustment = 0; in r600_parse_extended_power_table()
1027 rdev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); in r600_parse_extended_power_table()
1028 rdev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); in r600_parse_extended_power_table()
1029 rdev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); in r600_parse_extended_power_table()
1037 rdev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1038 if (!rdev->pm.dpm.dyn_state.cac_leakage_table.entries) { in r600_parse_extended_power_table()
1044 if (rdev->pm.dpm.platform_caps & ATOM_PP_PLATFORM_CAP_EVV) { in r600_parse_extended_power_table()
1045 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1 = in r600_parse_extended_power_table()
1047 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2 = in r600_parse_extended_power_table()
1049 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3 = in r600_parse_extended_power_table()
1052 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc = in r600_parse_extended_power_table()
1054 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage = in r600_parse_extended_power_table()
1060 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table()
1091 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1093 if (!rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1097 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1105 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in r600_parse_extended_power_table()
1107 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in r600_parse_extended_power_table()
1109 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1120 rdev->pm.dpm.vce_states[i].evclk = in r600_parse_extended_power_table()
1122 rdev->pm.dpm.vce_states[i].ecclk = in r600_parse_extended_power_table()
1124 rdev->pm.dpm.vce_states[i].clk_idx = in r600_parse_extended_power_table()
1126 rdev->pm.dpm.vce_states[i].pstate = in r600_parse_extended_power_table()
1145 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1147 if (!rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1151 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1158 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].vclk = in r600_parse_extended_power_table()
1160 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].dclk = in r600_parse_extended_power_table()
1162 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1177 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1179 if (!rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1183 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1187 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].clk = in r600_parse_extended_power_table()
1189 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1200 rdev->pm.dpm.dyn_state.ppm_table = in r600_parse_extended_power_table()
1202 if (!rdev->pm.dpm.dyn_state.ppm_table) { in r600_parse_extended_power_table()
1206 rdev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in r600_parse_extended_power_table()
1207 rdev->pm.dpm.dyn_state.ppm_table->cpu_core_number = in r600_parse_extended_power_table()
1209 rdev->pm.dpm.dyn_state.ppm_table->platform_tdp = in r600_parse_extended_power_table()
1211 rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdp = in r600_parse_extended_power_table()
1213 rdev->pm.dpm.dyn_state.ppm_table->platform_tdc = in r600_parse_extended_power_table()
1215 rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdc = in r600_parse_extended_power_table()
1217 rdev->pm.dpm.dyn_state.ppm_table->apu_tdp = in r600_parse_extended_power_table()
1219 rdev->pm.dpm.dyn_state.ppm_table->dgpu_tdp = in r600_parse_extended_power_table()
1221 rdev->pm.dpm.dyn_state.ppm_table->dgpu_ulv_power = in r600_parse_extended_power_table()
1223 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
1235 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1237 if (!rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1241 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1245 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].clk = in r600_parse_extended_power_table()
1247 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1258 rdev->pm.dpm.dyn_state.cac_tdp_table = in r600_parse_extended_power_table()
1260 if (!rdev->pm.dpm.dyn_state.cac_tdp_table) { in r600_parse_extended_power_table()
1268 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = in r600_parse_extended_power_table()
1275 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; in r600_parse_extended_power_table()
1278 rdev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); in r600_parse_extended_power_table()
1279 rdev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = in r600_parse_extended_power_table()
1281 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
1282 rdev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = in r600_parse_extended_power_table()
1284 rdev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = in r600_parse_extended_power_table()
1286 rdev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = in r600_parse_extended_power_table()
1288 rdev->pm.dpm.dyn_state.cac_tdp_table->high_cac_leakage = in r600_parse_extended_power_table()
1298 struct radeon_dpm_dynamic_state *dyn_state = &rdev->pm.dpm.dyn_state; in r600_free_extended_power_table()