Home
last modified time | relevance | path

Searched refs:smu_power (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Dsmu_v13_0.c457 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_init_power() local
459 if (smu_power->power_context || smu_power->power_context_size != 0) in smu_v13_0_init_power()
462 smu_power->power_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_init_power()
464 if (!smu_power->power_context) in smu_v13_0_init_power()
466 smu_power->power_context_size = sizeof(struct smu_13_0_dpm_context); in smu_v13_0_init_power()
473 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_fini_power() local
475 if (!smu_power->power_context || smu_power->power_context_size == 0) in smu_v13_0_fini_power()
478 kfree(smu_power->power_context); in smu_v13_0_fini_power()
479 smu_power->power_context = NULL; in smu_v13_0_fini_power()
480 smu_power->power_context_size = 0; in smu_v13_0_fini_power()
/linux/drivers/gpu/drm/amd/pm/swsmu/
A Damdgpu_smu.c190 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_vcn_enable_locked() local
191 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vcn_enable_locked()
210 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_vcn_enable() local
211 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vcn_enable()
226 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_jpeg_enable_locked() local
246 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_jpeg_enable() local
648 struct smu_power_context *smu_power = &smu->smu_power; in smu_set_default_dpm_table() local
1046 atomic_set(&smu->smu_power.power_gate.vcn_gated, 1); in smu_sw_init()
1047 atomic_set(&smu->smu_power.power_gate.jpeg_gated, 1); in smu_sw_init()
1048 mutex_init(&smu->smu_power.power_gate.vcn_gate_lock); in smu_sw_init()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dsmu_v11_0.c498 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_init_power() local
503 smu_power->power_context = kzalloc(size, GFP_KERNEL); in smu_v11_0_init_power()
504 if (!smu_power->power_context) in smu_v11_0_init_power()
506 smu_power->power_context_size = size; in smu_v11_0_init_power()
513 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_fini_power() local
515 kfree(smu_power->power_context); in smu_v11_0_fini_power()
516 smu_power->power_context = NULL; in smu_v11_0_fini_power()
517 smu_power->power_context_size = 0; in smu_v11_0_fini_power()
A Dvangogh_ppt.c2079 smu->smu_power.power_context; in vangogh_get_power_limit()
2118 smu->smu_power.power_context; in vangogh_get_ppt_limit()
2147 smu->smu_power.power_context; in vangogh_set_power_limit()
/linux/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_smu.h496 struct smu_power_context smu_power; member

Completed in 24 milliseconds