Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c1090 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1092 clks.clocks_in_khz[clks.num_levels/8], 1000); in bw_calcs_data_update_from_pplib()
1094 clks.clocks_in_khz[clks.num_levels*2/8], 1000); in bw_calcs_data_update_from_pplib()
1096 clks.clocks_in_khz[clks.num_levels*3/8], 1000); in bw_calcs_data_update_from_pplib()
1098 clks.clocks_in_khz[clks.num_levels*4/8], 1000); in bw_calcs_data_update_from_pplib()
1100 clks.clocks_in_khz[clks.num_levels*5/8], 1000); in bw_calcs_data_update_from_pplib()
1102 clks.clocks_in_khz[clks.num_levels*6/8], 1000); in bw_calcs_data_update_from_pplib()
1104 clks.clocks_in_khz[0], 1000); in bw_calcs_data_update_from_pplib()
1113 clks.clocks_in_khz[0] * memory_type_multiplier, 1000); in bw_calcs_data_update_from_pplib()
1115 clks.clocks_in_khz[clks.num_levels>>1] * memory_type_multiplier, in bw_calcs_data_update_from_pplib()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c942 eng_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib()
949 eng_clks.data[eng_clks.num_levels-1].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
951 eng_clks.data[eng_clks.num_levels/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
953 eng_clks.data[eng_clks.num_levels*2/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
955 eng_clks.data[eng_clks.num_levels*3/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
957 eng_clks.data[eng_clks.num_levels*4/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
959 eng_clks.data[eng_clks.num_levels*5/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
961 eng_clks.data[eng_clks.num_levels*6/8].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
963 eng_clks.data[0].clocks_in_khz, 1000); in bw_calcs_data_update_from_pplib()
976 mem_clks.data[i].clocks_in_khz = clk; in bw_calcs_data_update_from_pplib()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c132 memmove(clks->clocks_in_khz, disp_clks_in_khz, in get_default_clock_levels()
137 memmove(clks->clocks_in_khz, sclks_in_khz, in get_default_clock_levels()
142 memmove(clks->clocks_in_khz, mclks_in_khz, in get_default_clock_levels()
272 dc_clks->clocks_in_khz[i] = pp_clks->clock[i]; in pp_to_dc_clock_levels()
297 DRM_DEBUG("DM_PPLIB:\t %d in kHz\n", pp_clks->data[i].clocks_in_khz); in pp_to_dc_clock_levels_with_latency()
298 clk_level_info->data[i].clocks_in_khz = pp_clks->data[i].clocks_in_khz; in pp_to_dc_clock_levels_with_latency()
324 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()
326 clk_level_info->data[i].clocks_in_khz = pp_clks->data[i].clocks_in_khz; in pp_to_dc_clock_levels_with_voltage()
393 if (dc_clks->clocks_in_khz[i] > validation_clks.engine_max_clock) { in dm_pp_get_clock_levels_by_type()
405 if (dc_clks->clocks_in_khz[i] > validation_clks.memory_max_clock) { in dm_pp_get_clock_levels_by_type()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c1337 int clocks_in_khz) in dcn_find_normalized_clock_vdd_Level() argument
1341 if (clocks_in_khz == 0)/*todo some clock not in the considerations*/ in dcn_find_normalized_clock_vdd_Level()
1346 if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmax0p9*1000) { in dcn_find_normalized_clock_vdd_Level()
1349 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vnom0p8*1000) { in dcn_find_normalized_clock_vdd_Level()
1351 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmid0p72*1000) { in dcn_find_normalized_clock_vdd_Level()
1353 } else if (clocks_in_khz > dc->dcn_soc->max_dispclk_vmin0p65*1000) { in dcn_find_normalized_clock_vdd_Level()
1359 if (clocks_in_khz > dc->dcn_soc->phyclkv_max0p9*1000) { in dcn_find_normalized_clock_vdd_Level()
1362 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_nom0p8*1000) { in dcn_find_normalized_clock_vdd_Level()
1364 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_mid0p72*1000) { in dcn_find_normalized_clock_vdd_Level()
1366 } else if (clocks_in_khz > dc->dcn_soc->phyclkv_min0p65*1000) { in dcn_find_normalized_clock_vdd_Level()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1298 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1300 clks.clocks_in_khz[clks.num_levels/8], 1000); in bw_calcs_data_update_from_pplib()
1302 clks.clocks_in_khz[clks.num_levels*2/8], 1000); in bw_calcs_data_update_from_pplib()
1304 clks.clocks_in_khz[clks.num_levels*3/8], 1000); in bw_calcs_data_update_from_pplib()
1306 clks.clocks_in_khz[clks.num_levels*4/8], 1000); in bw_calcs_data_update_from_pplib()
1308 clks.clocks_in_khz[clks.num_levels*5/8], 1000); in bw_calcs_data_update_from_pplib()
1310 clks.clocks_in_khz[clks.num_levels*6/8], 1000); in bw_calcs_data_update_from_pplib()
1312 clks.clocks_in_khz[0], 1000); in bw_calcs_data_update_from_pplib()
1321 clks.clocks_in_khz[clks.num_levels-1], 1000); in bw_calcs_data_update_from_pplib()
1323 clks.clocks_in_khz[clks.num_levels>>1], 1000); in bw_calcs_data_update_from_pplib()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Ddm_pp_interface.h170 uint32_t clocks_in_khz; member
180 uint32_t clocks_in_khz; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c582 if (dc->sclk_lvls.clocks_in_khz[i] >= required_sclk) in determine_sclk_from_bounding_box()
583 return dc->sclk_lvls.clocks_in_khz[i]; in determine_sclk_from_bounding_box()
591 return dc->sclk_lvls.clocks_in_khz[dc->sclk_lvls.num_levels - 1]; in determine_sclk_from_bounding_box()
771 clock_voltage_req.clocks_in_khz = patched_disp_clk; in dce12_update_clocks()
779 clock_voltage_req.clocks_in_khz = max_pix_clk; in dce12_update_clocks()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1841 clocks->data[i].clocks_in_khz = in vega12_get_sclks()
1873 clocks->data[i].clocks_in_khz = dpm_table->dpm_levels[i].value * 1000; in vega12_get_memclocks()
1902 clocks->data[i].clocks_in_khz = in vega12_get_dcefclocks()
1930 clocks->data[i].clocks_in_khz = in vega12_get_socclocks()
2261 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2262 (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); in vega12_print_clock_levels()
2277 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2278 (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); in vega12_print_clock_levels()
2295 i, clocks.data[i].clocks_in_khz / 1000, in vega12_print_clock_levels()
2296 (clocks.data[i].clocks_in_khz / 1000 == now) ? "*" : ""); in vega12_print_clock_levels()
[all …]
Dvega20_hwmgr.c2818 clocks->data[i].clocks_in_khz = in vega20_get_sclks()
2846 clocks->data[i].clocks_in_khz = in vega20_get_memclocks()
2871 clocks->data[i].clocks_in_khz = in vega20_get_dcefclocks()
2893 clocks->data[i].clocks_in_khz = in vega20_get_socclocks()
3384 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3385 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
3402 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3403 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
3420 i, clocks.data[i].clocks_in_khz / 1000, in vega20_print_clock_levels()
3421 (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); in vega20_print_clock_levels()
[all …]
Dsmu10_hwmgr.c1110 clocks->data[clocks->num_levels].clocks_in_khz = in smu10_get_clock_by_type_with_latency()
1164 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.c4357 clocks->data[clocks->num_levels].clocks_in_khz = in vega10_get_sclks()
4379 clocks->data[j].clocks_in_khz = in vega10_get_memclocks()
4401 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_dcefclocks()
4417 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_socclocks()
4477 clocks->data[i].clocks_in_khz = dep_table->entries[i].clk * 10; in vega10_get_clock_by_type_with_voltage()
Dsmu7_hwmgr.c4855 clocks->data[clocks->num_levels].clocks_in_khz = in smu7_get_sclks_with_latency()
4876 clocks->data[clocks->num_levels].clocks_in_khz = in smu7_get_mclks_with_latency()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c543 clocks->data[i].clocks_in_khz = in arcturus_get_clk_table()
762 clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
765 clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
785 i, clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
788 clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
808 i, clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
811 clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
834 clocks.data[i].clocks_in_khz / 1000, in arcturus_print_clk_levels()
Dnavi10_ppt.c1274 clocks->data[i].clocks_in_khz = freq * 1000; in navi10_get_clock_by_type_with_latency()
1761 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
1769 if (!clocks_in_khz || !num_states || !table_context->driver_pptable) in navi10_get_uclk_dpm_states()
1782 *clocks_in_khz = (*dpm_levels) * 1000; in navi10_get_uclk_dpm_states()
1783 clocks_in_khz++; in navi10_get_uclk_dpm_states()
Dsienna_cichlid_ppt.c1591 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
1599 if (!clocks_in_khz || !num_states || !table_context->driver_pptable) in sienna_cichlid_get_uclk_dpm_states()
1612 *clocks_in_khz = (*dpm_levels) * 1000; in sienna_cichlid_get_uclk_dpm_states()
1613 clocks_in_khz++; in sienna_cichlid_get_uclk_dpm_states()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h507 int (*get_uclk_dpm_states)(struct smu_context *smu, uint32_t *clocks_in_khz, uint32_t *num_states);