• Home
  • Raw
  • Download

Lines Matching refs:dpm_table

408 	struct smu7_dpm_table *dpm_table = &data->dpm_table;  in tonga_populate_smc_link_level()  local
413 for (i = 0; i <= dpm_table->pcie_speed_table.count; i++) { in tonga_populate_smc_link_level()
415 (uint8_t)dpm_table->pcie_speed_table.dpm_levels[i].value; in tonga_populate_smc_link_level()
417 (uint8_t)encode_pcie_lane_width(dpm_table->pcie_speed_table.dpm_levels[i].param1); in tonga_populate_smc_link_level()
429 (uint8_t)dpm_table->pcie_speed_table.count; in tonga_populate_smc_link_level()
431 phm_get_dpm_level_enable_mask_value(&dpm_table->pcie_speed_table); in tonga_populate_smc_link_level()
603 struct smu7_dpm_table *dpm_table = &data->dpm_table; in tonga_populate_all_graphic_levels() local
605 uint8_t pcie_entry_count = (uint8_t) data->dpm_table.pcie_speed_table.count; in tonga_populate_all_graphic_levels()
622 for (i = 0; i < dpm_table->sclk_table.count; i++) { in tonga_populate_all_graphic_levels()
624 dpm_table->sclk_table.dpm_levels[i].value, in tonga_populate_all_graphic_levels()
639 if (dpm_table->sclk_table.count > 1) in tonga_populate_all_graphic_levels()
640 smu_data->smc_state_table.GraphicsLevel[dpm_table->sclk_table.count-1].DisplayWatermark = in tonga_populate_all_graphic_levels()
644 (uint8_t)dpm_table->sclk_table.count; in tonga_populate_all_graphic_levels()
646 phm_get_dpm_level_enable_mask_value(&dpm_table->sclk_table); in tonga_populate_all_graphic_levels()
653 for (i = 0; i < dpm_table->sclk_table.count; i++) { in tonga_populate_all_graphic_levels()
683 for (i = 2; i < dpm_table->sclk_table.count; i++) in tonga_populate_all_graphic_levels()
1006 struct smu7_dpm_table *dpm_table = &data->dpm_table; in tonga_populate_all_memory_levels() local
1022 for (i = 0; i < dpm_table->mclk_table.count; i++) { in tonga_populate_all_memory_levels()
1023 PP_ASSERT_WITH_CODE((0 != dpm_table->mclk_table.dpm_levels[i].value), in tonga_populate_all_memory_levels()
1028 dpm_table->mclk_table.dpm_levels[i].value, in tonga_populate_all_memory_levels()
1045 smu_data->smc_state_table.MemoryDpmLevelCount = (uint8_t)dpm_table->mclk_table.count; in tonga_populate_all_memory_levels()
1046 …data->dpm_level_enable_mask.mclk_dpm_enable_mask = phm_get_dpm_level_enable_mask_value(&dpm_table-… in tonga_populate_all_memory_levels()
1048 …smu_data->smc_state_table.MemoryLevel[dpm_table->mclk_table.count-1].DisplayWatermark = PPSMC_DISP… in tonga_populate_all_memory_levels()
1464 for (i = 0; i < data->dpm_table.sclk_table.count; i++) { in tonga_program_memory_timing_parameters()
1465 for (j = 0; j < data->dpm_table.mclk_table.count; j++) { in tonga_program_memory_timing_parameters()
1467 (hwmgr, data->dpm_table.sclk_table.dpm_levels[i].value, in tonga_program_memory_timing_parameters()
1468 data->dpm_table.mclk_table.dpm_levels[j].value, in tonga_program_memory_timing_parameters()
1500 result = phm_find_boot_level(&(data->dpm_table.sclk_table), in tonga_populate_smc_boot_level()
1512 result = phm_find_boot_level(&(data->dpm_table.mclk_table), in tonga_populate_smc_boot_level()
1819 SMU72_Discrete_DpmTable *dpm_table = &(smu_data->smc_state_table); in tonga_populate_bapm_parameters_in_dpm_table() local
1826 dpm_table->DefaultTdp = PP_HOST_TO_SMC_US( in tonga_populate_bapm_parameters_in_dpm_table()
1828 dpm_table->TargetTdp = PP_HOST_TO_SMC_US( in tonga_populate_bapm_parameters_in_dpm_table()
1835 dpm_table->GpuTjMax = (uint8_t)(cac_dtp_table->usTargetOperatingTemp); in tonga_populate_bapm_parameters_in_dpm_table()
1836 dpm_table->GpuTjHyst = 8; in tonga_populate_bapm_parameters_in_dpm_table()
1838 dpm_table->DTEAmbientTempBase = defaults->dte_ambient_temp_base; in tonga_populate_bapm_parameters_in_dpm_table()
1840 dpm_table->BAPM_TEMP_GRADIENT = in tonga_populate_bapm_parameters_in_dpm_table()
1848 dpm_table->BAPMTI_R[i][j][k] = in tonga_populate_bapm_parameters_in_dpm_table()
1850 dpm_table->BAPMTI_RC[i][j][k] = in tonga_populate_bapm_parameters_in_dpm_table()
2140 for (i = 0; i < data->dpm_table.mclk_table.count; i++) { in tonga_convert_mc_reg_table_to_smc()
2143 data->dpm_table.mclk_table.dpm_levels[i].value, in tonga_convert_mc_reg_table_to_smc()
2181 data->dpm_table.mclk_table.count, in tonga_update_and_upload_mc_reg_table()
2395 PP_ASSERT_WITH_CODE((1 <= data->dpm_table.pcie_speed_table.count), in tonga_init_smc_table()
2399 table->PCIeBootLinkLevel = (uint8_t) (data->dpm_table.pcie_speed_table.count); in tonga_init_smc_table()