Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dpolaris10_smumgr.c1777 struct pp_atom_ctrl__avfs_parameters avfs_params = {0}; in polaris10_populate_avfs_parameters() local
1797 result = atomctrl_get_avfs_information(hwmgr, &avfs_params); in polaris10_populate_avfs_parameters()
1803 avfs_params.ucEnableApplyAVFS_CKS_OFF_Voltage = 1; in polaris10_populate_avfs_parameters()
1806 if ((avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0 == 0xEA522DD3) && in polaris10_populate_avfs_parameters()
1807 (avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a1 == 0x5645A) && in polaris10_populate_avfs_parameters()
1808 (avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a2 == 0x33F9E) && in polaris10_populate_avfs_parameters()
1809 (avfs_params.ulAVFSGB_FUSE_TABLE_CKSOFF_m1 == 0xFFFFC5CC) && in polaris10_populate_avfs_parameters()
1810 (avfs_params.usAVFSGB_FUSE_TABLE_CKSOFF_m2 == 0x1B1A) && in polaris10_populate_avfs_parameters()
1811 (avfs_params.ulAVFSGB_FUSE_TABLE_CKSOFF_b == 0xFFFFFCED)) { in polaris10_populate_avfs_parameters()
1812 avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0 = 0xF718F1D4; in polaris10_populate_avfs_parameters()
[all …]
Dvegam_smumgr.c1568 struct pp_atom_ctrl__avfs_parameters avfs_params = {0}; in vegam_populate_avfs_parameters() local
1581 result = atomctrl_get_avfs_information(hwmgr, &avfs_params); in vegam_populate_avfs_parameters()
1585 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in vegam_populate_avfs_parameters()
1587 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a1); in vegam_populate_avfs_parameters()
1589 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a2); in vegam_populate_avfs_parameters()
1591 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0); in vegam_populate_avfs_parameters()
1593 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a1); in vegam_populate_avfs_parameters()
1595 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a2); in vegam_populate_avfs_parameters()
1597 PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSON_m1); in vegam_populate_avfs_parameters()
1599 PP_HOST_TO_SMC_US(avfs_params.usAVFSGB_FUSE_TABLE_CKSON_m2); in vegam_populate_avfs_parameters()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_hwmgr.c313 struct pp_atomfwctrl_avfs_parameters avfs_params = {0}; in vega10_odn_initial_default_setting() local
317 result = pp_atomfwctrl_get_avfs_information(hwmgr, &avfs_params); in vega10_odn_initial_default_setting()
319 data->odn_dpm_table.max_vddc = avfs_params.ulMaxVddc; in vega10_odn_initial_default_setting()
320 data->odn_dpm_table.min_vddc = avfs_params.ulMinVddc; in vega10_odn_initial_default_setting()
2166 struct pp_atomfwctrl_avfs_parameters avfs_params = {0}; in vega10_populate_avfs_parameters() local
2174 result = pp_atomfwctrl_get_avfs_information(hwmgr, &avfs_params); in vega10_populate_avfs_parameters()
2177 convert_to_vid((uint16_t)(avfs_params.ulMinVddc)); in vega10_populate_avfs_parameters()
2179 convert_to_vid((uint16_t)(avfs_params.ulMaxVddc)); in vega10_populate_avfs_parameters()
2181 pp_table->AConstant[0] = cpu_to_le32(avfs_params.ulMeanNsigmaAcontant0); in vega10_populate_avfs_parameters()
2182 pp_table->AConstant[1] = cpu_to_le32(avfs_params.ulMeanNsigmaAcontant1); in vega10_populate_avfs_parameters()
[all …]