Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c271 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in aldebaran_allocate_dpm_context() local
273 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()
275 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()
277 smu_dpm->dpm_context_size = sizeof(struct smu_13_0_dpm_context); in aldebaran_allocate_dpm_context()
311 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table()
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()
994 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_force_clk_levels()
[all …]
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()
268 smu_dpm->dpm_context_size = sizeof(struct smu_13_0_dpm_context); in smu_v13_0_6_allocate_dpm_context()
485 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_6_set_default_dpm_table()
592 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_6_populate_umd_state_clk()
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()
1009 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_6_upload_dpm_level()
1068 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_6_force_clk_levels()
[all …]
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()
539 smu_dpm->dpm_request_power_state = NULL; in smu_v13_0_fini_smc_tables()
[all …]
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 …]
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 …]
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()
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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
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 …]
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()
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()
1267 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in navi10_emit_clk_levels() local
1268 struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; in navi10_emit_clk_levels()
1474 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in navi10_print_clk_levels() local
1475 struct smu_11_0_dpm_context *dpm_context = smu_dpm->dpm_context; in navi10_print_clk_levels()
1702 smu->smu_dpm.dpm_context; in navi10_populate_umd_state_clk()
[all …]
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()
2053 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_od_edit_dpm_table()
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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
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()
1143 smu->smu_dpm.requested_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()
1850 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic()
1930 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; in smu_handle_dpm_task() local
1932 return smu_handle_task(smu, smu_dpm->dpm_level, task_id); in smu_handle_dpm_task()
1941 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_switch_power_profile()
1973 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_get_performance_level()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/
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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h485 struct smu_dpm_context smu_dpm; member