Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/
Dvegam_smumgr.c1575 struct pp_atom_ctrl__avfs_parameters avfs_params = {0}; in vegam_populate_avfs_parameters() local
1588 result = atomctrl_get_avfs_information(hwmgr, &avfs_params); in vegam_populate_avfs_parameters()
1592 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in vegam_populate_avfs_parameters()
1594 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a1); in vegam_populate_avfs_parameters()
1596 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a2); in vegam_populate_avfs_parameters()
1598 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0); in vegam_populate_avfs_parameters()
1600 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a1); in vegam_populate_avfs_parameters()
1602 PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a2); in vegam_populate_avfs_parameters()
1604 PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSON_m1); in vegam_populate_avfs_parameters()
1606 PP_HOST_TO_SMC_US(avfs_params.usAVFSGB_FUSE_TABLE_CKSON_m2); in vegam_populate_avfs_parameters()
[all …]
Dpolaris10_smumgr.c1632 struct pp_atom_ctrl__avfs_parameters avfs_params = {0}; in polaris10_populate_avfs_parameters() local
1646 result = atomctrl_get_avfs_information(hwmgr, &avfs_params); in polaris10_populate_avfs_parameters()
1649 table->BTCGB_VDROOP_TABLE[0].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a0); in polaris10_populate_avfs_parameters()
1650 table->BTCGB_VDROOP_TABLE[0].a1 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a1); in polaris10_populate_avfs_parameters()
1651 table->BTCGB_VDROOP_TABLE[0].a2 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSON_a2); in polaris10_populate_avfs_parameters()
1652 table->BTCGB_VDROOP_TABLE[1].a0 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a0); in polaris10_populate_avfs_parameters()
1653 table->BTCGB_VDROOP_TABLE[1].a1 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a1); in polaris10_populate_avfs_parameters()
1654 table->BTCGB_VDROOP_TABLE[1].a2 = PP_HOST_TO_SMC_UL(avfs_params.ulGB_VDROOP_TABLE_CKSOFF_a2); in polaris10_populate_avfs_parameters()
1655 table->AVFSGB_VDROOP_TABLE[0].m1 = PP_HOST_TO_SMC_UL(avfs_params.ulAVFSGB_FUSE_TABLE_CKSON_m1); in polaris10_populate_avfs_parameters()
1656 table->AVFSGB_VDROOP_TABLE[0].m2 = PP_HOST_TO_SMC_US(avfs_params.usAVFSGB_FUSE_TABLE_CKSON_m2); in polaris10_populate_avfs_parameters()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_hwmgr.c292 struct pp_atomfwctrl_avfs_parameters avfs_params = {0}; in vega10_odn_initial_default_setting() local
296 result = pp_atomfwctrl_get_avfs_information(hwmgr, &avfs_params); in vega10_odn_initial_default_setting()
298 data->odn_dpm_table.max_vddc = avfs_params.ulMaxVddc; in vega10_odn_initial_default_setting()
299 data->odn_dpm_table.min_vddc = avfs_params.ulMinVddc; in vega10_odn_initial_default_setting()
2073 struct pp_atomfwctrl_avfs_parameters avfs_params = {0}; in vega10_populate_avfs_parameters() local
2081 result = pp_atomfwctrl_get_avfs_information(hwmgr, &avfs_params); in vega10_populate_avfs_parameters()
2084 convert_to_vid((uint16_t)(avfs_params.ulMinVddc)); in vega10_populate_avfs_parameters()
2086 convert_to_vid((uint16_t)(avfs_params.ulMaxVddc)); in vega10_populate_avfs_parameters()
2088 pp_table->AConstant[0] = cpu_to_le32(avfs_params.ulMeanNsigmaAcontant0); in vega10_populate_avfs_parameters()
2089 pp_table->AConstant[1] = cpu_to_le32(avfs_params.ulMeanNsigmaAcontant1); in vega10_populate_avfs_parameters()
[all …]