Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c622 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
625 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
626 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
650 if (!smu_table->hardcode_pptable || smu_table->power_play_table_size < size) { in smu_sys_set_pp_table()
651 kfree(smu_table->hardcode_pptable); in smu_sys_set_pp_table()
652 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
653 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
657 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
658 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c511 kfree(smu_table->hardcode_pptable); in smu_v14_0_fini_smc_tables()
512 smu_table->hardcode_pptable = NULL; in smu_v14_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c445 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()
446 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c523 kfree(smu_table->hardcode_pptable); in smu_v13_0_fini_smc_tables()
524 smu_table->hardcode_pptable = NULL; in smu_v13_0_fini_smc_tables()