Home
last modified time | relevance | path

Searched refs:smu_dpm (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c271 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in aldebaran_allocate_dpm_context() local
275 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()
510 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()
750 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in aldebaran_print_clk_levels() local
763 dpm_context = smu_dpm->dpm_context; in aldebaran_print_clk_levels()
942 smu->smu_dpm.dpm_context; in aldebaran_upload_dpm_level()
1270 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in aldebaran_set_performance_level() local
1306 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in aldebaran_set_soft_freq_limited_range() local
1317 if ((smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) in aldebaran_set_soft_freq_limited_range()
1375 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in aldebaran_usr_edit_dpm_table() local
[all …]
H A Dsmu_v13_0_6_ppt.c262 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_6_allocate_dpm_context() local
264 smu_dpm->dpm_context = in smu_v13_0_6_allocate_dpm_context()
266 if (!smu_dpm->dpm_context) in smu_v13_0_6_allocate_dpm_context()
793 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_6_print_clk_levels() local
804 dpm_context = smu_dpm->dpm_context; in smu_v13_0_6_print_clk_levels()
1436 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in smu_v13_0_6_set_performance_level() local
1480 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in smu_v13_0_6_set_soft_freq_limited_range() local
1491 if ((smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) && in smu_v13_0_6_set_soft_freq_limited_range()
1495 if (smu_dpm->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in smu_v13_0_6_set_soft_freq_limited_range()
1552 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in smu_v13_0_6_usr_edit_dpm_table() local
[all …]
H A Dsmu_v13_0.c504 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_fini_smc_tables() local
531 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()
532 kfree(smu_dpm->golden_dpm_context); in smu_v13_0_fini_smc_tables()
533 kfree(smu_dpm->dpm_current_power_state); in smu_v13_0_fini_smc_tables()
534 kfree(smu_dpm->dpm_request_power_state); in smu_v13_0_fini_smc_tables()
535 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()
536 smu_dpm->golden_dpm_context = NULL; in smu_v13_0_fini_smc_tables()
537 smu_dpm->dpm_context_size = 0; in smu_v13_0_fini_smc_tables()
538 smu_dpm->dpm_current_power_state = NULL; in smu_v13_0_fini_smc_tables()
1696 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()
[all …]
H A Dsmu_v13_0_7_ppt.c541 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_7_allocate_dpm_context() local
543 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()
545 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()
548 smu_dpm->dpm_context_size = sizeof(struct smu_13_0_dpm_context); in smu_v13_0_7_allocate_dpm_context()
570 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table()
869 smu->smu_dpm.dpm_context; in smu_v13_0_7_get_dpm_ultimate_freq()
1141 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_7_print_clk_levels() local
1142 struct smu_13_0_dpm_context *dpm_context = smu_dpm->dpm_context; in smu_v13_0_7_print_clk_levels()
1566 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_7_force_clk_levels() local
1567 struct smu_13_0_dpm_context *dpm_context = smu_dpm->dpm_context; in smu_v13_0_7_force_clk_levels()
[all …]
H A Dsmu_v13_0_0_ppt.c541 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_0_allocate_dpm_context() local
543 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()
545 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()
548 smu_dpm->dpm_context_size = sizeof(struct smu_13_0_dpm_context); in smu_v13_0_0_allocate_dpm_context()
570 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table()
888 smu->smu_dpm.dpm_context; in smu_v13_0_0_get_dpm_ultimate_freq()
1160 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_0_print_clk_levels() local
1161 struct smu_13_0_dpm_context *dpm_context = smu_dpm->dpm_context; in smu_v13_0_0_print_clk_levels()
1585 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v13_0_0_force_clk_levels() local
1586 struct smu_13_0_dpm_context *dpm_context = smu_dpm->dpm_context; in smu_v13_0_0_force_clk_levels()
[all …]
H A Dsmu_v13_0_5_ppt.c508 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in smu_v13_0_5_od_edit_dpm_table() local
512 if (smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) in smu_v13_0_5_od_edit_dpm_table()
H A Dyellow_carp_ppt.c639 struct smu_dpm_context *smu_dpm = &(smu->smu_dpm); in yellow_carp_od_edit_dpm_table() local
643 if (smu_dpm->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) in yellow_carp_od_edit_dpm_table()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c431 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_v11_0_fini_smc_tables() local
460 kfree(smu_dpm->dpm_context); in smu_v11_0_fini_smc_tables()
461 kfree(smu_dpm->golden_dpm_context); in smu_v11_0_fini_smc_tables()
462 kfree(smu_dpm->dpm_current_power_state); in smu_v11_0_fini_smc_tables()
463 kfree(smu_dpm->dpm_request_power_state); in smu_v11_0_fini_smc_tables()
464 smu_dpm->dpm_context = NULL; in smu_v11_0_fini_smc_tables()
465 smu_dpm->golden_dpm_context = NULL; in smu_v11_0_fini_smc_tables()
466 smu_dpm->dpm_context_size = 0; in smu_v11_0_fini_smc_tables()
467 smu_dpm->dpm_current_power_state = NULL; in smu_v11_0_fini_smc_tables()
468 smu_dpm->dpm_request_power_state = NULL; in smu_v11_0_fini_smc_tables()
[all …]
H A Darcturus_ppt.c288 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in arcturus_allocate_dpm_context() local
290 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in arcturus_allocate_dpm_context()
292 if (!smu_dpm->dpm_context) in arcturus_allocate_dpm_context()
294 smu_dpm->dpm_context_size = sizeof(struct smu_11_0_dpm_context); in arcturus_allocate_dpm_context()
329 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in arcturus_set_default_dpm_table()
532 smu->smu_dpm.dpm_context; in arcturus_populate_umd_state_clk()
767 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in arcturus_print_clk_levels() local
778 dpm_context = smu_dpm->dpm_context; in arcturus_print_clk_levels()
953 smu->smu_dpm.dpm_context; in arcturus_upload_dpm_level()
1005 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in arcturus_force_clk_levels()
H A Dnavi10_ppt.c942 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in navi10_allocate_dpm_context() local
944 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in navi10_allocate_dpm_context()
946 if (!smu_dpm->dpm_context) in navi10_allocate_dpm_context()
949 smu_dpm->dpm_context_size = sizeof(struct smu_11_0_dpm_context); in navi10_allocate_dpm_context()
971 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in navi10_set_default_dpm_table()
1270 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in navi10_emit_clk_levels() local
1271 struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; in navi10_emit_clk_levels()
1481 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in navi10_print_clk_levels() local
1482 struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; in navi10_print_clk_levels()
1717 smu->smu_dpm.dpm_context; in navi10_populate_umd_state_clk()
[all …]
H A Dvangogh_ppt.c453 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in vangogh_allocate_dpm_context() local
455 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in vangogh_allocate_dpm_context()
457 if (!smu_dpm->dpm_context) in vangogh_allocate_dpm_context()
460 smu_dpm->dpm_context_size = sizeof(struct smu_11_0_dpm_context); in vangogh_allocate_dpm_context()
588 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_legacy_clk_levels()
690 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_clk_levels()
2065 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_od_edit_dpm_table()
H A Dsienna_cichlid_ppt.c901 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in sienna_cichlid_allocate_dpm_context() local
903 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()
905 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()
908 smu_dpm->dpm_context_size = sizeof(struct smu_11_0_dpm_context); in sienna_cichlid_allocate_dpm_context()
936 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table()
1265 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in sienna_cichlid_print_clk_levels() local
1266 struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; in sienna_cichlid_print_clk_levels()
1477 smu->smu_dpm.dpm_context; in sienna_cichlid_populate_umd_state_clk()
2091 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_update_pcie_parameters()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c370 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_restore_dpm_user_profile()
781 smu->smu_dpm.dpm_level, in smu_late_init()
1142 smu->smu_dpm.dpm_level = AMD_DPM_FORCED_LEVEL_AUTO; in smu_sw_init()
1802 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_enable_umd_pstate()
1851 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic()
1933 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_handle_dpm_task() local
1935 return smu_handle_task(smu, smu_dpm->dpm_level, task_id); in smu_handle_dpm_task()
1944 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_switch_power_profile()
1976 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_get_performance_level()
1991 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_force_performance_level()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c388 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_od_edit_dpm_table()
500 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_print_clk_levels()
623 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_get_current_power_state()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h485 struct smu_dpm_context smu_dpm; member