/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | hardwaremanager.c | 303 const struct amd_pp_display_configuration *display_config) in phm_store_dal_configuration_data() argument 310 if (display_config == NULL) in phm_store_dal_configuration_data() 314 hwmgr->hwmgr_func->set_min_deep_sleep_dcefclk(hwmgr, display_config->min_dcef_deep_sleep_set_clk); in phm_store_dal_configuration_data() 316 for (index = 0; index < display_config->num_path_including_non_display; index++) { in phm_store_dal_configuration_data() 317 if (display_config->displays[index].controller_id != 0) in phm_store_dal_configuration_data() 331 display_config->cpu_pstate_separation_time, in phm_store_dal_configuration_data() 332 display_config->cpu_cc6_disable, in phm_store_dal_configuration_data() 333 display_config->cpu_pstate_disable, in phm_store_dal_configuration_data() 334 display_config->nb_pstate_switch_disable); in phm_store_dal_configuration_data()
|
D | vega12_hwmgr.c | 1592 if ((hwmgr->display_config->num_display > 1) && in vega12_notify_smc_display_config_after_ps_adjustment() 1593 !hwmgr->display_config->multi_monitor_in_sync && in vega12_notify_smc_display_config_after_ps_adjustment() 1594 !hwmgr->display_config->nb_pstate_switch_disable) in vega12_notify_smc_display_config_after_ps_adjustment() 1599 min_clocks.dcefClock = hwmgr->display_config->min_dcef_set_clk; in vega12_notify_smc_display_config_after_ps_adjustment() 1600 min_clocks.dcefClockInSR = hwmgr->display_config->min_dcef_deep_sleep_set_clk; in vega12_notify_smc_display_config_after_ps_adjustment() 1601 min_clocks.memoryClock = hwmgr->display_config->min_mem_set_clock; in vega12_notify_smc_display_config_after_ps_adjustment() 2335 disable_mclk_switching = ((1 < hwmgr->display_config->num_display) && in vega12_apply_clocks_adjust_rules() 2336 !hwmgr->display_config->multi_monitor_in_sync) || in vega12_apply_clocks_adjust_rules() 2338 latency = hwmgr->display_config->dce_tolerable_mclk_in_active_latency; in vega12_apply_clocks_adjust_rules() 2389 if (dpm_table->dpm_state.hard_min_level < (hwmgr->display_config->min_mem_set_clock / 100)) in vega12_apply_clocks_adjust_rules() [all …]
|
D | vega20_hwmgr.c | 2346 min_clocks.dcefClock = hwmgr->display_config->min_dcef_set_clk; in vega20_notify_smc_display_config_after_ps_adjustment() 2347 min_clocks.dcefClockInSR = hwmgr->display_config->min_dcef_deep_sleep_set_clk; in vega20_notify_smc_display_config_after_ps_adjustment() 2348 min_clocks.memoryClock = hwmgr->display_config->min_mem_set_clock; in vega20_notify_smc_display_config_after_ps_adjustment() 3661 hwmgr->display_config->num_display, in vega20_display_configuration_changed_task() 3736 disable_mclk_switching = ((1 < hwmgr->display_config->num_display) && in vega20_apply_clocks_adjust_rules() 3737 !hwmgr->display_config->multi_monitor_in_sync) || in vega20_apply_clocks_adjust_rules() 3739 latency = hwmgr->display_config->dce_tolerable_mclk_in_active_latency; in vega20_apply_clocks_adjust_rules() 3790 if (dpm_table->dpm_state.hard_min_level < (hwmgr->display_config->min_mem_set_clock / 100)) in vega20_apply_clocks_adjust_rules() 3791 dpm_table->dpm_state.hard_min_level = hwmgr->display_config->min_mem_set_clock / 100; in vega20_apply_clocks_adjust_rules() 3798 if (dpm_table->dpm_levels[i].value >= (hwmgr->display_config->min_mem_set_clock / 100)) { in vega20_apply_clocks_adjust_rules() [all …]
|
D | vega10_hwmgr.c | 3284 minimum_clocks.engineClock = hwmgr->display_config->min_core_set_clock; in vega10_apply_state_adjust_rules() 3285 minimum_clocks.memoryClock = hwmgr->display_config->min_mem_set_clock; in vega10_apply_state_adjust_rules() 3325 if (hwmgr->display_config->num_display == 0) in vega10_apply_state_adjust_rules() 3328 disable_mclk_switching = ((1 < hwmgr->display_config->num_display) && in vega10_apply_state_adjust_rules() 3329 !hwmgr->display_config->multi_monitor_in_sync) || in vega10_apply_state_adjust_rules() 3361 latency = hwmgr->display_config->dce_tolerable_mclk_in_active_latency; in vega10_apply_state_adjust_rules() 3427 if (data->display_timing.num_existing_displays != hwmgr->display_config->num_display) in vega10_find_dpm_states_clocks_in_dpm_table() 4051 if ((hwmgr->display_config->num_display > 1) && in vega10_notify_smc_display_config_after_ps_adjustment() 4052 !hwmgr->display_config->multi_monitor_in_sync && in vega10_notify_smc_display_config_after_ps_adjustment() 4053 !hwmgr->display_config->nb_pstate_switch_disable) in vega10_notify_smc_display_config_after_ps_adjustment() [all …]
|
D | smu10_hwmgr.c | 194 clocks.dcefClock = hwmgr->display_config->min_dcef_set_clk; in smu10_set_clock_limit() 618 uint32_t min_sclk = hwmgr->display_config->min_core_set_clock; in smu10_dpm_force_dpm_level() 619 uint32_t min_mclk = hwmgr->display_config->min_mem_set_clock/100; in smu10_dpm_force_dpm_level() 775 hwmgr->display_config->num_display > 3 ? in smu10_dpm_force_dpm_level()
|
D | smu7_hwmgr.c | 3320 minimum_clocks.engineClock = hwmgr->display_config->min_core_set_clock; in smu7_apply_state_adjust_rules() 3321 minimum_clocks.memoryClock = hwmgr->display_config->min_mem_set_clock; in smu7_apply_state_adjust_rules() 3351 disable_mclk_switching_for_display = ((1 < hwmgr->display_config->num_display) && in smu7_apply_state_adjust_rules() 3352 !hwmgr->display_config->multi_monitor_in_sync) || in smu7_apply_state_adjust_rules() 3353 (hwmgr->display_config->num_display && in smu7_apply_state_adjust_rules() 3354 smu7_vblank_too_short(hwmgr, hwmgr->display_config->min_vblank_time)); in smu7_apply_state_adjust_rules() 3359 if (hwmgr->display_config->num_display == 0) { in smu7_apply_state_adjust_rules() 3401 latency = hwmgr->display_config->dce_tolerable_mclk_in_active_latency; in smu7_apply_state_adjust_rules() 4075 if (data->display_timing.num_existing_displays != hwmgr->display_config->num_display) in smu7_find_dpm_states_clocks_in_dpm_table() 4532 …display_gap = PHM_SET_FIELD(display_gap, CG_DISPLAY_GAP_CNTL, DISP_GAP, (hwmgr->display_config->nu… in smu7_program_display_gap() [all …]
|
D | smu8_hwmgr.c | 702 clock = hwmgr->display_config->min_core_set_clock; in smu8_update_sclk_limit() 760 uint32_t clks = hwmgr->display_config->min_core_set_clock_in_sr; in smu8_set_deep_sleep_sclk_threshold() 1068 clocks.memoryClock = hwmgr->display_config->min_mem_set_clock != 0 ? in smu8_apply_state_adjust_rules() 1069 hwmgr->display_config->min_mem_set_clock : in smu8_apply_state_adjust_rules() 1077 || (hwmgr->display_config->num_display >= 3); in smu8_apply_state_adjust_rules()
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 1060 smu->display_config = &adev->pm.pm_display_cfg; in smu_sw_init() 1582 const struct amd_pp_display_configuration *display_config) in smu_display_configuration_change() argument 1591 if (!display_config) in smu_display_configuration_change() 1597 display_config->min_dcef_deep_sleep_set_clk / 100); in smu_display_configuration_change() 1599 for (index = 0; index < display_config->num_path_including_non_display; index++) { in smu_display_configuration_change() 1600 if (display_config->displays[index].controller_id != 0) in smu_display_configuration_change()
|
/drivers/gpu/drm/amd/pm/inc/ |
D | hardwaremanager.h | 431 const struct amd_pp_display_configuration *display_config);
|
D | amdgpu_smu.h | 498 struct amd_pp_display_configuration *display_config; member
|
D | hwmgr.h | 798 const struct amd_pp_display_configuration *display_config; member
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 57 hwmgr->display_config = &adev->pm.pm_display_cfg; in amd_powerplay_create() 1078 const struct amd_pp_display_configuration *display_config) in pp_display_configuration_change() argument 1086 phm_store_dal_configuration_data(hwmgr, display_config); in pp_display_configuration_change()
|
/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 840 data->display_timing.min_clock_in_sr = hwmgr->display_config->min_core_set_clock_in_sr; in vegam_populate_single_graphic_level() 844 hwmgr->display_config->min_core_set_clock_in_sr); in vegam_populate_single_graphic_level() 1014 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in vegam_populate_single_memory_level() 1015 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in vegam_populate_single_memory_level()
|
D | fiji_smumgr.c | 974 data->display_timing.min_clock_in_sr = hwmgr->display_config->min_core_set_clock_in_sr; in fiji_populate_single_graphic_level() 978 hwmgr->display_config->min_core_set_clock_in_sr); in fiji_populate_single_graphic_level() 1199 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in fiji_populate_single_memory_level() 1200 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in fiji_populate_single_memory_level()
|
D | polaris10_smumgr.c | 993 data->display_timing.min_clock_in_sr = hwmgr->display_config->min_core_set_clock_in_sr; in polaris10_populate_single_graphic_level() 997 hwmgr->display_config->min_core_set_clock_in_sr); in polaris10_populate_single_graphic_level() 1188 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in polaris10_populate_single_memory_level() 1189 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in polaris10_populate_single_memory_level()
|
D | iceland_smumgr.c | 932 hwmgr->display_config->min_core_set_clock_in_sr; in iceland_populate_single_graphic_level() 1282 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in iceland_populate_single_memory_level() 1283 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in iceland_populate_single_memory_level()
|
D | tonga_smumgr.c | 659 hwmgr->display_config->min_core_set_clock_in_sr; in tonga_populate_single_graphic_level() 1016 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in tonga_populate_single_memory_level() 1017 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in tonga_populate_single_memory_level()
|
D | ci_smumgr.c | 1235 data->display_timing.num_existing_displays = hwmgr->display_config->num_display; in ci_populate_single_memory_level() 1236 data->display_timing.vrefresh = hwmgr->display_config->vrefresh; in ci_populate_single_memory_level()
|
/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | navi10_ppt.c | 1655 smu->display_config->num_display, in navi10_display_config_changed() 1895 min_clocks.dcef_clock = smu->display_config->min_dcef_set_clk; in navi10_notify_smc_display_config() 1896 min_clocks.dcef_clock_in_sr = smu->display_config->min_dcef_deep_sleep_set_clk; in navi10_notify_smc_display_config() 1897 min_clocks.memory_clock = smu->display_config->min_mem_set_clock; in navi10_notify_smc_display_config()
|
D | sienna_cichlid_ppt.c | 1397 smu->display_config->num_display, in sienna_cichlid_display_config_changed() 1637 min_clocks.dcef_clock = smu->display_config->min_dcef_set_clk; in sienna_cichlid_notify_smc_display_config() 1638 min_clocks.dcef_clock_in_sr = smu->display_config->min_dcef_deep_sleep_set_clk; in sienna_cichlid_notify_smc_display_config() 1639 min_clocks.memory_clock = smu->display_config->min_mem_set_clock; in sienna_cichlid_notify_smc_display_config()
|