Home
last modified time | relevance | path

Searched refs:max_clocks (Results 1 – 11 of 11) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c3445 struct pp_smu_nv_clock_table max_clocks) in dcn20_cap_soc_clocks() argument
3451 if ((bb->clock_limits[i].dcfclk_mhz > (max_clocks.dcfClockInKhz / 1000)) in dcn20_cap_soc_clocks()
3452 && max_clocks.dcfClockInKhz != 0) in dcn20_cap_soc_clocks()
3453 bb->clock_limits[i].dcfclk_mhz = (max_clocks.dcfClockInKhz / 1000); in dcn20_cap_soc_clocks()
3455 if ((bb->clock_limits[i].dram_speed_mts > (max_clocks.uClockInKhz / 1000) * 16) in dcn20_cap_soc_clocks()
3456 && max_clocks.uClockInKhz != 0) in dcn20_cap_soc_clocks()
3457 bb->clock_limits[i].dram_speed_mts = (max_clocks.uClockInKhz / 1000) * 16; in dcn20_cap_soc_clocks()
3459 if ((bb->clock_limits[i].fabricclk_mhz > (max_clocks.fabricClockInKhz / 1000)) in dcn20_cap_soc_clocks()
3460 && max_clocks.fabricClockInKhz != 0) in dcn20_cap_soc_clocks()
3461 bb->clock_limits[i].fabricclk_mhz = (max_clocks.fabricClockInKhz / 1000); in dcn20_cap_soc_clocks()
[all …]
Ddcn20_resource.h101 struct pp_smu_nv_clock_table max_clocks);
103 struct pp_smu_nv_clock_table *max_clocks, unsigned int *uclk_states, unsigned int num_states);
178 struct pp_smu_nv_clock_table max_clocks);
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1383 struct pp_smu_nv_clock_table *max_clocks) in smu_v13_0_get_max_sustainable_clocks_by_dc() argument
1388 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v13_0_get_max_sustainable_clocks_by_dc()
1393 max_clocks->dcfClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1395 max_clocks->displayClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1397 max_clocks->phyClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1399 max_clocks->pixelClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1401 max_clocks->uClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1403 max_clocks->socClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1405 max_clocks->dscClockInKhz = 0; in smu_v13_0_get_max_sustainable_clocks_by_dc()
1406 max_clocks->dppClockInKhz = 0; in smu_v13_0_get_max_sustainable_clocks_by_dc()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1551 struct pp_smu_nv_clock_table *max_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc() argument
1556 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc()
1561 max_clocks->dcfClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1563 max_clocks->displayClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1565 max_clocks->phyClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1567 max_clocks->pixelClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1569 max_clocks->uClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1571 max_clocks->socClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1573 max_clocks->dscClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
1574 max_clocks->dppClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
[all …]
/drivers/gpu/drm/amd/display/dc/
Ddm_pp_smu.h224 struct pp_smu_nv_clock_table *max_clocks);
/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0.h206 struct pp_smu_nv_clock_table *max_clocks);
Dsmu_v11_0.h246 struct pp_smu_nv_clock_table *max_clocks);
Damdgpu_smu.h1103 …t_max_sustainable_clocks_by_dc)(struct smu_context *smu, struct pp_smu_nv_clock_table *max_clocks);
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c758 struct pp_smu *pp, struct pp_smu_nv_clock_table *max_clocks) in pp_nv_get_maximum_sustainable_clocks() argument
768 if (!pp_funcs->get_max_sustainable_clocks_by_dc(pp_handle, max_clocks)) in pp_nv_get_maximum_sustainable_clocks()
/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h393 struct pp_smu_nv_clock_table *max_clocks);
/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c2891 struct pp_smu_nv_clock_table *max_clocks) in smu_get_max_sustainable_clocks_by_dc() argument
2902 ret = smu->ppt_funcs->get_max_sustainable_clocks_by_dc(smu, max_clocks); in smu_get_max_sustainable_clocks_by_dc()