Searched refs:Leakage (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 397 "The CAC Leakage table does not exist!", return -EINVAL); in iceland_populate_bapm_vddc_vid_sidd() 545 pr_warn("CAC Leakage Table does not exist, using vddc.\n"); in iceland_get_std_voltage_value_sidd() 559 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd() 561 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n"); in iceland_get_std_voltage_value_sidd() 563 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd() 579 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage) * VOLTAGE_SCALE; in iceland_get_std_voltage_value_sidd() 581 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index in second look up, using maximum index from CAC table."); in iceland_get_std_voltage_value_sidd() 583 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd()
|
H A D | ci_smumgr.c | 585 "The CAC Leakage table does not exist!", return -EINVAL); in ci_populate_bapm_vddc_vid_sidd() 598 hi_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Leakage); in ci_populate_bapm_vddc_vid_sidd() 777 pr_warn("CAC Leakage Table does not exist, using vddc.\n"); in ci_get_std_voltage_value_sidd() 786 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd() 788 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n"); in ci_get_std_voltage_value_sidd() 790 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd() 802 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage) * VOLTAGE_SCALE; in ci_get_std_voltage_value_sidd() 804 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index in second look up, using maximum index from CAC table."); in ci_get_std_voltage_value_sidd() 806 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 397 "The CAC Leakage table does not exist!", return -EINVAL); in iceland_populate_bapm_vddc_vid_sidd() 545 pr_warn("CAC Leakage Table does not exist, using vddc.\n"); in iceland_get_std_voltage_value_sidd() 559 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd() 561 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n"); in iceland_get_std_voltage_value_sidd() 563 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd() 579 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage) * VOLTAGE_SCALE; in iceland_get_std_voltage_value_sidd() 581 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index in second look up, using maximum index from CAC table."); in iceland_get_std_voltage_value_sidd() 583 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in iceland_get_std_voltage_value_sidd()
|
H A D | ci_smumgr.c | 586 "The CAC Leakage table does not exist!", return -EINVAL); in ci_populate_bapm_vddc_vid_sidd() 599 hi_vid[i] = convert_to_vid(hwmgr->dyn_state.cac_leakage_table->entries[i].Leakage); in ci_populate_bapm_vddc_vid_sidd() 778 pr_warn("CAC Leakage Table does not exist, using vddc.\n"); in ci_get_std_voltage_value_sidd() 787 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd() 789 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index, using maximum index from CAC table.\n"); in ci_get_std_voltage_value_sidd() 791 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd() 803 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[v_index].Leakage) * VOLTAGE_SCALE; in ci_get_std_voltage_value_sidd() 805 pr_warn("Index from SCLK/VDDC Dependency Table exceeds the CAC Leakage Table index in second look up, using maximum index from CAC table."); in ci_get_std_voltage_value_sidd() 807 *hi = (uint16_t)(hwmgr->dyn_state.cac_leakage_table->entries[hwmgr->dyn_state.cac_leakage_table->count - 1].Leakage * VOLTAGE_SCALE); in ci_get_std_voltage_value_sidd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
H A D | hwmgr.h | 386 uint32_t Leakage; /* in CI, we use it for StdVoltageLoSidd */ member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | hwmgr.h | 385 uint32_t Leakage; /* in CI, we use it for StdVoltageLoSidd */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | processpptables.c | 1524 cac_leakage_table->entries[i].Leakage = le32_to_cpu(table->entries[i].ulLeakageValue); in get_cac_leakage_table()
|
H A D | smu7_hwmgr.c | 771 data->dpm_table.vddc_table.dpm_levels[i].param1 = std_voltage_table->entries[i].Leakage; in smu7_setup_dpm_tables_v0() 1779 * Get Leakage VDDC based on leakage ID. 1897 pr_err("Voltage value looks like a Leakage ID but it's not patched \n"); in smu7_patch_ppt_v1_with_vdd_leakage() 2347 pr_err("Voltage value looks like a Leakage ID but it's not patched \n"); in smu7_patch_ppt_v0_with_vdd_leakage()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | processpptables.c | 1505 cac_leakage_table->entries[i].Leakage = le32_to_cpu(table->entries[i].ulLeakageValue); in get_cac_leakage_table()
|
H A D | smu7_hwmgr.c | 833 data->dpm_table.vddc_table.dpm_levels[i].param1 = std_voltage_table->entries[i].Leakage; in smu7_setup_dpm_tables_v0() 2040 * smu7_get_evv_voltages - Get Leakage VDDC based on leakage ID. 2162 pr_info("Voltage value looks like a Leakage ID but it's not patched\n"); in smu7_patch_ppt_v1_with_vdd_leakage() 2645 pr_info("Voltage value looks like a Leakage ID but it's not patched\n"); in smu7_patch_ppt_v0_with_vdd_leakage()
|
Completed in 37 milliseconds