Home
last modified time | relevance | path

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

/linux-6.14.4/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c587 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
590 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
591 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
615 if (!smu_table->hardcode_pptable || smu_table->power_play_table_size < size) { in smu_sys_set_pp_table()
616 kfree(smu_table->hardcode_pptable); in smu_sys_set_pp_table()
617 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
618 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
622 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
623 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
/linux-6.14.4/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c505 kfree(smu_table->hardcode_pptable); in smu_v14_0_fini_smc_tables()
506 smu_table->hardcode_pptable = NULL; in smu_v14_0_fini_smc_tables()
/linux-6.14.4/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c444 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()
445 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()
/linux-6.14.4/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h331 void *hardcode_pptable; member
/linux-6.14.4/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c520 kfree(smu_table->hardcode_pptable); in smu_v13_0_fini_smc_tables()
521 smu_table->hardcode_pptable = NULL; in smu_v13_0_fini_smc_tables()