/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 266 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_update_clocks() 269 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_update_clocks() 283 …dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz… in dcn3_update_clocks() 364 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_set_hard_min_memclk() 367 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_set_hard_min_memclk() 370 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_set_hard_min_memclk() 383 dcn30_smu_set_hard_max_by_freq(clk_mgr, PPCLK_UCLK, in dcn3_set_hard_max_memclk() 394 dcn30_smu_set_hard_max_by_freq(clk_mgr, PPCLK_UCLK, memclk_mhz); in dcn3_set_max_memclk() 402 dcn30_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, memclk_mhz); in dcn3_set_min_memclk() 415 dcn3_init_single_clock(clk_mgr, PPCLK_UCLK, in dcn3_get_memclk_states_from_smu() [all …]
|
D | dcn30_smu11_driver_if.h | 10 PPCLK_UCLK, enumerator
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/ |
D | dcn32_clk_mgr.c | 718 dcn30_smu_set_hard_max_by_freq(clk_mgr, PPCLK_UCLK, dc->clk_mgr->bw_params->max_memclk_mhz); in dcn32_update_clocks() 719 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, dc->clk_mgr->bw_params->max_memclk_mhz); in dcn32_update_clocks() 721 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn32_update_clocks() 724 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, dc->clk_mgr->bw_params->max_memclk_mhz); in dcn32_update_clocks() 757 dcn30_smu_set_hard_max_by_freq(clk_mgr, PPCLK_UCLK, in dcn32_update_clocks() 760 …dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_khz… in dcn32_update_clocks() 1003 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn32_set_hard_min_memclk() 1006 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn32_set_hard_min_memclk() 1009 dcn32_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn32_set_hard_min_memclk() 1022 dcn30_smu_set_hard_max_by_freq(clk_mgr, PPCLK_UCLK, clk_mgr_base->bw_params->max_memclk_mhz); in dcn32_set_hard_max_memclk() [all …]
|
D | dcn32_smu13_driver_if.h | 10 PPCLK_UCLK, enumerator
|
D | dcn32_clk_mgr_smu_msg.c | 244 if (clk == PPCLK_UCLK) in dcn32_smu_wait_get_hard_min_status()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/ |
D | dcn401_clk_mgr.c | 84 case PPCLK_UCLK: in dcn401_is_ppclk_dpm_enabled() 125 case PPCLK_UCLK: in dcn401_is_ppclk_idle_dpm_enabled() 702 if (dcn401_is_ppclk_dpm_enabled(clk_mgr, PPCLK_UCLK)) in dcn401_update_clocks_legacy() 713 …if (!clk_mgr_base->clks.p_state_change_support && dcn401_is_ppclk_dpm_enabled(clk_mgr, PPCLK_UCLK)) in dcn401_update_clocks_legacy() 714 dcn401_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, in dcn401_update_clocks_legacy() 739 dcn401_is_ppclk_dpm_enabled(clk_mgr, PPCLK_UCLK)) in dcn401_update_clocks_legacy() 740 …dcn401_smu_set_hard_min_by_freq(clk_mgr, PPCLK_UCLK, khz_to_mhz_ceil(clk_mgr_base->clks.dramclk_kh… in dcn401_update_clocks_legacy() 745 if (dcn401_is_ppclk_dpm_enabled(clk_mgr, PPCLK_UCLK)) in dcn401_update_clocks_legacy() 948 bool is_idle_dpm_enabled = dcn401_is_ppclk_dpm_enabled(clk_mgr_internal, PPCLK_UCLK) && in dcn401_build_update_bandwidth_clocks_sequence() 950 dcn401_is_ppclk_idle_dpm_enabled(clk_mgr_internal, PPCLK_UCLK) && in dcn401_build_update_bandwidth_clocks_sequence() [all …]
|
D | dcn401_smu14_driver_if.h | 13 PPCLK_UCLK, enumerator
|
D | dcn401_clk_mgr_smu_msg.c | 271 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_idle_uclk_fclk_hardmin() 293 success &= dcn401_smu_wait_hard_min_status(clk_mgr, PPCLK_UCLK); in dcn401_smu_set_active_uclk_fclk_hardmin()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_processpptables.c | 215 pptable->DpmDescriptor[PPCLK_UCLK].VoltageMode, 216 pptable->DpmDescriptor[PPCLK_UCLK].SnapToDiscrete, 217 pptable->DpmDescriptor[PPCLK_UCLK].NumDiscreteLevels, 218 pptable->DpmDescriptor[PPCLK_UCLK].padding, 219 pptable->DpmDescriptor[PPCLK_UCLK].ConversionToAvfsClk.m, 220 pptable->DpmDescriptor[PPCLK_UCLK].ConversionToAvfsClk.b, 221 pptable->DpmDescriptor[PPCLK_UCLK].SsCurve.a, 222 pptable->DpmDescriptor[PPCLK_UCLK].SsCurve.b, 223 pptable->DpmDescriptor[PPCLK_UCLK].SsCurve.c); 360 pr_info("DcModeMaxFreq[PPCLK_UCLK] = %d\n", pptable->DcModeMaxFreq[PPCLK_UCLK]);
|
D | vega12_hwmgr.c | 682 ret = vega12_setup_single_dpm_table(hwmgr, dpm_table, PPCLK_UCLK); in vega12_setup_default_dpm_tables() 1179 (PPCLK_UCLK << 16) | (min_freq & 0xffff), in vega12_upload_dpm_min_level() 1187 (PPCLK_UCLK << 16) | (min_freq & 0xffff), in vega12_upload_dpm_min_level() 1272 (PPCLK_UCLK << 16) | (max_freq & 0xffff), in vega12_upload_dpm_max_level() 1373 vega12_get_clock_ranges(hwmgr, &mem_clk, PPCLK_UCLK, false) == 0, in vega12_dpm_get_mclk() 1378 vega12_get_clock_ranges(hwmgr, &mem_clk, PPCLK_UCLK, true) == 0, in vega12_dpm_get_mclk() 1451 smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_GetDpmClockFreq, (PPCLK_UCLK << 16), in vega12_get_current_mclk_freq() 2535 (PPCLK_UCLK << 16) | dpm_table->dpm_state.hard_min_level, in vega12_set_uclk_to_highest_dpm_level() 2909 gpu_metrics->current_uclk = metrics.CurrClock[PPCLK_UCLK]; in vega12_get_gpu_metrics()
|
D | vega20_hwmgr.c | 623 ret = vega20_setup_single_dpm_table(hwmgr, dpm_table, PPCLK_UCLK); in vega20_setup_memclk_dpm_table() 1630 PPCLK_UCLK)) == 0, in vega20_init_max_sustainable_clocks() 1843 (PPCLK_UCLK << 16) | (min_freq & 0xffff), in vega20_upload_dpm_min_level() 1946 (PPCLK_UCLK << 16) | (max_freq & 0xffff), in vega20_upload_dpm_max_level() 2101 ret = vega20_get_clock_ranges(hwmgr, &mem_clk, PPCLK_UCLK, false); in vega20_dpm_get_mclk() 2106 ret = vega20_get_clock_ranges(hwmgr, &mem_clk, PPCLK_UCLK, true); in vega20_dpm_get_mclk() 2233 PPCLK_UCLK, in vega20_read_sensor() 2382 (PPCLK_UCLK << 16) | dpm_table->dpm_state.hard_min_level, in vega20_notify_smc_display_config_after_ps_adjustment() 3402 ret = vega20_get_current_clk_freq(hwmgr, PPCLK_UCLK, &now); in vega20_print_clock_levels() 3601 (PPCLK_UCLK << 16) | dpm_table->dpm_state.hard_min_level, in vega20_set_uclk_to_highest_dpm_level() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.c | 169 CLK_MAP(UCLK, PPCLK_UCLK), 170 CLK_MAP(MCLK, PPCLK_UCLK), 413 !driver_ppt->DpmDescriptor[PPCLK_UCLK].SnapToDiscrete; in arcturus_set_default_dpm_table() 659 *value = metrics->CurrClock[PPCLK_UCLK]; in arcturus_get_smu_metrics_data() 764 case PPCLK_UCLK: in arcturus_get_current_clk_freq_by_table() 976 (PPCLK_UCLK << 16) | (freq & 0xffff), in arcturus_upload_dpm_level() 1707 pptable->DpmDescriptor[PPCLK_UCLK].VoltageMode, in arcturus_dump_pptable() 1708 pptable->DpmDescriptor[PPCLK_UCLK].SnapToDiscrete, in arcturus_dump_pptable() 1709 pptable->DpmDescriptor[PPCLK_UCLK].NumDiscreteLevels, in arcturus_dump_pptable() 1710 pptable->DpmDescriptor[PPCLK_UCLK].padding, in arcturus_dump_pptable() [all …]
|
D | sienna_cichlid_ppt.c | 169 CLK_MAP(UCLK, PPCLK_UCLK), 170 CLK_MAP(MCLK, PPCLK_UCLK), 789 *value = use_metrics_v3 ? metrics_v3->CurrClock[PPCLK_UCLK] : in sienna_cichlid_get_smu_metrics_data() 790 use_metrics_v2 ? metrics_v2->CurrClock[PPCLK_UCLK] : in sienna_cichlid_get_smu_metrics_data() 791 metrics->CurrClock[PPCLK_UCLK]; in sienna_cichlid_get_smu_metrics_data() 1008 !table_member[PPCLK_UCLK].SnapToDiscrete; in sienna_cichlid_set_default_dpm_table() 1214 case PPCLK_UCLK: in sienna_cichlid_get_current_clk_freq_by_table() 2028 num_discrete_levels = table_member1[PPCLK_UCLK].NumDiscreteLevels; in sienna_cichlid_get_uclk_dpm_states() 2616 pptable->DpmDescriptor[PPCLK_UCLK].VoltageMode, in beige_goby_dump_pptable() 2617 pptable->DpmDescriptor[PPCLK_UCLK].SnapToDiscrete, in beige_goby_dump_pptable() [all …]
|
D | navi10_ppt.c | 154 CLK_MAP(UCLK, PPCLK_UCLK), 155 CLK_MAP(MCLK, PPCLK_UCLK), 578 *value = metrics->CurrClock[PPCLK_UCLK]; in navi10_get_legacy_smu_metrics_data() 664 *value = metrics->CurrClock[PPCLK_UCLK]; in navi10_get_smu_metrics_data() 753 *value = metrics->CurrClock[PPCLK_UCLK]; in navi12_get_legacy_smu_metrics_data() 839 *value = metrics->CurrClock[PPCLK_UCLK]; in navi12_get_smu_metrics_data() 1018 !driver_ppt->DpmDescriptor[PPCLK_UCLK].SnapToDiscrete; in navi10_set_default_dpm_table() 1198 case PPCLK_UCLK: in navi10_get_current_clk_freq_by_table() 2278 num_discrete_levels = driver_ppt->DpmDescriptor[PPCLK_UCLK].NumDiscreteLevels; in navi10_get_uclk_dpm_states() 2958 gpu_metrics->current_uclk = metrics.CurrClock[PPCLK_UCLK]; in navi10_get_legacy_gpu_metrics() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
D | smu13_driver_if_v13_0_6.h | 179 PPCLK_UCLK, enumerator
|
D | smu13_driver_if_aldebaran.h | 247 PPCLK_UCLK, enumerator
|
D | smu11_driver_if_arcturus.h | 369 PPCLK_UCLK, enumerator
|
D | smu11_driver_if_navi10.h | 372 PPCLK_UCLK, enumerator
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | aldebaran_ppt.c | 162 CLK_MAP(UCLK, PPCLK_UCLK), 163 CLK_MAP(MCLK, PPCLK_UCLK), 632 *value = metrics->CurrClock[PPCLK_UCLK]; in aldebaran_get_smu_metrics_data() 735 case PPCLK_UCLK: in aldebaran_get_current_clk_freq_by_table() 958 (PPCLK_UCLK << 16) | (freq & 0xffff), in aldebaran_upload_dpm_level() 1755 gpu_metrics->current_uclk = metrics.CurrClock[PPCLK_UCLK]; in aldebaran_get_gpu_metrics()
|
D | smu_v13_0_0_ppt.c | 180 CLK_MAP(UCLK, PPCLK_UCLK), 181 CLK_MAP(MCLK, PPCLK_UCLK), 794 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_0_get_smu_metrics_data() 1046 case PPCLK_UCLK: in smu_v13_0_0_get_current_clk_freq_by_table() 2079 gpu_metrics->current_uclk = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_0_get_gpu_metrics()
|
D | smu_v13_0_7_ppt.c | 151 CLK_MAP(UCLK, PPCLK_UCLK), 152 CLK_MAP(MCLK, PPCLK_UCLK), 786 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v13_0_7_get_smu_metrics_data() 1035 case PPCLK_UCLK: in smu_v13_0_7_get_current_clk_freq_by_table()
|
D | smu_v13_0_6_ppt.c | 185 CLK_MAP(UCLK, PPCLK_UCLK), 186 CLK_MAP(MCLK, PPCLK_UCLK), 1294 (PPCLK_UCLK << 16) | (freq & 0xffff), NULL); in smu_v13_0_6_upload_dpm_level()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
D | smu_v14_0_2_ppt.c | 145 CLK_MAP(UCLK, PPCLK_UCLK), 146 CLK_MAP(MCLK, PPCLK_UCLK), 722 *value = metrics->CurrClock[PPCLK_UCLK]; in smu_v14_0_2_get_smu_metrics_data() 967 case PPCLK_UCLK: in smu_v14_0_2_get_current_clk_freq_by_table() 2130 gpu_metrics->current_uclk = metrics->CurrClock[PPCLK_UCLK]; in smu_v14_0_2_get_gpu_metrics()
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/vega12/ |
D | smu9_driver_if.h | 224 PPCLK_UCLK, enumerator
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | smu11_driver_if.h | 322 PPCLK_UCLK, enumerator
|