Home
last modified time | relevance | path

Searched refs:vddgfx (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr_ppt.h38 uint16_t vddgfx; member
67 uint16_t vddgfx; member
H A Dsmu7_hwmgr.c1789 uint16_t vddgfx = 0; in smu7_get_evv_voltages() local
1818 vv_id, &vddgfx)) { in smu7_get_evv_voltages()
1819 /* need to make sure vddgfx is less than 2v or else, it could burn the ASIC. */ in smu7_get_evv_voltages()
1820 PP_ASSERT_WITH_CODE((vddgfx < 2000 && vddgfx != 0), "Invalid VDDGFX value!", return -EINVAL); in smu7_get_evv_voltages()
1823 if (vddgfx != 0 && vddgfx != vv_id) { in smu7_get_evv_voltages()
1824 data->vddcgfx_leakage.actual_voltage[data->vddcgfx_leakage.count] = vddgfx; in smu7_get_evv_voltages()
1952 sclk_table->entries[entry_id].vddgfx = in smu7_patch_voltage_dependency_tables_with_lookup_table()
2029 v_record.us_vdd = sclk_table->entries[entry_id].vddgfx in smu7_calc_voltage_dependency_tables()
[all...]
H A Dsmu_helper.c702 dep_table->entries[i].vddgfx = allowed_dep_table->entries[i].vddgfx; in smu_get_voltage_dependency_table_ppt_v1()
H A Dsmu8_hwmgr.c1723 uint16_t vddnb, vddgfx; in smu8_read_sensor() local
1748 vddgfx = smu8_convert_8Bit_index_to_voltage(hwmgr, (u16)tmp) / 4; in smu8_read_sensor()
1749 *((uint32_t *)value) = vddgfx; in smu8_read_sensor()
H A Dprocess_pptables_v1_0.c362 limits->vddgfx = le16_to_cpu(limitable->entries[0].usVddgfxLimit); in get_hard_limits()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr_ppt.h38 uint16_t vddgfx; member
67 uint16_t vddgfx; member
H A Dsmu_helper.c704 dep_table->entries[i].vddgfx = allowed_dep_table->entries[i].vddgfx; in smu_get_voltage_dependency_table_ppt_v1()
H A Dsmu7_hwmgr.c2050 uint16_t vddgfx = 0; in smu7_get_evv_voltages() local
2083 vv_id, &vddgfx)) { in smu7_get_evv_voltages()
2084 /* need to make sure vddgfx is less than 2v or else, it could burn the ASIC. */ in smu7_get_evv_voltages()
2085 PP_ASSERT_WITH_CODE((vddgfx < 2000 && vddgfx != 0), "Invalid VDDGFX value!", return -EINVAL); in smu7_get_evv_voltages()
2088 if (vddgfx != 0 && vddgfx != vv_id) { in smu7_get_evv_voltages()
2089 data->vddcgfx_leakage.actual_voltage[data->vddcgfx_leakage.count] = vddgfx; in smu7_get_evv_voltages()
2217 sclk_table->entries[entry_id].vddgfx = in smu7_patch_voltage_dependency_tables_with_lookup_table()
2294 v_record.us_vdd = sclk_table->entries[entry_id].vddgfx in smu7_calc_voltage_dependency_tables()
[all...]
H A Dsmu8_hwmgr.c1736 uint16_t vddnb, vddgfx; in smu8_read_sensor() local
1761 vddgfx = smu8_convert_8Bit_index_to_voltage(hwmgr, (u16)tmp) / 4; in smu8_read_sensor()
1762 *((uint32_t *)value) = vddgfx; in smu8_read_sensor()
H A Dprocess_pptables_v1_0.c355 limits->vddgfx = le16_to_cpu(limitable->entries[0].usVddgfxLimit); in get_hard_limits()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c264 allowed_clock_voltage_table->entries[i].vddgfx); in tonga_get_dependency_volt_by_clk()
288 allowed_clock_voltage_table->entries[i-1].vddgfx); in tonga_get_dependency_volt_by_clk()
423 /* We are populating vddgfx CAC data to BapmVddgfx table in split mode */ in tonga_populate_cac_tables()
1332 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_uvd_level()
1392 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_vce_level()
1437 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_acp_level()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dtonga_smumgr.c264 allowed_clock_voltage_table->entries[i].vddgfx); in tonga_get_dependency_volt_by_clk()
288 allowed_clock_voltage_table->entries[i-1].vddgfx); in tonga_get_dependency_volt_by_clk()
423 /* We are populating vddgfx CAC data to BapmVddgfx table in split mode */ in tonga_populate_cac_tables()
1332 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_uvd_level()
1392 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_vce_level()
1437 mm_table->entries[count].vddgfx) : 0; in tonga_populate_smc_acp_level()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c2794 u32 vddgfx; in amdgpu_hwmon_show_vddgfx() local
2795 int r, size = sizeof(vddgfx); in amdgpu_hwmon_show_vddgfx()
2808 (void *)&vddgfx, &size); in amdgpu_hwmon_show_vddgfx()
2816 return snprintf(buf, PAGE_SIZE, "%d\n", vddgfx); in amdgpu_hwmon_show_vddgfx()
2823 return snprintf(buf, PAGE_SIZE, "vddgfx\n"); in amdgpu_hwmon_show_vddgfx_label()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Dhwmgr.h527 uint16_t vddgfx; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h527 uint16_t vddgfx; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c654 * overdrive vddgfx offset"
2733 u32 vddgfx; in amdgpu_hwmon_show_vddgfx() local
2738 (void *)&vddgfx); in amdgpu_hwmon_show_vddgfx()
2742 return sysfs_emit(buf, "%d\n", vddgfx); in amdgpu_hwmon_show_vddgfx()
2749 return sysfs_emit(buf, "vddgfx\n"); in amdgpu_hwmon_show_vddgfx_label()

Completed in 40 milliseconds