Home
last modified time | relevance | path

Searched refs:cac_tables (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dni_dpm.c3046 PP_NIslands_CACTABLES *cac_tables) in ni_init_driver_calculated_leakage_table() argument
3081 cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(smc_leakage); in ni_init_driver_calculated_leakage_table()
3087 cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(max_leakage); in ni_init_driver_calculated_leakage_table()
3093 PP_NIslands_CACTABLES *cac_tables) in ni_init_simplified_leakage_table() argument
3126 cac_tables->cac_lkge_lut[i][j] = in ni_init_simplified_leakage_table()
3132 cac_tables->cac_lkge_lut[i][j] = in ni_init_simplified_leakage_table()
3142 PP_NIslands_CACTABLES *cac_tables = NULL; in ni_initialize_smc_cac_tables() local
3149 cac_tables = kzalloc(sizeof(PP_NIslands_CACTABLES), GFP_KERNEL); in ni_initialize_smc_cac_tables()
3150 if (!cac_tables) in ni_initialize_smc_cac_tables()
3162 cac_tables->cac_bif_lut[i] = ni_pi->cac_weights->pcie_cac[i]; in ni_initialize_smc_cac_tables()
[all …]
Dsi_dpm.c2558 PP_SIslands_CacConfig *cac_tables, in si_init_dte_leakage_table() argument
2590 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_dte_leakage_table()
2598 PP_SIslands_CacConfig *cac_tables, in si_init_simplified_leakage_table() argument
2626 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_simplified_leakage_table()
2636 PP_SIslands_CacConfig *cac_tables = NULL; in si_initialize_smc_cac_tables() local
2646 cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); in si_initialize_smc_cac_tables()
2647 if (!cac_tables) in si_initialize_smc_cac_tables()
2672 ret = si_init_dte_leakage_table(rdev, cac_tables, in si_initialize_smc_cac_tables()
2676 ret = si_init_simplified_leakage_table(rdev, cac_tables, in si_initialize_smc_cac_tables()
2683 cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); in si_initialize_smc_cac_tables()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c2672 PP_SIslands_CacConfig *cac_tables, in si_init_dte_leakage_table() argument
2704 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_dte_leakage_table()
2712 PP_SIslands_CacConfig *cac_tables, in si_init_simplified_leakage_table() argument
2740 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_simplified_leakage_table()
2750 PP_SIslands_CacConfig *cac_tables = NULL; in si_initialize_smc_cac_tables() local
2760 cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); in si_initialize_smc_cac_tables()
2761 if (!cac_tables) in si_initialize_smc_cac_tables()
2786 ret = si_init_dte_leakage_table(adev, cac_tables, in si_initialize_smc_cac_tables()
2790 ret = si_init_simplified_leakage_table(adev, cac_tables, in si_initialize_smc_cac_tables()
2797 cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); in si_initialize_smc_cac_tables()
[all …]