Home
last modified time | relevance | path

Searched refs:clocks_in_khz (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce112/
Ddce112_resource.c1091 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1093 clks.clocks_in_khz[clks.num_levels/8], 1000); in bw_calcs_data_update_from_pplib()
1095 clks.clocks_in_khz[clks.num_levels*2/8], 1000); in bw_calcs_data_update_from_pplib()
1097 clks.clocks_in_khz[clks.num_levels*3/8], 1000); in bw_calcs_data_update_from_pplib()
1099 clks.clocks_in_khz[clks.num_levels*4/8], 1000); in bw_calcs_data_update_from_pplib()
1101 clks.clocks_in_khz[clks.num_levels*5/8], 1000); in bw_calcs_data_update_from_pplib()
1103 clks.clocks_in_khz[clks.num_levels*6/8], 1000); in bw_calcs_data_update_from_pplib()
1105 clks.clocks_in_khz[0], 1000); in bw_calcs_data_update_from_pplib()
1114 clks.clocks_in_khz[0] * memory_type_multiplier, 1000); in bw_calcs_data_update_from_pplib()
1116 clks.clocks_in_khz[clks.num_levels>>1] * memory_type_multiplier, in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce120/
Ddce120_resource.c935 eng_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib()
942 eng_clks.data[eng_clks.num_levels-1].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
944 eng_clks.data[eng_clks.num_levels/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
946 eng_clks.data[eng_clks.num_levels*2/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
948 eng_clks.data[eng_clks.num_levels*3/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
950 eng_clks.data[eng_clks.num_levels*4/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
952 eng_clks.data[eng_clks.num_levels*5/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
954 eng_clks.data[eng_clks.num_levels*6/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
956 eng_clks.data[0].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
969 mem_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c123 memmove(clks->clocks_in_khz, disp_clks_in_khz, in get_default_clock_levels()
128 memmove(clks->clocks_in_khz, sclks_in_khz, in get_default_clock_levels()
133 memmove(clks->clocks_in_khz, mclks_in_khz, in get_default_clock_levels()
233 dc_clks->clocks_in_khz[i] = pp_clks->clock[i]; in pp_to_dc_clock_levels()
258 DRM_DEBUG("DM_PPLIB:\t %d in kHz\n", pp_clks->data[i].clocks_in_khz); in pp_to_dc_clock_levels_with_latency()
259 clk_level_info->data[i].clocks_in_khz = pp_clks->data[i].clocks_in_khz; in pp_to_dc_clock_levels_with_latency()
285 DRM_INFO("DM_PPLIB:\t %d in kHz, %d in mV\n", pp_clks->data[i].clocks_in_khz, in pp_to_dc_clock_levels_with_voltage()
287 clk_level_info->data[i].clocks_in_khz = pp_clks->data[i].clocks_in_khz; in pp_to_dc_clock_levels_with_voltage()
334 if (dc_clks->clocks_in_khz[i] > validation_clks.engine_max_clock) { in dm_pp_get_clock_levels_by_type()
347 if (dc_clks->clocks_in_khz[i] > validation_clks.memory_max_clock) { in dm_pp_get_clock_levels_by_type()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddm_services_types.h99 uint32_t clocks_in_khz[DM_PP_MAX_CLOCK_LEVELS]; member
103 uint32_t clocks_in_khz; member
113 uint32_t clocks_in_khz; member
255 uint32_t clocks_in_khz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c1318 int clocks_in_khz) in dcn_find_normalized_clock_vdd_Level() argument
1322 if (clocks_in_khz == 0)/*todo some clock not in the considerations*/ in dcn_find_normalized_clock_vdd_Level()
1327 if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmax0p9*1000) { in dcn_find_normalized_clock_vdd_Level()
1330 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vnom0p8*1000) { in dcn_find_normalized_clock_vdd_Level()
1332 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmid0p72*1000) { in dcn_find_normalized_clock_vdd_Level()
1334 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmin0p65*1000) { in dcn_find_normalized_clock_vdd_Level()
1340 if (clocks_in_khz > dc->dcn_soc->phyclkv_max0p9*1000) { in dcn_find_normalized_clock_vdd_Level()
1343 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_nom0p8*1000) { in dcn_find_normalized_clock_vdd_Level()
1345 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_mid0p72*1000) { in dcn_find_normalized_clock_vdd_Level()
1347 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_min0p65*1000) { in dcn_find_normalized_clock_vdd_Level()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dce110/
Ddce110_resource.c1295 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1297 clks.clocks_in_khz[clks.num_levels/8], 1000); in bw_calcs_data_update_from_pplib()
1299 clks.clocks_in_khz[clks.num_levels*2/8], 1000); in bw_calcs_data_update_from_pplib()
1301 clks.clocks_in_khz[clks.num_levels*3/8], 1000); in bw_calcs_data_update_from_pplib()
1303 clks.clocks_in_khz[clks.num_levels*4/8], 1000); in bw_calcs_data_update_from_pplib()
1305 clks.clocks_in_khz[clks.num_levels*5/8], 1000); in bw_calcs_data_update_from_pplib()
1307 clks.clocks_in_khz[clks.num_levels*6/8], 1000); in bw_calcs_data_update_from_pplib()
1309 clks.clocks_in_khz[0], 1000); in bw_calcs_data_update_from_pplib()
1318 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1320 clks.clocks_in_khz[clks.num_levels>>1], 1000); in bw_calcs_data_update_from_pplib()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
Ddce120_clk_mgr.c106 clock_voltage_req.clocks_in_khz = patched_disp_clk; in dce12_update_clocks()
114 clock_voltage_req.clocks_in_khz = max_pix_clk; in dce12_update_clocks()
/linux-6.12.1/drivers/gpu/drm/amd/include/
Ddm_pp_interface.h169 uint32_t clocks_in_khz; member
179 uint32_t clocks_in_khz; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c80 if (dc->sclk_lvls.clocks_in_khz[i] >= required_sclk) in determine_sclk_from_bounding_box()
81 return dc->sclk_lvls.clocks_in_khz[i]; in determine_sclk_from_bounding_box()
89 return dc->sclk_lvls.clocks_in_khz[dc->sclk_lvls.num_levels - 1]; in determine_sclk_from_bounding_box()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c586 if (dc->sclk_lvls.clocks_in_khz[i] >= required_sclk) in determine_sclk_from_bounding_box()
587 return dc->sclk_lvls.clocks_in_khz[i]; in determine_sclk_from_bounding_box()
595 return dc->sclk_lvls.clocks_in_khz[dc->sclk_lvls.num_levels - 1]; in determine_sclk_from_bounding_box()
775 clock_voltage_req.clocks_in_khz = patched_disp_clk; in dce12_update_clocks()
783 clock_voltage_req.clocks_in_khz = max_pix_clk; in dce12_update_clocks()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1871 clocks->data[i].clocks_in_khz = in vega12_get_sclks()
1903 clocks->data[i].clocks_in_khz = dpm_table->dpm_levels[i].value * 1000; in vega12_get_memclocks()
1932 clocks->data[i].clocks_in_khz = in vega12_get_dcefclocks()
1960 clocks->data[i].clocks_in_khz = in vega12_get_socclocks()
2293 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2294 (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); in vega12_print_clock_levels()
2309 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2310 (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); in vega12_print_clock_levels()
2327 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2328 (clocks.data[i].clocks_in_khz / 1000 == now) ? "*" : ""); in vega12_print_clock_levels()
[all …]
Dvega20_hwmgr.c2829 clocks->data[i].clocks_in_khz = in vega20_get_sclks()
2857 clocks->data[i].clocks_in_khz = in vega20_get_memclocks()
2882 clocks->data[i].clocks_in_khz = in vega20_get_dcefclocks()
2904 clocks->data[i].clocks_in_khz = in vega20_get_socclocks()
3397 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3398 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
3415 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3416 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
3433 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3434 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
[all …]
Dsmu10_hwmgr.c1210 clocks->data[clocks->num_levels].clocks_in_khz = in smu10_get_clock_by_type_with_latency()
1264 clocks->data[clocks->num_levels].clocks_in_khz = pclk_vol_table->entries[i].clk * 10; in smu10_get_clock_by_type_with_voltage()
Dvega10_hwmgr.c4416 clocks->data[clocks->num_levels].clocks_in_khz = in vega10_get_sclks()
4438 clocks->data[j].clocks_in_khz = in vega10_get_memclocks()
4460 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_dcefclocks()
4476 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_socclocks()
4536 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_clock_by_type_with_voltage()
Dsmu7_hwmgr.c5267 clocks->data[clocks->num_levels].clocks_in_khz = in smu7_get_sclks_with_latency()
5290 clocks->data[clocks->num_levels].clocks_in_khz = in smu7_get_mclks_with_latency()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_6_ppt.c927 clocks->data[i].clocks_in_khz = in smu_v13_0_6_get_clk_table()
1085 clocks.data[i].clocks_in_khz / in smu_v13_0_6_print_clks()
1090 (curr_clk < (clocks.data[0].clocks_in_khz / 1000))) in smu_v13_0_6_print_clks()
1093 clk1 = clocks.data[i].clocks_in_khz / 1000; in smu_v13_0_6_print_clks()
1096 clk2 = clocks.data[i + 1].clocks_in_khz / 1000; in smu_v13_0_6_print_clks()
Daldebaran_ppt.c597 clocks->data[i].clocks_in_khz = in aldebaran_get_clk_table()
913 clock_mhz = clocks.data[i].clocks_in_khz / 1000; in aldebaran_emit_clk_levels()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1823 clocks->data[i].clocks_in_khz = freq * 1000; in navi10_get_clock_by_type_with_latency()
2266 static int navi10_get_uclk_dpm_states(struct smu_context *smu, uint32_t *clocks_in_khz, uint32_t *n… in navi10_get_uclk_dpm_states() argument
2274 if (!clocks_in_khz || !num_states || !table_context->driver_pptable) in navi10_get_uclk_dpm_states()
2287 *clocks_in_khz = (*dpm_levels) * 1000; in navi10_get_uclk_dpm_states()
2288 clocks_in_khz++; in navi10_get_uclk_dpm_states()
Darcturus_ppt.c625 clocks->data[i].clocks_in_khz = in arcturus_get_clk_table()
915 clock_mhz = clocks.data[i].clocks_in_khz / 1000; in arcturus_emit_clk_levels()
Dsienna_cichlid_ppt.c2015 static int sienna_cichlid_get_uclk_dpm_states(struct smu_context *smu, uint32_t *clocks_in_khz, uin… in sienna_cichlid_get_uclk_dpm_states() argument
2024 if (!clocks_in_khz || !num_states || !table_context->driver_pptable) in sienna_cichlid_get_uclk_dpm_states()
2038 *clocks_in_khz = (*dpm_levels) * 1000; in sienna_cichlid_get_uclk_dpm_states()
2039 clocks_in_khz++; in sienna_cichlid_get_uclk_dpm_states()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h839 int (*get_uclk_dpm_states)(struct smu_context *smu, uint32_t *clocks_in_khz, uint32_t *num_states);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn10/
Ddcn10_resource.c1308 if (clks->data[i].clocks_in_khz == 0) in verify_clock_values()