Lines Matching refs:dyn_state
926 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk, in r600_parse_extended_power_table()
935 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk, in r600_parse_extended_power_table()
938 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
946 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk, in r600_parse_extended_power_table()
949 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
950 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
958 ret = r600_parse_clk_voltage_dep_table(&rdev->pm.dpm.dyn_state.mvdd_dependency_on_mclk, in r600_parse_extended_power_table()
961 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
962 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
963 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_mclk.entries); in r600_parse_extended_power_table()
973 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.sclk = in r600_parse_extended_power_table()
976 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.mclk = in r600_parse_extended_power_table()
979 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc = in r600_parse_extended_power_table()
981 rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddci = in r600_parse_extended_power_table()
992 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries = in r600_parse_extended_power_table()
996 if (!rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries) { in r600_parse_extended_power_table()
1003 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].sclk = in r600_parse_extended_power_table()
1005 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].mclk = in r600_parse_extended_power_table()
1007 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = in r600_parse_extended_power_table()
1012 rdev->pm.dpm.dyn_state.phase_shedding_limits_table.count = in r600_parse_extended_power_table()
1039 rdev->pm.dpm.dyn_state.cac_leakage_table.entries = kzalloc(size, GFP_KERNEL); in r600_parse_extended_power_table()
1040 if (!rdev->pm.dpm.dyn_state.cac_leakage_table.entries) { in r600_parse_extended_power_table()
1047 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1 = in r600_parse_extended_power_table()
1049 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2 = in r600_parse_extended_power_table()
1051 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3 = in r600_parse_extended_power_table()
1054 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc = in r600_parse_extended_power_table()
1056 rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage = in r600_parse_extended_power_table()
1062 rdev->pm.dpm.dyn_state.cac_leakage_table.count = cac_table->ucNumEntries; in r600_parse_extended_power_table()
1093 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1095 if (!rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1099 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1107 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].evclk = in r600_parse_extended_power_table()
1109 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].ecclk = in r600_parse_extended_power_table()
1111 rdev->pm.dpm.dyn_state.vce_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1147 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1149 if (!rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1153 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1160 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].vclk = in r600_parse_extended_power_table()
1162 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].dclk = in r600_parse_extended_power_table()
1164 rdev->pm.dpm.dyn_state.uvd_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1179 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1181 if (!rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1185 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1189 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].clk = in r600_parse_extended_power_table()
1191 rdev->pm.dpm.dyn_state.samu_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1202 rdev->pm.dpm.dyn_state.ppm_table = in r600_parse_extended_power_table()
1204 if (!rdev->pm.dpm.dyn_state.ppm_table) { in r600_parse_extended_power_table()
1208 rdev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in r600_parse_extended_power_table()
1209 rdev->pm.dpm.dyn_state.ppm_table->cpu_core_number = in r600_parse_extended_power_table()
1211 rdev->pm.dpm.dyn_state.ppm_table->platform_tdp = in r600_parse_extended_power_table()
1213 rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdp = in r600_parse_extended_power_table()
1215 rdev->pm.dpm.dyn_state.ppm_table->platform_tdc = in r600_parse_extended_power_table()
1217 rdev->pm.dpm.dyn_state.ppm_table->small_ac_platform_tdc = in r600_parse_extended_power_table()
1219 rdev->pm.dpm.dyn_state.ppm_table->apu_tdp = in r600_parse_extended_power_table()
1221 rdev->pm.dpm.dyn_state.ppm_table->dgpu_tdp = in r600_parse_extended_power_table()
1223 rdev->pm.dpm.dyn_state.ppm_table->dgpu_ulv_power = in r600_parse_extended_power_table()
1225 rdev->pm.dpm.dyn_state.ppm_table->tj_max = in r600_parse_extended_power_table()
1237 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries = in r600_parse_extended_power_table()
1239 if (!rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries) { in r600_parse_extended_power_table()
1243 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.count = in r600_parse_extended_power_table()
1247 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].clk = in r600_parse_extended_power_table()
1249 rdev->pm.dpm.dyn_state.acp_clock_voltage_dependency_table.entries[i].v = in r600_parse_extended_power_table()
1260 rdev->pm.dpm.dyn_state.cac_tdp_table = in r600_parse_extended_power_table()
1262 if (!rdev->pm.dpm.dyn_state.cac_tdp_table) { in r600_parse_extended_power_table()
1270 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = in r600_parse_extended_power_table()
1277 rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit = 255; in r600_parse_extended_power_table()
1280 rdev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); in r600_parse_extended_power_table()
1281 rdev->pm.dpm.dyn_state.cac_tdp_table->configurable_tdp = in r600_parse_extended_power_table()
1283 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
1284 rdev->pm.dpm.dyn_state.cac_tdp_table->battery_power_limit = in r600_parse_extended_power_table()
1286 rdev->pm.dpm.dyn_state.cac_tdp_table->small_power_limit = in r600_parse_extended_power_table()
1288 rdev->pm.dpm.dyn_state.cac_tdp_table->low_cac_leakage = in r600_parse_extended_power_table()
1290 rdev->pm.dpm.dyn_state.cac_tdp_table->high_cac_leakage = in r600_parse_extended_power_table()
1300 struct radeon_dpm_dynamic_state *dyn_state = &rdev->pm.dpm.dyn_state; in r600_free_extended_power_table() local
1302 kfree(dyn_state->vddc_dependency_on_sclk.entries); in r600_free_extended_power_table()
1303 kfree(dyn_state->vddci_dependency_on_mclk.entries); in r600_free_extended_power_table()
1304 kfree(dyn_state->vddc_dependency_on_mclk.entries); in r600_free_extended_power_table()
1305 kfree(dyn_state->mvdd_dependency_on_mclk.entries); in r600_free_extended_power_table()
1306 kfree(dyn_state->cac_leakage_table.entries); in r600_free_extended_power_table()
1307 kfree(dyn_state->phase_shedding_limits_table.entries); in r600_free_extended_power_table()
1308 kfree(dyn_state->ppm_table); in r600_free_extended_power_table()
1309 kfree(dyn_state->cac_tdp_table); in r600_free_extended_power_table()
1310 kfree(dyn_state->vce_clock_voltage_dependency_table.entries); in r600_free_extended_power_table()
1311 kfree(dyn_state->uvd_clock_voltage_dependency_table.entries); in r600_free_extended_power_table()
1312 kfree(dyn_state->samu_clock_voltage_dependency_table.entries); in r600_free_extended_power_table()
1313 kfree(dyn_state->acp_clock_voltage_dependency_table.entries); in r600_free_extended_power_table()