Home
last modified time | relevance | path

Searched refs:smu_features (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_hwmgr.c293 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega12_init_dpm_defaults()
295 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega12_init_dpm_defaults()
297 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega12_init_dpm_defaults()
299 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega12_init_dpm_defaults()
301 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega12_init_dpm_defaults()
303 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega12_init_dpm_defaults()
305 data->smu_features[GNLD_ULV].smu_feature_id = in vega12_init_dpm_defaults()
307 data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = in vega12_init_dpm_defaults()
309 data->smu_features[GNLD_DPM_LINK].smu_feature_id = in vega12_init_dpm_defaults()
311 data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id = in vega12_init_dpm_defaults()
[all …]
Dvega10_hwmgr.c346 data->smu_features[i].smu_feature_id = 0xffff; in vega10_init_dpm_defaults()
347 data->smu_features[i].smu_feature_bitmap = 1 << i; in vega10_init_dpm_defaults()
348 data->smu_features[i].enabled = false; in vega10_init_dpm_defaults()
349 data->smu_features[i].supported = false; in vega10_init_dpm_defaults()
352 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega10_init_dpm_defaults()
354 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega10_init_dpm_defaults()
356 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega10_init_dpm_defaults()
358 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega10_init_dpm_defaults()
360 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega10_init_dpm_defaults()
362 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega10_init_dpm_defaults()
[all …]
Dvega10_thermal.c101 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_fan_ctrl_get_fan_speed_rpm()
186 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_enable_fan_control_feature()
189 data->smu_features[GNLD_FAN_CONTROL]. in vega10_enable_fan_control_feature()
193 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega10_enable_fan_control_feature()
203 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_disable_fan_control_feature()
206 data->smu_features[GNLD_FAN_CONTROL]. in vega10_disable_fan_control_feature()
210 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega10_disable_fan_control_feature()
236 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_fan_ctrl_stop_smc_fan_control()
429 if (data->smu_features[GNLD_FW_CTF].supported) { in vega10_thermal_enable_alert()
430 if (data->smu_features[GNLD_FW_CTF].enabled) in vega10_thermal_enable_alert()
[all …]
Dvega12_thermal.c74 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature()
77 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature()
81 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega12_enable_fan_control_feature()
92 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_disable_fan_control_feature()
95 data->smu_features[GNLD_FAN_CONTROL]. in vega12_disable_fan_control_feature()
99 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega12_disable_fan_control_feature()
109 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega12_fan_ctrl_start_smc_fan_control()
123 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega12_fan_ctrl_stop_smc_fan_control()
Dvega10_powertune.c1195 if (data->smu_features[GNLD_DIDT].supported) { in vega10_enable_didt_config()
1196 if (data->smu_features[GNLD_DIDT].enabled) in vega10_enable_didt_config()
1228 …result = vega10_enable_smc_features(hwmgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap); in vega10_enable_didt_config()
1230 data->smu_features[GNLD_DIDT].enabled = true; in vega10_enable_didt_config()
1242 if (data->smu_features[GNLD_DIDT].supported) { in vega10_disable_didt_config()
1243 if (!data->smu_features[GNLD_DIDT].enabled) in vega10_disable_didt_config()
1275 …result = vega10_enable_smc_features(hwmgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap… in vega10_disable_didt_config()
1277 data->smu_features[GNLD_DIDT].enabled = false; in vega10_disable_didt_config()
1346 if (data->smu_features[GNLD_PPT].supported) in vega10_enable_power_containment()
1348 true, data->smu_features[GNLD_PPT].smu_feature_bitmap), in vega10_enable_power_containment()
[all …]
Dvega10_hwmgr.h77 struct smu_features { struct
379 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
Dvega12_hwmgr.h81 struct smu_features { struct
392 struct smu_features smu_features[GNLD_FEATURES_MAX]; member