/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_processpptables.c | 66 static void dump_pptable(PPTable_t *pptable) 70 pr_info("Version = 0x%08x\n", pptable->Version); 72 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); 73 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); 75 pr_info("SocketPowerLimitAc0 = %d\n", pptable->SocketPowerLimitAc0); 76 pr_info("SocketPowerLimitAc0Tau = %d\n", pptable->SocketPowerLimitAc0Tau); 77 pr_info("SocketPowerLimitAc1 = %d\n", pptable->SocketPowerLimitAc1); 78 pr_info("SocketPowerLimitAc1Tau = %d\n", pptable->SocketPowerLimitAc1Tau); 79 pr_info("SocketPowerLimitAc2 = %d\n", pptable->SocketPowerLimitAc2); 80 pr_info("SocketPowerLimitAc2Tau = %d\n", pptable [all...] |
H A D | process_pptables_v1_0.c | 205 (struct phm_ppt_v1_information *)(hwmgr->pptable); 248 struct phm_ppt_v1_information *pp_table_information = (struct phm_ppt_v1_information *)(hwmgr->pptable); 484 (struct phm_ppt_v1_information *)(hwmgr->pptable); 762 (struct phm_ppt_v1_information *)(hwmgr->pptable); 794 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1146 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v1_information), GFP_KERNEL); 1148 PP_ASSERT_WITH_CODE((NULL != hwmgr->pptable), 1149 "Failed to allocate hwmgr->pptable!", return -ENOMEM); 1193 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1231 kfree(hwmgr->pptable); 1313 const ATOM_Tonga_POWERPLAYTABLE *pptable = get_powerplay_table(hwmgr); local [all...] |
H A D | vega12_processpptables.c | 195 (struct phm_ppt_v3_information *)hwmgr->pptable; 266 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v3_information), GFP_KERNEL); 267 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), 268 "Failed to allocate hwmgr->pptable!", return -ENOMEM); 293 (struct phm_ppt_v3_information *)(hwmgr->pptable); 310 kfree(hwmgr->pptable); 311 hwmgr->pptable = NULL;
|
H A D | vega10_hwmgr.c | 197 (struct phm_ppt_v2_information *)hwmgr->pptable; 307 (struct phm_ppt_v2_information *)(hwmgr->pptable); 522 (struct phm_ppt_v2_information *)(hwmgr->pptable); 559 (struct phm_ppt_v2_information *)hwmgr->pptable; 664 (struct phm_ppt_v2_information *)(hwmgr->pptable); 740 (struct phm_ppt_v2_information *)(hwmgr->pptable); 769 (struct phm_ppt_v2_information *)(hwmgr->pptable); 899 /* Parse pptable data read from VBIOS */ 1163 (struct phm_ppt_v2_information *)hwmgr->pptable; 1252 (struct phm_ppt_v2_information *)(hwmgr->pptable); 4655 PPTable_t *pptable = &(data->smc_state_table.pp_table); local 4801 PPTable_t *pptable = &(data->smc_state_table.pp_table); local [all...] |
H A D | vega12_thermal.c | 174 (struct phm_ppt_v3_information *)hwmgr->pptable;
|
H A D | vega10_processpptables.c | 789 (struct phm_ppt_v2_information *)(hwmgr->pptable); 877 (struct phm_ppt_v2_information *)(hwmgr->pptable); 1065 (struct phm_ppt_v2_information *)(hwmgr->pptable); 1152 hwmgr->pptable = kzalloc(sizeof(struct phm_ppt_v2_information), GFP_KERNEL); 1154 PP_ASSERT_WITH_CODE((hwmgr->pptable != NULL), 1155 "Failed to allocate hwmgr->pptable!", return -ENOMEM); 1199 (struct phm_ppt_v2_information *)(hwmgr->pptable); 1237 kfree(hwmgr->pptable); 1238 hwmgr->pptable = NULL;
|
H A D | vega20_thermal.c | 245 (struct phm_ppt_v3_information *)hwmgr->pptable;
|
H A D | smu7_hwmgr.c | 320 (struct phm_ppt_v1_information *)hwmgr->pptable; 639 (struct phm_ppt_v1_information *)(hwmgr->pptable); 871 (struct phm_ppt_v1_information *)(hwmgr->pptable); 937 (struct phm_ppt_v1_information *)(hwmgr->pptable); 982 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1010 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1537 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1805 (struct phm_ppt_v1_information *)(hwmgr->pptable); 2054 (struct phm_ppt_v1_information *)hwmgr->pptable; 2191 (struct phm_ppt_v1_information *)(hwmgr->pptable); [all...] |
H A D | smu_helper.c | 467 (struct phm_ppt_v1_information *)(hwmgr->pptable); 496 struct phm_ppt_v1_information *pptable_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); 548 (struct phm_ppt_v1_information *)hwmgr->pptable;
|
H A D | vega10_thermal.c | 363 (struct phm_ppt_v2_information *)(hwmgr->pptable); 583 pr_info("Failed to update fan control table in pptable!");
|
H A D | vega20_hwmgr.c | 457 /* Parse pptable data read from VBIOS */ 787 (struct phm_ppt_v3_information *)hwmgr->pptable; 882 /* update the pptable */ 1040 (struct phm_ppt_v3_information *)hwmgr->pptable; 1240 (struct phm_ppt_v3_information *)hwmgr->pptable; 2793 (struct phm_ppt_v2_information *)hwmgr->pptable; 3363 PPTable_t *pptable = &(data->smc_state_table.pp_table); local 3462 gen_speed = pptable->PcieGenSpeed[i]; 3463 lane_width = pptable->PcieLaneCount[i]; 3476 pptable [all...] |
H A D | smu10_hwmgr.c | 470 struct smu10_voltage_dependency_table **pptable, 488 *pptable = ptable; 469 smu10_get_clock_voltage_dependency_table(struct pp_hwmgr *hwmgr, struct smu10_voltage_dependency_table **pptable, uint32_t num_entry, const DpmClock_t *pclk_dependency_table) argument
|
H A D | vega12_hwmgr.c | 415 /* Parse pptable data read from VBIOS */ 537 /* update the pptable */ 818 (struct phm_ppt_v3_information *)hwmgr->pptable; 1820 (struct phm_ppt_v2_information *)hwmgr->pptable; 2767 (struct phm_ppt_v3_information *)hwmgr->pptable;
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | sienna_cichlid_ppt.c | 399 PPTable_t *pptable = table_context->driver_pptable; local 400 uint64_t features = *(uint64_t *) pptable->FeaturesToRun; 2493 PPTable_beige_goby_t *pptable = table_context->driver_pptable; local 2498 dev_info(smu->adev->dev, "Version = 0x%08x\n", pptable->Version); 2499 dev_info(smu->adev->dev, "FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); 2500 dev_info(smu->adev->dev, "FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); 2503 dev_info(smu->adev->dev, "SocketPowerLimitAc[%d] = 0x%x\n", i, pptable->SocketPowerLimitAc[i]); 2504 dev_info(smu->adev->dev, "SocketPowerLimitAcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitAcTau[i]); 2505 dev_info(smu->adev->dev, "SocketPowerLimitDc[%d] = 0x%x\n", i, pptable->SocketPowerLimitDc[i]); 2506 dev_info(smu->adev->dev, "SocketPowerLimitDcTau[%d] = 0x%x\n", i, pptable 3122 PPTable_t *pptable = table_context->driver_pptable; local [all...] |
H A D | arcturus_ppt.c | 321 /* pptable will handle the features to enable */ 430 PPTable_t *pptable = table_context->driver_pptable; local 434 !(pptable->FeaturesToRun[0] & FEATURE_FAN_CONTROL_MASK); 1029 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1036 range->max = pptable->TedgeLimit * 1038 range->edge_emergency_max = (pptable->TedgeLimit + CTF_OFFSET_EDGE) * 1040 range->hotspot_crit_max = pptable->ThotspotLimit * 1042 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * 1044 range->mem_crit_max = pptable->TmemLimit * 1046 range->mem_emergency_max = (pptable 1058 PPTable_t *pptable = table_context->driver_pptable; local 1273 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1286 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1518 PPTable_t *pptable = table_context->driver_pptable; local [all...] |
H A D | navi10_ppt.c | 1224 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1231 dpm_desc = &pptable->DpmDescriptor[clk_index]; 1266 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; local 1347 pptable->LclkFreq[i], 1473 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; local 1547 pptable->LclkFreq[i], 1898 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1900 smu->fan_max_rpm = pptable->FanMaximumRpm; 2180 PPTable_t *pptable = table_context->driver_pptable; local 2187 *(uint32_t *)data = pptable 2284 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2341 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2391 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 404 /* pptable will handle the features to enable */ 480 struct PPTable_t *pptable = local 487 if (!pptable->Init) { 510 pptable->MaxSocketPowerLimit = 512 pptable->MaxGfxclkFrequency = 514 pptable->MinGfxclkFrequency = 518 pptable->FclkFrequencyTable[i] = 520 pptable->UclkFrequencyTable[i] = 522 pptable->SocclkFrequencyTable[i] = SMUQ10_ROUND( 524 pptable 546 struct PPTable_t *pptable = local 644 struct PPTable_t *pptable = local 1367 struct PPTable_t *pptable = local 2074 struct PPTable_t *pptable = local [all...] |
H A D | smu_v13_0_7_ppt.c | 463 * With SCPM enabled, the pptable used will be signed. It cannot 464 * be used directly by driver. To get the raw pptable, we need to 465 * rely on the combo pptable(and its revelant SMU message). 740 PPTable_t *pptable = table_context->driver_pptable; local 741 SkuTable_t *skutable = &pptable->SkuTable; 1071 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1073 &pptable->SkuTable.OverDriveLimitsBasicMax; 1083 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1085 &pptable->SkuTable.OverDriveLimitsBasicMax; 1087 &pptable 1989 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2220 PPTable_t *pptable = table_context->driver_pptable; local 2296 PPTable_t *pptable = table_context->driver_pptable; local 2321 PPTable_t *pptable = table_context->driver_pptable; local 2550 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
H A D | aldebaran_ppt.c | 303 /* pptable will handle the features to enable */ 313 PPTable_t *pptable = smu->smu_table.driver_pptable; local 337 dpm_table->dpm_levels[0].value = pptable->GfxclkFmin; 339 dpm_table->dpm_levels[1].value = pptable->GfxclkFmax; 439 /* VBIOS pptable is the first choice */ 1006 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1013 range->hotspot_crit_max = pptable->ThotspotLimit * 1015 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * 1017 range->mem_crit_max = pptable->TmemLimit * 1019 range->mem_emergency_max = (pptable 1150 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
H A D | smu_v13_0_0_ppt.c | 350 PPTable_t *pptable = smu->smu_table.driver_pptable; local 352 &pptable->SkuTable.OverDriveLimitsBasicMax; 354 &pptable->SkuTable.OverDriveLimitsMin; 380 !(pptable->SkuTable.FeaturesToRun[0] & (1 << FEATURE_FAN_CONTROL_BIT)); 570 PPTable_t *pptable = table_context->driver_pptable; local 571 SkuTable_t *skutable = &pptable->SkuTable; 742 PPTable_t *pptable = table_context->driver_pptable; local 743 SkuTable_t *skutable = &pptable->SkuTable; 1082 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1084 &pptable 1094 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2000 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2236 PPTable_t *pptable = table_context->driver_pptable; local 2332 PPTable_t *pptable = table_context->driver_pptable; local 2357 PPTable_t *pptable = table_context->driver_pptable; local 2970 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 335 (struct phm_ppt_v1_information *)(hwmgr->pptable); 368 (struct phm_ppt_v1_information *)(hwmgr->pptable); 400 (struct phm_ppt_v1_information *)(hwmgr->pptable); 435 (struct phm_ppt_v1_information *)(hwmgr->pptable); 507 (struct phm_ppt_v1_information *)(hwmgr->pptable); 544 (struct phm_ppt_v1_information *)(hwmgr->pptable); 817 (struct phm_ppt_v1_information *)(hwmgr->pptable); 870 (struct phm_ppt_v1_information *)(hwmgr->pptable); 986 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1090 (struct phm_ppt_v1_information *)(hwmgr->pptable); [all...] |
H A D | fiji_smumgr.c | 471 (struct phm_ppt_v1_information *)(hwmgr->pptable); 493 (struct phm_ppt_v1_information *)(hwmgr->pptable); 587 (struct phm_ppt_v1_information *)(hwmgr->pptable); 673 (struct phm_ppt_v1_information *)(hwmgr->pptable); 761 (struct phm_ppt_v1_information *)(hwmgr->pptable); 801 (struct phm_ppt_v1_information *)(hwmgr->pptable); 944 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1006 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1166 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1276 (struct phm_ppt_v1_information *)(hwmgr->pptable); [all...] |
H A D | polaris10_smumgr.c | 434 (struct phm_ppt_v1_information *)(hwmgr->pptable); 508 (struct phm_ppt_v1_information *)(hwmgr->pptable); 588 (struct phm_ppt_v1_information *)(hwmgr->pptable); 748 (struct phm_ppt_v1_information *)(hwmgr->pptable); 783 (struct phm_ppt_v1_information *)(hwmgr->pptable); 963 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1042 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1158 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1257 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1284 (struct phm_ppt_v1_information *)(hwmgr->pptable); [all...] |
H A D | tonga_smumgr.c | 253 (struct phm_ppt_v1_information *)(hwmgr->pptable); 398 (struct phm_ppt_v1_information *)(hwmgr->pptable); 483 (struct phm_ppt_v1_information *)(hwmgr->pptable); 624 (struct phm_ppt_v1_information *)(hwmgr->pptable); 690 struct phm_ppt_v1_information *pptable_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); 967 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1148 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1316 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1376 (struct phm_ppt_v1_information *)(hwmgr->pptable); 1421 (struct phm_ppt_v1_information *)(hwmgr->pptable); [all...] |
/linux-master/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | smu_cmn.c | 926 void *pptable = smu->smu_table.driver_pptable; local 931 pptable, 967 void *pptable = smu->smu_table.combo_pptable; local 972 pptable,
|