Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1690 struct pp_smu_nv_clock_table *max_clocks, unsigned int *uclk_states, unsigned int num_states) in dcn20_update_bounding_box() argument
1726 …bb->clock_limits[i].socclk_mhz = (bb->clock_limits[i].fabricclk_mhz > max_clocks->socClockInKhz / … in dcn20_update_bounding_box()
1727 max_clocks->socClockInKhz / 1000 : bb->clock_limits[i].fabricclk_mhz; in dcn20_update_bounding_box()
1729 …bb->clock_limits[i].dcfclk_mhz = (bb->clock_limits[i].fabricclk_mhz > max_clocks->dcfClockInKhz / … in dcn20_update_bounding_box()
1730 max_clocks->dcfClockInKhz / 1000 : bb->clock_limits[i].fabricclk_mhz; in dcn20_update_bounding_box()
1732 bb->clock_limits[i].dispclk_mhz = max_clocks->displayClockInKhz / 1000; in dcn20_update_bounding_box()
1733 bb->clock_limits[i].dppclk_mhz = max_clocks->displayClockInKhz / 1000; in dcn20_update_bounding_box()
1734 bb->clock_limits[i].dscclk_mhz = max_clocks->displayClockInKhz / (1000 * 3); in dcn20_update_bounding_box()
1736 bb->clock_limits[i].phyclk_mhz = max_clocks->phyClockInKhz / 1000; in dcn20_update_bounding_box()
1741 bb->clock_limits[num_calculated_states - 1].socclk_mhz = max_clocks->socClockInKhz / 1000; in dcn20_update_bounding_box()
[all …]
Ddcn20_fpu.h56 struct pp_smu_nv_clock_table max_clocks);
59 struct pp_smu_nv_clock_table *max_clocks,
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1544 struct pp_smu_nv_clock_table *max_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc() argument
1549 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v11_0_get_max_sustainable_clocks_by_dc()
1554 max_clocks->dcfClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1556 max_clocks->displayClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1558 max_clocks->phyClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1560 max_clocks->pixelClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1562 max_clocks->uClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1564 max_clocks->socClockInKhz = in smu_v11_0_get_max_sustainable_clocks_by_dc()
1566 max_clocks->dscClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
1567 max_clocks->dppClockInKhz = 0; in smu_v11_0_get_max_sustainable_clocks_by_dc()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1494 struct pp_smu_nv_clock_table *max_clocks) in smu_v13_0_get_max_sustainable_clocks_by_dc() argument
1499 if (!max_clocks || !table_context->max_sustainable_clocks) in smu_v13_0_get_max_sustainable_clocks_by_dc()
1504 max_clocks->dcfClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1506 max_clocks->displayClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1508 max_clocks->phyClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1510 max_clocks->pixelClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1512 max_clocks->uClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1514 max_clocks->socClockInKhz = in smu_v13_0_get_max_sustainable_clocks_by_dc()
1516 max_clocks->dscClockInKhz = 0; in smu_v13_0_get_max_sustainable_clocks_by_dc()
1517 max_clocks->dppClockInKhz = 0; in smu_v13_0_get_max_sustainable_clocks_by_dc()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddm_pp_smu.h224 struct pp_smu_nv_clock_table *max_clocks);
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v13_0.h212 struct pp_smu_nv_clock_table *max_clocks);
Dsmu_v11_0.h240 struct pp_smu_nv_clock_table *max_clocks);
Damdgpu_smu.h1151 …t_max_sustainable_clocks_by_dc)(struct smu_context *smu, struct pp_smu_nv_clock_table *max_clocks);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2341 struct pp_smu_nv_clock_table max_clocks = {0}; in init_soc_bounding_box() local
2357 (&pool->base.pp_smu->nv_funcs.pp_smu, &max_clocks); in init_soc_bounding_box()
2360 if (max_clocks.dcfClockInKhz >= max_clocks.socClockInKhz) in init_soc_bounding_box()
2361 max_clocks.dcfClockInKhz = max_clocks.socClockInKhz - 1000; in init_soc_bounding_box()
2367 dcn20_update_bounding_box(dc, loaded_bb, &max_clocks, uclk_states, num_states); in init_soc_bounding_box()
2371 dcn20_cap_soc_clocks(loaded_bb, max_clocks); in init_soc_bounding_box()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c691 struct pp_smu *pp, struct pp_smu_nv_clock_table *max_clocks) in pp_nv_get_maximum_sustainable_clocks() argument
698 max_clocks); in pp_nv_get_maximum_sustainable_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h552 struct pp_smu_nv_clock_table *max_clocks);
/linux-6.1.9/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h406 struct pp_smu_nv_clock_table *max_clocks);
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1699 struct pp_smu_nv_clock_table *max_clocks) in amdgpu_dpm_get_max_sustainable_clocks_by_dc() argument
1709 max_clocks); in amdgpu_dpm_get_max_sustainable_clocks_by_dc()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c2842 struct pp_smu_nv_clock_table *max_clocks) in smu_get_max_sustainable_clocks_by_dc() argument
2851 ret = smu->ppt_funcs->get_max_sustainable_clocks_by_dc(smu, max_clocks); in smu_get_max_sustainable_clocks_by_dc()