/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | tonga_smumgr.c | 530 smu_data->smc_state_table.LinkLevelCount = in tonga_populate_smc_link_level() 700 SMU72_Discrete_GraphicsLevel *levels = smu_data->smc_state_table.GraphicsLevel; in tonga_populate_all_graphic_levels() 713 &(smu_data->smc_state_table.GraphicsLevel[i])); in tonga_populate_all_graphic_levels() 719 smu_data->smc_state_table.GraphicsLevel[i].DeepSleepDivId = 0; in tonga_populate_all_graphic_levels() 723 smu_data->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; in tonga_populate_all_graphic_levels() 727 smu_data->smc_state_table.GraphicsLevel[dpm_table->sclk_table.count-1].DisplayWatermark = in tonga_populate_all_graphic_levels() 730 smu_data->smc_state_table.GraphicsDpmLevelCount = in tonga_populate_all_graphic_levels() 741 smu_data->smc_state_table.GraphicsLevel[i].pcieDpmLevel = in tonga_populate_all_graphic_levels() 771 smu_data->smc_state_table.GraphicsLevel[i].pcieDpmLevel = highest_pcie_level_enabled; in tonga_populate_all_graphic_levels() 774 smu_data->smc_state_table.GraphicsLevel[0].pcieDpmLevel = lowest_pcie_level_enabled; in tonga_populate_all_graphic_levels() [all …]
|
D | fiji_smumgr.c | 492 SMU73_Discrete_DpmTable *dpm_table = &(smu_data->smc_state_table); in fiji_populate_bapm_parameters_in_dpm_table() 849 smu_data->smc_state_table.LinkLevelCount = in fiji_populate_smc_link_level() 1019 smu_data->smc_state_table.GraphicsLevel; in fiji_populate_all_graphic_levels() 1045 smu_data->smc_state_table.GraphicsDpmLevelCount = in fiji_populate_all_graphic_levels() 1235 smu_data->smc_state_table.MemoryLevel; in fiji_populate_all_memory_levels() 1260 smu_data->smc_state_table.MemoryDpmLevelCount = in fiji_populate_all_memory_levels() 1649 smu_data->smc_state_table.GraphicsBootLevel = level; in fiji_populate_smc_initailial_state() 1658 smu_data->smc_state_table.MemoryBootLevel = level; in fiji_populate_smc_initailial_state() 1703 smu_data->smc_state_table.ClockStretcherAmount = stretch_amount; in fiji_populate_clock_stretcher_data_table() 1707 smu_data->smc_state_table.Sclk_CKS_masterEn0_7 |= in fiji_populate_clock_stretcher_data_table() [all …]
|
D | ci_smumgr.c | 481 smu_data->smc_state_table.GraphicsLevel; in ci_populate_all_graphic_levels() 491 smu_data->smc_state_table.GraphicsLevel[i].DeepSleepDivId = 0; in ci_populate_all_graphic_levels() 493 smu_data->smc_state_table.GraphicsLevel[i].DisplayWatermark = in ci_populate_all_graphic_levels() 497 smu_data->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; in ci_populate_all_graphic_levels() 499 smu_data->smc_state_table.GraphicsDpmLevelCount = (u8)dpm_table->sclk_table.count; in ci_populate_all_graphic_levels() 718 SMU7_Discrete_DpmTable *dpm_table = &(smu_data->smc_state_table); in ci_populate_bapm_parameters_in_dpm_table() 1013 smu_data->smc_state_table.LinkLevelCount = in ci_populate_smc_link_level() 1309 SMU7_Discrete_MemoryLevel *levels = smu_data->smc_state_table.MemoryLevel; in ci_populate_all_memory_levels() 1318 &(smu_data->smc_state_table.MemoryLevel[i])); in ci_populate_all_memory_levels() 1323 smu_data->smc_state_table.MemoryLevel[0].EnabledForActivity = 1; in ci_populate_all_memory_levels() [all …]
|
D | vegam_smumgr.c | 338 smu_data->smc_state_table.UvdBootLevel = 0; in vegam_update_uvd_smc_table() 340 smu_data->smc_state_table.UvdBootLevel = in vegam_update_uvd_smc_table() 349 mm_boot_level_value |= smu_data->smc_state_table.UvdBootLevel << 24; in vegam_update_uvd_smc_table() 359 (uint32_t)(1 << smu_data->smc_state_table.UvdBootLevel)); in vegam_update_uvd_smc_table() 372 smu_data->smc_state_table.VceBootLevel = in vegam_update_vce_smc_table() 375 smu_data->smc_state_table.VceBootLevel = 0; in vegam_update_vce_smc_table() 384 mm_boot_level_value |= smu_data->smc_state_table.VceBootLevel << 16; in vegam_update_vce_smc_table() 391 (uint32_t)1 << smu_data->smc_state_table.VceBootLevel); in vegam_update_vce_smc_table() 589 smu_data->smc_state_table.LinkLevelCount = in vegam_populate_smc_link_level() 720 const SMU75_Discrete_DpmTable *table = &(smu_data->smc_state_table); in vegam_calculate_sclk_params() [all …]
|
D | polaris10_smumgr.c | 429 SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_populate_bapm_parameters_in_dpm_table() 787 smu_data->smc_state_table.LinkLevelCount = in polaris10_populate_smc_link_level() 845 const SMU74_Discrete_DpmTable *table = &(smu_data->smc_state_table); in polaris10_calculate_sclk_params() 992 smu_data->smc_state_table.GraphicsLevel; in polaris10_populate_all_graphic_levels() 999 polaris10_get_sclk_range_table(hwmgr, &(smu_data->smc_state_table)); in polaris10_populate_all_graphic_levels() 1005 &(smu_data->smc_state_table.GraphicsLevel[i])); in polaris10_populate_all_graphic_levels() 1015 smu_data->smc_state_table.GraphicsLevel[0].SclkSetting.SSc_En = 0; in polaris10_populate_all_graphic_levels() 1017 smu_data->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; in polaris10_populate_all_graphic_levels() 1018 smu_data->smc_state_table.GraphicsDpmLevelCount = in polaris10_populate_all_graphic_levels() 1136 smu_data->smc_state_table.MemoryLevel; in polaris10_populate_all_memory_levels() [all …]
|
D | iceland_smumgr.c | 787 smu_data->smc_state_table.LinkLevelCount = in iceland_populate_smc_link_level() 970 SMU71_Discrete_GraphicsLevel *levels = smu_data->smc_state_table.GraphicsLevel; in iceland_populate_all_graphic_levels() 983 &(smu_data->smc_state_table.GraphicsLevel[i])); in iceland_populate_all_graphic_levels() 989 smu_data->smc_state_table.GraphicsLevel[i].DeepSleepDivId = 0; in iceland_populate_all_graphic_levels() 993 smu_data->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; in iceland_populate_all_graphic_levels() 997 smu_data->smc_state_table.GraphicsLevel[dpm_table->sclk_table.count-1].DisplayWatermark = in iceland_populate_all_graphic_levels() 1000 smu_data->smc_state_table.GraphicsDpmLevelCount = in iceland_populate_all_graphic_levels() 1027 smu_data->smc_state_table.GraphicsLevel[i].pcieDpmLevel = highest_pcie_level_enabled; in iceland_populate_all_graphic_levels() 1031 smu_data->smc_state_table.GraphicsLevel[0].pcieDpmLevel = lowest_pcie_level_enabled; in iceland_populate_all_graphic_levels() 1034 smu_data->smc_state_table.GraphicsLevel[1].pcieDpmLevel = mid_pcie_level_enabled; in iceland_populate_all_graphic_levels() [all …]
|
D | fiji_smumgr.h | 42 struct SMU73_Discrete_DpmTable smc_state_table; member
|
D | polaris10_smumgr.h | 57 SMU74_Discrete_DpmTable smc_state_table; member
|
D | iceland_smumgr.h | 62 struct SMU71_Discrete_DpmTable smc_state_table; member
|
D | vegam_smumgr.h | 66 SMU75_Discrete_DpmTable smc_state_table; member
|
D | ci_smumgr.h | 68 struct SMU7_Discrete_DpmTable smc_state_table; member
|
D | tonga_smumgr.h | 66 struct SMU72_Discrete_DpmTable smc_state_table; member
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega10_hwmgr.c | 953 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_setup_dpm_led_config() 1469 data->smc_state_table.pp_table.UlvOffsetVid = in vega10_populate_ulv_state() 1472 data->smc_state_table.pp_table.UlvSmnclkDid = in vega10_populate_ulv_state() 1474 data->smc_state_table.pp_table.UlvMp1clkDid = in vega10_populate_ulv_state() 1476 data->smc_state_table.pp_table.UlvGfxclkBypass = in vega10_populate_ulv_state() 1478 data->smc_state_table.pp_table.UlvPhaseSheddingPsi0 = in vega10_populate_ulv_state() 1480 data->smc_state_table.pp_table.UlvPhaseSheddingPsi1 = in vega10_populate_ulv_state() 1507 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_populate_smc_link_levels() 1665 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_populate_all_graphic_levels() 1720 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_populate_vddc_soc_levels() [all …]
|
D | vega10_thermal.c | 507 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_thermal_setup_fan_table() 551 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_thermal_setup_fan_table() 562 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_enable_mgpu_fan_boost() 576 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_enable_mgpu_fan_boost()
|
D | vega20_thermal.c | 121 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_fan_ctrl_get_fan_speed_percent() 328 PPTable_t *table = &(data->smc_state_table.pp_table); in vega20_thermal_setup_fan_table()
|
D | vega12_thermal.c | 258 PPTable_t *table = &(data->smc_state_table.pp_table); in vega12_thermal_setup_fan_table()
|
D | vega10_hwmgr.h | 381 struct vega10_smc_state_table smc_state_table; member
|
D | vega12_hwmgr.h | 393 struct vega12_smc_state_table smc_state_table; member
|
D | vega20_hwmgr.c | 787 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_init_smc_table() 1015 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_od8_set_feature_capabilities() 1216 OverDriveTable_t *od_table = &(data->smc_state_table.overdrive_table); in vega20_od8_initialize_default_settings() 1317 od_table->FanMinimumPwm * data->smc_state_table.pp_table.FanMaximumRpm / 100; in vega20_od8_initialize_default_settings() 2891 Watermarks_t *table = &(data->smc_state_table.water_marks_table); in vega20_set_watermarks_for_clocks_ranges() 2914 &(data->smc_state_table.overdrive_table); in vega20_odn_edit_dpm_table() 3257 &(data->smc_state_table.overdrive_table); in vega20_print_clock_levels() 3547 Watermarks_t *wm_table = &(data->smc_state_table.water_marks_table); in vega20_display_configuration_changed_task() 4120 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_get_thermal_temperature_range()
|
D | vega20_hwmgr.h | 522 struct vega20_smc_state_table smc_state_table; member
|
D | vega12_hwmgr.c | 734 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega12_init_smc_table() 1866 Watermarks_t *table = &(data->smc_state_table.water_marks_table); in vega12_set_watermarks_for_clocks_ranges() 2374 Watermarks_t *wm_table = &(data->smc_state_table.water_marks_table); in vega12_display_configuration_changed_task() 2583 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega12_get_thermal_temperature_range()
|
D | vega10_powertune.c | 1291 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_initialize_power_tune_defaults()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | ci_dpm.c | 435 SMU7_Discrete_DpmTable *dpm_table = &pi->smc_state_table; in ci_populate_bapm_parameters_in_dpm_table() 1305 SMU7_Discrete_DpmTable *table = &pi->smc_state_table; in ci_init_fps_limits() 2596 pi->smc_state_table.GraphicsBootLevel = level; in ci_populate_smc_initial_state() 2604 pi->smc_state_table.MemoryBootLevel = level; in ci_populate_smc_initial_state() 2643 pi->smc_state_table.LinkLevelCount = (u8)dpm_table->pcie_speed_table.count; in ci_populate_smc_link_level() 3284 SMU7_Discrete_GraphicsLevel *levels = pi->smc_state_table.GraphicsLevel; in ci_populate_all_graphic_levels() 3293 &pi->smc_state_table.GraphicsLevel[i]); in ci_populate_all_graphic_levels() 3297 pi->smc_state_table.GraphicsLevel[i].DeepSleepDivId = 0; in ci_populate_all_graphic_levels() 3299 pi->smc_state_table.GraphicsLevel[i].DisplayWatermark = in ci_populate_all_graphic_levels() 3302 pi->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; in ci_populate_all_graphic_levels() [all …]
|
D | ci_dpm.h | 224 SMU7_Discrete_DpmTable smc_state_table; member
|