/openbsd-current/sys/dev/pci/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 | 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 | 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 | 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;
|
/openbsd-current/sys/dev/pci/drm/amd/pm/swsmu/smu11/ |
H A D | sienna_cichlid_ppt.c | 395 PPTable_t *pptable = table_context->driver_pptable; local 396 uint64_t features = *(uint64_t *) pptable->FeaturesToRun; 2483 PPTable_beige_goby_t *pptable = table_context->driver_pptable; local 2488 dev_info(smu->adev->dev, "Version = 0x%08x\n", pptable->Version); 2489 dev_info(smu->adev->dev, "FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]); 2490 dev_info(smu->adev->dev, "FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]); 2493 dev_info(smu->adev->dev, "SocketPowerLimitAc[%d] = 0x%x\n", i, pptable->SocketPowerLimitAc[i]); 2494 dev_info(smu->adev->dev, "SocketPowerLimitAcTau[%d] = 0x%x\n", i, pptable->SocketPowerLimitAcTau[i]); 2495 dev_info(smu->adev->dev, "SocketPowerLimitDc[%d] = 0x%x\n", i, pptable->SocketPowerLimitDc[i]); 2496 dev_info(smu->adev->dev, "SocketPowerLimitDcTau[%d] = 0x%x\n", i, pptable 3112 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); 1078 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1085 range->max = pptable->TedgeLimit * 1087 range->edge_emergency_max = (pptable->TedgeLimit + CTF_OFFSET_EDGE) * 1089 range->hotspot_crit_max = pptable->ThotspotLimit * 1091 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * 1093 range->mem_crit_max = pptable->TmemLimit * 1095 range->mem_emergency_max = (pptable 1107 PPTable_t *pptable = table_context->driver_pptable; local 1322 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1336 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1595 PPTable_t *pptable = table_context->driver_pptable; local [all...] |
H A D | navi10_ppt.c | 1227 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1234 dpm_desc = &pptable->DpmDescriptor[clk_index]; 1269 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; local 1350 pptable->LclkFreq[i], 1476 PPTable_t *pptable = (PPTable_t *)table_context->driver_pptable; local 1550 pptable->LclkFreq[i], 1901 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1903 smu->fan_max_rpm = pptable->FanMaximumRpm; 2183 PPTable_t *pptable = table_context->driver_pptable; local 2190 *(uint32_t *)data = pptable 2287 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2343 PPTable_t *pptable = smu->smu_table.driver_pptable; local 2383 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
/openbsd-current/sys/dev/pci/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 293 /* pptable will handle the features to enable */ 333 struct PPTable_t *pptable = local 338 if (!pptable->Init) { 354 pptable->MaxSocketPowerLimit = 356 pptable->MaxGfxclkFrequency = 358 pptable->MinGfxclkFrequency = 362 pptable->FclkFrequencyTable[i] = 364 pptable->UclkFrequencyTable[i] = 366 pptable->SocclkFrequencyTable[i] = SMUQ10_TO_UINT( 368 pptable 390 struct PPTable_t *pptable = local 488 struct PPTable_t *pptable = local 1238 struct PPTable_t *pptable = local 1855 struct PPTable_t *pptable = local [all...] |
H A D | smu_v13_0_0_ppt.c | 343 PPTable_t *pptable = smu->smu_table.driver_pptable; local 345 PPTable_t *pptable = smu->smu_table.driver_pptable; 347 &pptable->SkuTable.OverDriveLimitsBasicMax; 349 &pptable->SkuTable.OverDriveLimitsMin; 385 !(pptable->SkuTable.FeaturesToRun[0] & (1 << FEATURE_FAN_CONTROL_BIT)); 572 PPTable_t *pptable = table_context->driver_pptable; local 573 SkuTable_t *skutable = &pptable->SkuTable; 728 PPTable_t *pptable = table_context->driver_pptable; local 729 SkuTable_t *skutable = &pptable->SkuTable; 1062 PPTable_t *pptable local 1074 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1671 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1875 PPTable_t *pptable = table_context->driver_pptable; local 1973 PPTable_t *pptable = table_context->driver_pptable; local 1997 PPTable_t *pptable = table_context->driver_pptable; local [all...] |
H A D | smu_v13_0_7_ppt.c | 460 * With SCPM enabled, the pptable used will be signed. It cannot 461 * be used directly by driver. To get the raw pptable, we need to 462 * rely on the combo pptable(and its revelant SMU message). 718 PPTable_t *pptable = table_context->driver_pptable; local 719 SkuTable_t *skutable = &pptable->SkuTable; 1043 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1045 &pptable->SkuTable.OverDriveLimitsBasicMax; 1055 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1057 &pptable->SkuTable.OverDriveLimitsBasicMax; 1059 &pptable 1652 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1851 PPTable_t *pptable = table_context->driver_pptable; local 1927 PPTable_t *pptable = table_context->driver_pptable; local 1951 PPTable_t *pptable = table_context->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 */ 1053 PPTable_t *pptable = smu->smu_table.driver_pptable; local 1060 range->hotspot_crit_max = pptable->ThotspotLimit * 1062 range->hotspot_emergency_max = (pptable->ThotspotLimit + CTF_OFFSET_HOTSPOT) * 1064 range->mem_crit_max = pptable->TmemLimit * 1066 range->mem_emergency_max = (pptable 1196 PPTable_t *pptable = smu->smu_table.driver_pptable; local [all...] |
/openbsd-current/sys/dev/pci/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...] |
/openbsd-current/sys/dev/pci/drm/amd/pm/swsmu/ |
H A D | smu_cmn.c | 919 void *pptable = smu->smu_table.driver_pptable; local 924 pptable, 960 void *pptable = smu->smu_table.combo_pptable; local 965 pptable,
|