Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Dsmu_v11_0.c988 struct smu_11_0_max_sustainable_clocks *max_sustainable_clocks; in smu_v11_0_init_max_sustainable_clocks() local
991 max_sustainable_clocks = kzalloc(sizeof(struct smu_11_0_max_sustainable_clocks), in smu_v11_0_init_max_sustainable_clocks()
993 smu->smu_table.max_sustainable_clocks = (void *)max_sustainable_clocks; in smu_v11_0_init_max_sustainable_clocks()
995 max_sustainable_clocks->uclock = smu->smu_table.boot_values.uclk / 100; in smu_v11_0_init_max_sustainable_clocks()
996 max_sustainable_clocks->soc_clock = smu->smu_table.boot_values.socclk / 100; in smu_v11_0_init_max_sustainable_clocks()
997 max_sustainable_clocks->dcef_clock = smu->smu_table.boot_values.dcefclk / 100; in smu_v11_0_init_max_sustainable_clocks()
998 max_sustainable_clocks->display_clock = 0xFFFFFFFF; in smu_v11_0_init_max_sustainable_clocks()
999 max_sustainable_clocks->phy_clock = 0xFFFFFFFF; in smu_v11_0_init_max_sustainable_clocks()
1000 max_sustainable_clocks->pixel_clock = 0xFFFFFFFF; in smu_v11_0_init_max_sustainable_clocks()
1004 &(max_sustainable_clocks->uclock), in smu_v11_0_init_max_sustainable_clocks()
[all …]
Dnavi10_ppt.c1530 struct smu_11_0_max_sustainable_clocks *max_sustainable_clocks = in navi10_display_disable_memory_clock_switch() local
1532 smu->smu_table.max_sustainable_clocks; in navi10_display_disable_memory_clock_switch()
1534 uint32_t max_memory_clock = max_sustainable_clocks->uclock; in navi10_display_disable_memory_clock_switch()
Damdgpu_smu.c1309 kfree(table_context->max_sustainable_clocks); in smu_hw_fini()
1310 table_context->max_sustainable_clocks = NULL; in smu_hw_fini()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega20_hwmgr.c1581 struct vega20_max_sustainable_clocks *max_sustainable_clocks = in vega20_init_max_sustainable_clocks() local
1582 &(data->max_sustainable_clocks); in vega20_init_max_sustainable_clocks()
1585 max_sustainable_clocks->uclock = data->vbios_boot_state.mem_clock / 100; in vega20_init_max_sustainable_clocks()
1586 max_sustainable_clocks->soc_clock = data->vbios_boot_state.soc_clock / 100; in vega20_init_max_sustainable_clocks()
1587 max_sustainable_clocks->dcef_clock = data->vbios_boot_state.dcef_clock / 100; in vega20_init_max_sustainable_clocks()
1588 max_sustainable_clocks->display_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1589 max_sustainable_clocks->phy_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1590 max_sustainable_clocks->pixel_clock = 0xFFFFFFFF; in vega20_init_max_sustainable_clocks()
1594 &(max_sustainable_clocks->uclock), in vega20_init_max_sustainable_clocks()
1601 &(max_sustainable_clocks->soc_clock), in vega20_init_max_sustainable_clocks()
[all …]
Dvega20_hwmgr.h443 struct vega20_max_sustainable_clocks max_sustainable_clocks; member
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Damdgpu_smu.h258 void *max_sustainable_clocks; member