/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega10_hwmgr.c | 954 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_setup_dpm_led_config() local 977 pp_table->LedPin0 = (uint8_t)(mask & 0xff); in vega10_setup_dpm_led_config() 978 pp_table->LedPin1 = (uint8_t)((mask >> 8) & 0xff); in vega10_setup_dpm_led_config() 979 pp_table->LedPin2 = (uint8_t)((mask >> 16) & 0xff); in vega10_setup_dpm_led_config() 1472 data->smc_state_table.pp_table.UlvOffsetVid = in vega10_populate_ulv_state() 1475 data->smc_state_table.pp_table.UlvSmnclkDid = in vega10_populate_ulv_state() 1477 data->smc_state_table.pp_table.UlvMp1clkDid = in vega10_populate_ulv_state() 1479 data->smc_state_table.pp_table.UlvGfxclkBypass = in vega10_populate_ulv_state() 1481 data->smc_state_table.pp_table.UlvPhaseSheddingPsi0 = in vega10_populate_ulv_state() 1483 data->smc_state_table.pp_table.UlvPhaseSheddingPsi1 = in vega10_populate_ulv_state() [all …]
|
D | vega12_processpptables.c | 359 const ATOM_Vega12_POWERPLAYTABLE *pp_table = 362 PP_ASSERT_WITH_CODE(pp_table, "Missing PowerPlay Table!", 366 if (pp_table->sHeader.format_revision >= 369 (((unsigned long)pp_table) + 370 le16_to_cpu(pp_table->usStateArrayOffset)); 372 PP_ASSERT_WITH_CODE(pp_table->usStateArrayOffset > 0, 385 (void *)pp_table,
|
D | process_pptables_v1_0.c | 1245 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in get_number_of_powerplay_table_entries_v1_0() local 1247 PP_ASSERT_WITH_CODE((NULL != pp_table), in get_number_of_powerplay_table_entries_v1_0() 1249 PP_ASSERT_WITH_CODE((pp_table->sHeader.ucTableFormatRevision >= in get_number_of_powerplay_table_entries_v1_0() 1253 state_arrays = (ATOM_Tonga_State_Array *)(((unsigned long)pp_table) + in get_number_of_powerplay_table_entries_v1_0() 1254 le16_to_cpu(pp_table->usStateArrayOffset)); in get_number_of_powerplay_table_entries_v1_0() 1293 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in ppt_get_num_of_vce_state_table_entries_v1_0() local 1297 if (pp_table == NULL) in ppt_get_num_of_vce_state_table_entries_v1_0() 1300 vce_state_table = (void *)pp_table + in ppt_get_num_of_vce_state_table_entries_v1_0() 1301 le16_to_cpu(pp_table->usVCEStateTableOffset); in ppt_get_num_of_vce_state_table_entries_v1_0() 1376 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in get_powerplay_table_entry_v1_0() local [all …]
|
D | vega12_hwmgr.c | 490 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega12_override_pcie_parameters() local 521 pcie_gen_arg = (pp_table->PcieGenSpeed[i] > pcie_gen) ? pcie_gen : in vega12_override_pcie_parameters() 522 pp_table->PcieGenSpeed[i]; in vega12_override_pcie_parameters() 523 pcie_width_arg = (pp_table->PcieLaneCount[i] > pcie_width) ? pcie_width : in vega12_override_pcie_parameters() 524 pp_table->PcieLaneCount[i]; in vega12_override_pcie_parameters() 526 if (pcie_gen_arg != pp_table->PcieGenSpeed[i] || pcie_width_arg != in vega12_override_pcie_parameters() 527 pp_table->PcieLaneCount[i]) { in vega12_override_pcie_parameters() 538 pp_table->PcieGenSpeed[i] = pcie_gen_arg; in vega12_override_pcie_parameters() 539 pp_table->PcieLaneCount[i] = pcie_width_arg; in vega12_override_pcie_parameters() 553 pp_table->PcieGenSpeed[i] = pcie_gen; in vega12_override_pcie_parameters() [all …]
|
D | vega10_processpptables.c | 1251 const ATOM_Vega10_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in vega10_get_number_of_powerplay_table_entries() local 1253 PP_ASSERT_WITH_CODE((pp_table != NULL), in vega10_get_number_of_powerplay_table_entries() 1255 PP_ASSERT_WITH_CODE((pp_table->sHeader.format_revision >= in vega10_get_number_of_powerplay_table_entries() 1259 state_arrays = (ATOM_Vega10_State_Array *)(((unsigned long)pp_table) + in vega10_get_number_of_powerplay_table_entries() 1260 le16_to_cpu(pp_table->usStateArrayOffset)); in vega10_get_number_of_powerplay_table_entries() 1302 const ATOM_Vega10_POWERPLAYTABLE *pp_table = in vega10_get_powerplay_table_entry() local 1305 PP_ASSERT_WITH_CODE(pp_table, "Missing PowerPlay Table!", in vega10_get_powerplay_table_entry() 1309 if (pp_table->sHeader.format_revision >= in vega10_get_powerplay_table_entry() 1312 (((unsigned long)pp_table) + in vega10_get_powerplay_table_entry() 1313 le16_to_cpu(pp_table->usStateArrayOffset)); in vega10_get_powerplay_table_entry() [all …]
|
D | vega20_hwmgr.c | 784 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_init_smc_table() local 812 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega20_init_smc_table() 815 (uint8_t *)pp_table, TABLE_PPTABLE, false); in vega20_init_smc_table() 835 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_override_pcie_parameters() local 866 pcie_gen_arg = (pp_table->PcieGenSpeed[i] > pcie_gen) ? pcie_gen : in vega20_override_pcie_parameters() 867 pp_table->PcieGenSpeed[i]; in vega20_override_pcie_parameters() 868 pcie_width_arg = (pp_table->PcieLaneCount[i] > pcie_width) ? pcie_width : in vega20_override_pcie_parameters() 869 pp_table->PcieLaneCount[i]; in vega20_override_pcie_parameters() 871 if (pcie_gen_arg != pp_table->PcieGenSpeed[i] || pcie_width_arg != in vega20_override_pcie_parameters() 872 pp_table->PcieLaneCount[i]) { in vega20_override_pcie_parameters() [all …]
|
D | vega10_thermal.c | 510 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_thermal_setup_fan_table() 555 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_thermal_setup_fan_table() 566 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_enable_mgpu_fan_boost() 580 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_enable_mgpu_fan_boost()
|
D | vega12_thermal.c | 256 PPTable_t *table = &(data->smc_state_table.pp_table); in vega12_thermal_setup_fan_table()
|
D | vega20_thermal.c | 327 PPTable_t *table = &(data->smc_state_table.pp_table); in vega20_thermal_setup_fan_table()
|
D | vega10_hwmgr.h | 208 PPTable_t pp_table; member
|
D | vega12_hwmgr.h | 194 PPTable_t pp_table; member
|
D | vega20_hwmgr.h | 255 PPTable_t pp_table; member
|
D | vega10_powertune.c | 1242 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_initialize_power_tune_defaults()
|
D | smu7_hwmgr.c | 3590 void *pp_table, uint32_t classification_flag) in smu7_get_pp_table_entry_callback_func_v1() argument 3598 (ATOM_Tonga_POWERPLAYTABLE *)pp_table; in smu7_get_pp_table_entry_callback_func_v1()
|
/Linux-v6.6/Documentation/gpu/amdgpu/ |
D | thermal.rst | 28 pp_table section in GPU sysfs Power State Interfaces 32 :doc: pp_table
|
/Linux-v6.6/drivers/video/fbdev/ |
D | pm2fb.c | 202 } pp_table[] = { variable 225 for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++) in partprod() 227 if (pp_table[i].width == 0) in partprod() 229 return pp_table[i].pp; in partprod()
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 1965 AMDGPU_DEVICE_ATTR_RW(pp_table, ATTR_FLAG_BASIC|ATTR_FLAG_ONEVF),
|