drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level settings
Subsystems (2)
PATCH 1/4 drm/amd/powerplay: support Vega10 SOCclk and DCEFclk dpm level settings
Enable SOCclk and DCEFclk dpm level retrieving and setting on Vega10.
--- .../drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 83 +++++++++++++++++++ .../drm/amd/powerplay/hwmgr/vega10_hwmgr.h | 1 + 2 files changed, 84 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +83 -0
@@ -72,6 +72,21 @@ static const uint32_t channel_number[] = {1, 2, 0, 4, 0, 8, 0, 16, 2};#define DF_CS_AON0_DramBaseAddress0__IntLvAddrSel_MASK 0x00000700L#define DF_CS_AON0_DramBaseAddress0__DramBaseAddr_MASK 0xFFFFF000L +typedef enum { +CLK_SMNCLK =0 , +CLK_SOCCLK , +CLK_MP0CLK , +CLK_MP1CLK , +CLK_LCLK , +CLK_DCEFCLK , +CLK_VCLK , +CLK_DCLK , +CLK_ECLK , +CLK_UCLK , +CLK_GFXCLK , +CLK_COUNT , +}CLOCK_ID_e ; +static const ULONG PhwVega10_Magic = (ULONG )(PHM_VIslands_Magic); struct vega10_power_state *cast_phw_vega10_power_state(
@@ -3486,6 +3501,17 @@ static int vega10_upload_dpm_bootup_level(struct pp_hwmgr *hwmgr) } } +if (!data->registry_data.socclk_dpm_key_disabled) { +if (data->smc_state_table.soc_boot_level != + data->dpm_table.soc_table.dpm_state.soft_min_level) { +smum_send_msg_to_smc_with_parameter (hwmgr, + PPSMC_MSG_SetSoftMinSocclkByIndex, + data->smc_state_table.soc_boot_level); + data->dpm_table.soc_table.dpm_state.soft_min_level = + data->smc_state_table.soc_boot_level; + } + } +return 0 ; }
@@ -3517,6 +3543,17 @@ static int vega10_upload_dpm_max_level(struct pp_hwmgr *hwmgr) } } +if (!data->registry_data.socclk_dpm_key_disabled) { +if (data->smc_state_table.soc_max_level != + data->dpm_table.soc_table.dpm_state.soft_max_level) { +smum_send_msg_to_smc_with_parameter (hwmgr, + PPSMC_MSG_SetSoftMaxSocclkByIndex, + data->smc_state_table.soc_max_level); + data->dpm_table.soc_table.dpm_state.soft_max_level = + data->smc_state_table.soc_max_level; + } + } +return 0 ; }
@@ -4029,6 +4066,24 @@ static int vega10_force_clock_level(struct pp_hwmgr *hwmgr,break ; +case PP_SOCCLK : + data->smc_state_table.soc_boot_level = mask ? (ffs (mask) -1 ) :0 ; + data->smc_state_table.soc_max_level = mask ? (fls (mask) -1 ) :0 ; + +PP_ASSERT_WITH_CODE (!vega10_upload_dpm_bootup_level (hwmgr), +"Failed to upload boot level to lowest!" , + return -EINVAL ); + +PP_ASSERT_WITH_CODE (!vega10_upload_dpm_max_level (hwmgr), +"Failed to upload dpm max level to highest!" , + return -EINVAL ); + +break ; + +case PP_DCEFCLK : +pr_info ("Setting DCEFCLK min/max dpm level is not supported!\n" ); +break ; +case PP_PCIE :default :break ;
@@ -4274,6 +4329,8 @@ static int vega10_print_clock_levels(struct pp_hwmgr *hwmgr,struct vega10_hwmgr *data = hwmgr->backend;struct vega10_single_dpm_table *sclk_table = &(data->dpm_table.gfx_table);struct vega10_single_dpm_table *mclk_table = &(data->dpm_table.mem_table); +struct vega10_single_dpm_table *soc_table = &(data->dpm_table.soc_table); +struct vega10_single_dpm_table *dcef_table = &(data->dpm_table.dcef_table);struct vega10_pcie_table *pcie_table = &(data->dpm_table.pcie_table);struct vega10_odn_clock_voltage_dependency_table *podn_vdd_dep =NULL ;
@@ -4304,6 +4361,32 @@ static int vega10_print_clock_levels(struct pp_hwmgr *hwmgr, i, mclk_table->dpm_levels[i].value /100 , (i == now) ? "*" : "");break ; +case PP_SOCCLK : +if (data->registry_data.socclk_dpm_key_disabled) +break ; + +smum_send_msg_to_smc (hwmgr, PPSMC_MSG_GetCurrentSocclkIndex); + now =smum_get_argument (hwmgr); + +for (i =0 ; i < soc_table->count; i++) + size +=sprintf (buf + size,"%d: %uMhz %s\n" , + i, soc_table->dpm_levels[i].value /100 , + (i == now) ?"*" :"" ); +break ; +case PP_DCEFCLK : +if (data->registry_data.dcefclk_dpm_key_disabled) +break ; + +smum_send_msg_to_smc_with_parameter (hwmgr, + PPSMC_MSG_GetClockFreqMHz,CLK_DCEFCLK ); + now =smum_get_argument (hwmgr); + +for (i =0 ; i < dcef_table->count; i++) + size +=sprintf (buf + size,"%d: %uMhz %s\n" , + i, dcef_table->dpm_levels[i].value /100 , + (dcef_table->dpm_levels[i].value /100 == now) ? +"*" :"" ); +break ;case PP_PCIE :smum_send_msg_to_smc (hwmgr, PPSMC_MSG_GetCurrentLinkIndex); now =smum_get_argument (hwmgr);
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h +1 -0
@@ -199,6 +199,7 @@ struct vega10_smc_state_table {uint32_t vce_boot_level;uint32_t gfx_max_level;uint32_t mem_max_level; +uint32_t soc_max_level;uint8_t vr_hot_gpio;uint8_t ac_dc_gpio;uint8_t therm_out_gpio;
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/4 drm/amd/powerplay: support Vega10 retrieving and setting ppfeatures
Enable retrieving and setting ppfeatures on Vega10.
--- .../drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +101 -0
@@ -4323,6 +4323,105 @@ static int vega10_set_watermarks_for_clocks_ranges(struct pp_hwmgr *hwmgr,return result; } +static int vega10_get_ppfeature_status (struct pp_hwmgr *hwmgr,char *buf) +{ +static const char *ppfeature_name[] = { +"DPM_PREFETCHER" , +"GFXCLK_DPM" , +"UCLK_DPM" , +"SOCCLK_DPM" , +"UVD_DPM" , +"VCE_DPM" , +"ULV" , +"MP0CLK_DPM" , +"LINK_DPM" , +"DCEFCLK_DPM" , +"AVFS" , +"GFXCLK_DS" , +"SOCCLK_DS" , +"LCLK_DS" , +"PPT" , +"TDC" , +"THERMAL" , +"GFX_PER_CU_CG" , +"RM" , +"DCEFCLK_DS" , +"ACDC" , +"VR0HOT" , +"VR1HOT" , +"FW_CTF" , +"LED_DISPLAY" , +"FAN_CONTROL" , +"FAST_PPT" , +"DIDT" , +"ACG" , +"PCC_LIMIT" }; +static const char *output_title[] = { +"FEATURES" , +"BITMASK" , +"ENABLEMENT" }; +uint64_t features_enabled; +int i; +int ret =0 ; +int size =0 ; + + ret =vega10_get_enabled_smc_features (hwmgr, &features_enabled); +PP_ASSERT_WITH_CODE (!ret, +"[EnableAllSmuFeatures] Failed to get enabled smc features!" , + return ret); + + size +=sprintf (buf + size,"Current ppfeatures: 0x%016llx\n" , features_enabled); + size +=sprintf (buf + size,"%-19s %-22s %s\n" , + output_title[0 ], + output_title[1 ], + output_title[2 ]); +for (i =0 ; i <GNLD_FEATURES_MAX ; i++) { + size +=sprintf (buf + size,"%-19s 0x%016llx %6s\n" , + ppfeature_name[i], +1ULL << i, + (features_enabled & (1ULL << i)) ?"Y" :"N" ); + } + +return size; +} + +static int vega10_set_ppfeature_status (struct pp_hwmgr *hwmgr,uint64_t new_ppfeature_masks) +{ +uint64_t features_enabled; +uint64_t features_to_enable; +uint64_t features_to_disable; +int ret =0 ; + +if (new_ppfeature_masks >= (1ULL <<GNLD_FEATURES_MAX )) +return -EINVAL ; + + ret =vega10_get_enabled_smc_features (hwmgr, &features_enabled); +if (ret) +return ret; + + features_to_disable = + (features_enabled ^ new_ppfeature_masks) & features_enabled; + features_to_enable = + (features_enabled ^ new_ppfeature_masks) ^ features_to_disable; + +pr_debug ("features_to_disable 0x%llx\n" , features_to_disable); +pr_debug ("features_to_enable 0x%llx\n" , features_to_enable); + +if (features_to_disable) { + ret =vega10_enable_smc_features (hwmgr, false, features_to_disable); +if (ret) +return ret; + } + +if (features_to_enable) { + ret =vega10_enable_smc_features (hwmgr, true, features_to_enable); +if (ret) +return ret; + } + +return 0 ; +} +static int vega10_print_clock_levels (struct pp_hwmgr *hwmgr,enum pp_clock_type type,char *buf) {
@@ -5067,6 +5166,8 @@ static const struct pp_hwmgr_func vega10_hwmgr_funcs = { .get_asic_baco_capability = vega10_baco_get_capability, .get_asic_baco_state = vega10_baco_get_state, .set_asic_baco_state = vega10_baco_set_state, + .get_ppfeature_status = vega10_get_ppfeature_status, + .set_ppfeature_status = vega10_set_ppfeature_status, };int vega10_hwmgr_init (struct pp_hwmgr *hwmgr)
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 3/4 drm/amd/powerplay: support Vega12 SOCclk and DCEFclk dpm level settings
In reply to a message not in the archiveEnable SOCclk and DCEFclk dpm level retrieving and setting on Vega12.
--- .../drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 98 ++++++++++++++++++- 1 file changed, 97 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c +97 -1
@@ -1093,6 +1093,16 @@ static int vega12_upload_dpm_min_level(struct pp_hwmgr *hwmgr) return ret); } +if (data->smu_features[GNLD_DPM_DCEFCLK ].enabled) { + min_freq = data->dpm_table.dcef_table.dpm_state.hard_min_level; + +PP_ASSERT_WITH_CODE (!(ret =smum_send_msg_to_smc_with_parameter ( + hwmgr, PPSMC_MSG_SetHardMinByFreq, + (PPCLK_DCEFCLK <<16 ) | (min_freq &0xffff ))), +"Failed to set hard min dcefclk!" , + return ret); + } +return ret; }
@@ -1818,7 +1828,7 @@ static int vega12_force_clock_level(struct pp_hwmgr *hwmgr, enum pp_clock_type type, uint32_t mask) {struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); -uint32_t soft_min_level, soft_max_level; +uint32_t soft_min_level, soft_max_level, hard_min_level;int ret =0 ;switch (type) {
@@ -1863,6 +1873,56 @@ static int vega12_force_clock_level(struct pp_hwmgr *hwmgr,break ; +case PP_SOCCLK : + soft_min_level = mask ? (ffs (mask) -1 ) :0 ; + soft_max_level = mask ? (fls (mask) -1 ) :0 ; + +if (soft_max_level >= data->dpm_table.soc_table.count) { +pr_err ("Clock level specified %d is over max allowed %d\n" , + soft_max_level, + data->dpm_table.soc_table.count -1 ); +return -EINVAL ; + } + + data->dpm_table.soc_table.dpm_state.soft_min_level = + data->dpm_table.soc_table.dpm_levels[soft_min_level].value; + data->dpm_table.soc_table.dpm_state.soft_max_level = + data->dpm_table.soc_table.dpm_levels[soft_max_level].value; + + ret =vega12_upload_dpm_min_level (hwmgr); +PP_ASSERT_WITH_CODE (!ret, +"Failed to upload boot level to lowest!" , + return ret); + + ret =vega12_upload_dpm_max_level (hwmgr); +PP_ASSERT_WITH_CODE (!ret, +"Failed to upload dpm max level to highest!" , + return ret); + +break ; + +case PP_DCEFCLK : + hard_min_level = mask ? (ffs (mask) -1 ) :0 ; + +if (hard_min_level >= data->dpm_table.dcef_table.count) { +pr_err ("Clock level specified %d is over max allowed %d\n" , + hard_min_level, + data->dpm_table.dcef_table.count -1 ); +return -EINVAL ; + } + + data->dpm_table.dcef_table.dpm_state.hard_min_level = + data->dpm_table.dcef_table.dpm_levels[hard_min_level].value; + + ret =vega12_upload_dpm_min_level (hwmgr); +PP_ASSERT_WITH_CODE (!ret, +"Failed to upload boot level to lowest!" , + return ret); + +//TODO: Setting DCEFCLK max dpm level is not supported + +break ; +case PP_PCIE :break ;
@@ -1912,6 +1972,42 @@ static int vega12_print_clock_levels(struct pp_hwmgr *hwmgr, (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : "");break ; +case PP_SOCCLK : +PP_ASSERT_WITH_CODE ( +smum_send_msg_to_smc_with_parameter (hwmgr, + PPSMC_MSG_GetDpmClockFreq, (PPCLK_SOCCLK <<16 )) ==0 , +"Attempt to get Current SOCCLK Frequency Failed!" , + return -EINVAL ); + now =smum_get_argument (hwmgr); + +PP_ASSERT_WITH_CODE ( +vega12_get_socclocks (hwmgr, &clocks) ==0 , +"Attempt to get soc clk levels Failed!" , + return -1 ); +for (i =0 ; i < clocks.num_levels; i++) + size +=sprintf (buf + size,"%d: %uMhz %s\n" , + i, clocks.data[i].clocks_in_khz /1000 , + (clocks.data[i].clocks_in_khz /1000 == now /100 ) ?"*" :"" ); +break ; + +case PP_DCEFCLK : +PP_ASSERT_WITH_CODE ( +smum_send_msg_to_smc_with_parameter (hwmgr, + PPSMC_MSG_GetDpmClockFreq, (PPCLK_DCEFCLK <<16 )) ==0 , +"Attempt to get Current DCEFCLK Frequency Failed!" , + return -EINVAL ); + now =smum_get_argument (hwmgr); + +PP_ASSERT_WITH_CODE ( +vega12_get_dcefclocks (hwmgr, &clocks) ==0 , +"Attempt to get dcef clk levels Failed!" , + return -1 ); +for (i =0 ; i < clocks.num_levels; i++) + size +=sprintf (buf + size,"%d: %uMhz %s\n" , + i, clocks.data[i].clocks_in_khz /1000 , + (clocks.data[i].clocks_in_khz /1000 == now /100 ) ?"*" :"" ); +break ; +case PP_PCIE :break ;
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 4/4 drm/amd/powerplay: support Vega12 retrieving and setting ppfeatures
In reply to a message not in the archiveEnable retrieving and setting ppfeatures on Vega12.
--- .../drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c +100 -0
@@ -1933,6 +1933,104 @@ static int vega12_force_clock_level(struct pp_hwmgr *hwmgr,return 0 ; } +static int vega12_get_ppfeature_status (struct pp_hwmgr *hwmgr,char *buf) +{ +static const char *ppfeature_name[] = { +"DPM_PREFETCHER" , +"GFXCLK_DPM" , +"UCLK_DPM" , +"SOCCLK_DPM" , +"UVD_DPM" , +"VCE_DPM" , +"ULV" , +"MP0CLK_DPM" , +"LINK_DPM" , +"DCEFCLK_DPM" , +"GFXCLK_DS" , +"SOCCLK_DS" , +"LCLK_DS" , +"PPT" , +"TDC" , +"THERMAL" , +"GFX_PER_CU_CG" , +"RM" , +"DCEFCLK_DS" , +"ACDC" , +"VR0HOT" , +"VR1HOT" , +"FW_CTF" , +"LED_DISPLAY" , +"FAN_CONTROL" , +"DIDT" , +"GFXOFF" , +"CG" , +"ACG" }; +static const char *output_title[] = { +"FEATURES" , +"BITMASK" , +"ENABLEMENT" }; +uint64_t features_enabled; +int i; +int ret =0 ; +int size =0 ; + + ret =vega12_get_enabled_smc_features (hwmgr, &features_enabled); +PP_ASSERT_WITH_CODE (!ret, +"[EnableAllSmuFeatures] Failed to get enabled smc features!" , + return ret); + + size +=sprintf (buf + size,"Current ppfeatures: 0x%016llx\n" , features_enabled); + size +=sprintf (buf + size,"%-19s %-22s %s\n" , + output_title[0 ], + output_title[1 ], + output_title[2 ]); +for (i =0 ; i <GNLD_FEATURES_MAX ; i++) { + size +=sprintf (buf + size,"%-19s 0x%016llx %6s\n" , + ppfeature_name[i], +1ULL << i, + (features_enabled & (1ULL << i)) ?"Y" :"N" ); + } + +return size; +} + +static int vega12_set_ppfeature_status (struct pp_hwmgr *hwmgr,uint64_t new_ppfeature_masks) +{ +uint64_t features_enabled; +uint64_t features_to_enable; +uint64_t features_to_disable; +int ret =0 ; + +if (new_ppfeature_masks >= (1ULL <<GNLD_FEATURES_MAX )) +return -EINVAL ; + + ret =vega12_get_enabled_smc_features (hwmgr, &features_enabled); +if (ret) +return ret; + + features_to_disable = + (features_enabled ^ new_ppfeature_masks) & features_enabled; + features_to_enable = + (features_enabled ^ new_ppfeature_masks) ^ features_to_disable; + +pr_debug ("features_to_disable 0x%llx\n" , features_to_disable); +pr_debug ("features_to_enable 0x%llx\n" , features_to_enable); + +if (features_to_disable) { + ret =vega12_enable_smc_features (hwmgr, false, features_to_disable); +if (ret) +return ret; + } + +if (features_to_enable) { + ret =vega12_enable_smc_features (hwmgr, true, features_to_enable); +if (ret) +return ret; + } + +return 0 ; +} +static int vega12_print_clock_levels (struct pp_hwmgr *hwmgr,enum pp_clock_type type,char *buf) {
@@ -2528,6 +2626,8 @@ static const struct pp_hwmgr_func vega12_hwmgr_funcs = { .start_thermal_controller = vega12_start_thermal_controller, .powergate_gfx = vega12_gfx_off_control, .get_performance_level = vega12_get_performance_level, + .get_ppfeature_status = vega12_get_ppfeature_status, + .set_ppfeature_status = vega12_set_ppfeature_status, };int vega12_hwmgr_init (struct pp_hwmgr *hwmgr)
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Deucher, Alexander
Reviewed-byRe: [PATCH 4/4] drm/amd/powerplay: support Vega12 retrieving and setting ppfeatures
Series is:
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Evan Quan <[email protected]>
Sent: Thursday, January 24, 2019 2:48:05 AM
To: [email protected]
Cc: Quan, Evan
Subject: [PATCH 4/4] drm/amd/powerplay: support Vega12 retrieving and setting ppfeatures
Enable retrieving and setting ppfeatures on Vega12.
--- .../drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+)
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c +100 -0
@@ -1933,6 +1933,104 @@ static int vega12_force_clock_level(struct pp_hwmgr *hwmgr,return 0 ; } +static int vega12_get_ppfeature_status (struct pp_hwmgr *hwmgr,char *buf) +{ +static const char *ppfeature_name[] = { +"DPM_PREFETCHER" , +"GFXCLK_DPM" , +"UCLK_DPM" , +"SOCCLK_DPM" , +"UVD_DPM" , +"VCE_DPM" , +"ULV" , +"MP0CLK_DPM" , +"LINK_DPM" , +"DCEFCLK_DPM" , +"GFXCLK_DS" , +"SOCCLK_DS" , +"LCLK_DS" , +"PPT" , +"TDC" , +"THERMAL" , +"GFX_PER_CU_CG" , +"RM" , +"DCEFCLK_DS" , +"ACDC" , +"VR0HOT" , +"VR1HOT" , +"FW_CTF" , +"LED_DISPLAY" , +"FAN_CONTROL" , +"DIDT" , +"GFXOFF" , +"CG" , +"ACG" }; +static const char *output_title[] = { +"FEATURES" , +"BITMASK" , +"ENABLEMENT" }; +uint64_t features_enabled; +int i; +int ret =0 ; +int size =0 ; + + ret =vega12_get_enabled_smc_features (hwmgr, &features_enabled); +PP_ASSERT_WITH_CODE (!ret, +"[EnableAllSmuFeatures] Failed to get enabled smc features!" , + return ret); + + size +=sprintf (buf + size,"Current ppfeatures: 0x%016llx\n" , features_enabled); + size +=sprintf (buf + size,"%-19s %-22s %s\n" , + output_title[0 ], + output_title[1 ], + output_title[2 ]); +for (i =0 ; i <GNLD_FEATURES_MAX ; i++) { + size +=sprintf (buf + size,"%-19s 0x%016llx %6s\n" , + ppfeature_name[i], +1ULL << i, + (features_enabled & (1ULL << i)) ?"Y" :"N" ); + } + +return size; +} + +static int vega12_set_ppfeature_status (struct pp_hwmgr *hwmgr,uint64_t new_ppfeature_masks) +{ +uint64_t features_enabled; +uint64_t features_to_enable; +uint64_t features_to_disable; +int ret =0 ; + +if (new_ppfeature_masks >= (1ULL <<GNLD_FEATURES_MAX )) +return -EINVAL ; + + ret =vega12_get_enabled_smc_features (hwmgr, &features_enabled); +if (ret) +return ret; + + features_to_disable = + (features_enabled ^ new_ppfeature_masks) & features_enabled; + features_to_enable = + (features_enabled ^ new_ppfeature_masks) ^ features_to_disable; + +pr_debug ("features_to_disable 0x%llx\n" , features_to_disable); +pr_debug ("features_to_enable 0x%llx\n" , features_to_enable); + +if (features_to_disable) { + ret =vega12_enable_smc_features (hwmgr, false, features_to_disable); +if (ret) +return ret; + } + +if (features_to_enable) { + ret =vega12_enable_smc_features (hwmgr, true, features_to_enable); +if (ret) +return ret; + } + +return 0 ; +} +static int vega12_print_clock_levels (struct pp_hwmgr *hwmgr,enum pp_clock_type type,char *buf) {
@@ -2528,6 +2626,8 @@ static const struct pp_hwmgr_func vega12_hwmgr_funcs = { .start_thermal_controller = vega12_start_thermal_controller, .powergate_gfx = vega12_gfx_off_control, .get_performance_level = vega12_get_performance_level, + .get_ppfeature_status = vega12_get_ppfeature_status, + .set_ppfeature_status = vega12_set_ppfeature_status, };int vega12_hwmgr_init (struct pp_hwmgr *hwmgr)
--
2.20.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
amd-gfx Info Page - freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/amd-gfx>
lists.freedesktop.org
To see the collection of prior postings to the list, visit the amd-gfx Archives.. Using amd-gfx: To post a message to all the list members, send email to [email protected] You can subscribe to the list, or change your existing subscription, in the sections below.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx