Home
last modified time | relevance | path

Searched refs:max_sustainable_clocks (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c378 smu_table->max_sustainable_clocks = in smu_v11_0_init_smc_tables()
380 if (!smu_table->max_sustainable_clocks) { in smu_v11_0_init_smc_tables()
417 kfree(smu_table->max_sustainable_clocks); in smu_v11_0_init_smc_tables()
433 kfree(smu_table->max_sustainable_clocks); in smu_v11_0_fini_smc_tables()
440 smu_table->max_sustainable_clocks = NULL; in smu_v11_0_fini_smc_tables()
829 struct smu_11_0_max_sustainable_clocks *max_sustainable_clocks = in smu_v11_0_init_max_sustainable_clocks() local
830 smu->smu_table.max_sustainable_clocks; in smu_v11_0_init_max_sustainable_clocks()
833 max_sustainable_clocks->uclock = smu->smu_table.boot_values.uclk / 100; in smu_v11_0_init_max_sustainable_clocks()
834 max_sustainable_clocks->soc_clock = smu->smu_table.boot_values.socclk / 100; in smu_v11_0_init_max_sustainable_clocks()
835 max_sustainable_clocks->dcef_clock = smu->smu_table.boot_values.dcefclk / 100; in smu_v11_0_init_max_sustainable_clocks()
[all …]
Dnavi10_ppt.c2329 struct smu_11_0_max_sustainable_clocks *max_sustainable_clocks = in navi10_display_disable_memory_clock_switch() local
2331 smu->smu_table.max_sustainable_clocks; in navi10_display_disable_memory_clock_switch()
2333 uint32_t max_memory_clock = max_sustainable_clocks->uclock; in navi10_display_disable_memory_clock_switch()
Dsienna_cichlid_ppt.c2084 struct smu_11_0_max_sustainable_clocks *max_sustainable_clocks = in sienna_cichlid_display_disable_memory_clock_switch() local
2086 smu->smu_table.max_sustainable_clocks; in sienna_cichlid_display_disable_memory_clock_switch()
2088 uint32_t max_memory_clock = max_sustainable_clocks->uclock; in sienna_cichlid_display_disable_memory_clock_switch()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c446 smu_table->max_sustainable_clocks = in smu_v13_0_init_smc_tables()
448 if (!smu_table->max_sustainable_clocks) { in smu_v13_0_init_smc_tables()
493 kfree(smu_table->max_sustainable_clocks); in smu_v13_0_init_smc_tables()
510 kfree(smu_table->max_sustainable_clocks); in smu_v13_0_fini_smc_tables()
517 smu_table->max_sustainable_clocks = NULL; in smu_v13_0_fini_smc_tables()
887 struct smu_13_0_max_sustainable_clocks *max_sustainable_clocks = in smu_v13_0_init_max_sustainable_clocks() local
888 smu->smu_table.max_sustainable_clocks; in smu_v13_0_init_max_sustainable_clocks()
891 max_sustainable_clocks->uclock = smu->smu_table.boot_values.uclk / 100; in smu_v13_0_init_max_sustainable_clocks()
892 max_sustainable_clocks->soc_clock = smu->smu_table.boot_values.socclk / 100; in smu_v13_0_init_max_sustainable_clocks()
893 max_sustainable_clocks->dcef_clock = smu->smu_table.boot_values.dcefclk / 100; in smu_v13_0_init_max_sustainable_clocks()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c1616 struct vega20_max_sustainable_clocks *max_sustainable_clocks = in vega20_init_max_sustainable_clocks() local
1617 &(data->max_sustainable_clocks); in vega20_init_max_sustainable_clocks()
1620 max_sustainable_clocks->uclock = data->vbios_boot_state.mem_clock / 100; in vega20_init_max_sustainable_clocks()
1621 max_sustainable_clocks->soc_clock = data->vbios_boot_state.soc_clock / 100; in vega20_init_max_sustainable_clocks()
1622 max_sustainable_clocks->dcef_clock = data->vbios_boot_state.dcef_clock / 100; in vega20_init_max_sustainable_clocks()
1623 max_sustainable_clocks->display_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1624 max_sustainable_clocks->phy_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1625 max_sustainable_clocks->pixel_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1629 &(max_sustainable_clocks->uclock), in vega20_init_max_sustainable_clocks()
1636 &(max_sustainable_clocks->soc_clock), in vega20_init_max_sustainable_clocks()
[all …]
Dvega20_hwmgr.h441 struct vega20_max_sustainable_clocks max_sustainable_clocks; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c434 smu_table->max_sustainable_clocks = in smu_v14_0_init_smc_tables()
436 if (!smu_table->max_sustainable_clocks) { in smu_v14_0_init_smc_tables()
480 kfree(smu_table->max_sustainable_clocks); in smu_v14_0_init_smc_tables()
496 kfree(smu_table->max_sustainable_clocks); in smu_v14_0_fini_smc_tables()
502 smu_table->max_sustainable_clocks = NULL; in smu_v14_0_fini_smc_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h337 void *max_sustainable_clocks; member