/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_hwmgr.c | 369 data->smu_features[i].smu_feature_id = 0xffff; in vega10_init_dpm_defaults() 370 data->smu_features[i].smu_feature_bitmap = 1 << i; in vega10_init_dpm_defaults() 371 data->smu_features[i].enabled = false; in vega10_init_dpm_defaults() 372 data->smu_features[i].supported = false; in vega10_init_dpm_defaults() 375 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega10_init_dpm_defaults() 377 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega10_init_dpm_defaults() 379 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega10_init_dpm_defaults() 381 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega10_init_dpm_defaults() 383 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega10_init_dpm_defaults() 385 data->smu_features[GNLD_DPM_VC in vega10_init_dpm_defaults() [all...] |
H A D | vega12_hwmgr.c | 304 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega12_init_dpm_defaults() 306 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega12_init_dpm_defaults() 308 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega12_init_dpm_defaults() 310 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega12_init_dpm_defaults() 312 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega12_init_dpm_defaults() 314 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega12_init_dpm_defaults() 316 data->smu_features[GNLD_ULV].smu_feature_id = in vega12_init_dpm_defaults() 318 data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = in vega12_init_dpm_defaults() 320 data->smu_features[GNLD_DPM_LINK].smu_feature_id = in vega12_init_dpm_defaults() 322 data->smu_features[GNLD_DPM_DCEFCL in vega12_init_dpm_defaults() [all...] |
H A D | vega10_thermal.c | 101 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() 442 if (data->smu_features[GNLD_FW_CTF].supported) { in vega10_thermal_enable_alert() 443 if (data->smu_features[GNLD_FW_CT in vega10_thermal_enable_alert() [all...] |
H A D | vega12_thermal.c | 74 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()
|
H A D | vega20_thermal.c | 37 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_disable_fan_control_feature() 40 data->smu_features[GNLD_FAN_CONTROL]. in vega20_disable_fan_control_feature() 45 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega20_disable_fan_control_feature() 55 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_stop_smc_fan_control() 66 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_enable_fan_control_feature() 69 data->smu_features[GNLD_FAN_CONTROL]. in vega20_enable_fan_control_feature() 74 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega20_enable_fan_control_feature() 84 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_start_smc_fan_control()
|
H A D | vega20_hwmgr.c | 339 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega20_init_dpm_defaults() 341 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega20_init_dpm_defaults() 343 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega20_init_dpm_defaults() 345 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega20_init_dpm_defaults() 347 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega20_init_dpm_defaults() 349 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega20_init_dpm_defaults() 351 data->smu_features[GNLD_ULV].smu_feature_id = in vega20_init_dpm_defaults() 353 data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = in vega20_init_dpm_defaults() 355 data->smu_features[GNLD_DPM_LINK].smu_feature_id = in vega20_init_dpm_defaults() 357 data->smu_features[GNLD_DPM_DCEFCL in vega20_init_dpm_defaults() [all...] |
H A D | vega10_powertune.c | 1174 if (data->smu_features[GNLD_DIDT].supported) { in vega10_enable_didt_config() 1175 if (data->smu_features[GNLD_DIDT].enabled) in vega10_enable_didt_config() 1207 result = vega10_enable_smc_features(hwmgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap); in vega10_enable_didt_config() 1209 data->smu_features[GNLD_DIDT].enabled = true; in vega10_enable_didt_config() 1221 if (data->smu_features[GNLD_DIDT].supported) { in vega10_disable_didt_config() 1222 if (!data->smu_features[GNLD_DIDT].enabled) in vega10_disable_didt_config() 1254 result = vega10_enable_smc_features(hwmgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap); in vega10_disable_didt_config() 1256 data->smu_features[GNLD_DIDT].enabled = false; in vega10_disable_didt_config() 1329 if (data->smu_features[GNLD_PPT].supported) in vega10_enable_power_containment() 1331 true, data->smu_features[GNLD_PP in vega10_enable_power_containment() [all...] |
H A D | vega12_hwmgr.h | 81 struct smu_features { struct 392 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|
H A D | vega10_hwmgr.h | 77 struct smu_features { struct 380 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|
H A D | vega20_powertune.c | 37 if (data->smu_features[GNLD_PPT].enabled) in vega20_set_power_limit()
|
H A D | vega20_hwmgr.h | 93 struct smu_features { struct 521 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega12_hwmgr.c | 303 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega12_init_dpm_defaults() 305 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega12_init_dpm_defaults() 307 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega12_init_dpm_defaults() 309 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega12_init_dpm_defaults() 311 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega12_init_dpm_defaults() 313 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega12_init_dpm_defaults() 315 data->smu_features[GNLD_ULV].smu_feature_id = in vega12_init_dpm_defaults() 317 data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = in vega12_init_dpm_defaults() 319 data->smu_features[GNLD_DPM_LINK].smu_feature_id = in vega12_init_dpm_defaults() 321 data->smu_features[GNLD_DPM_DCEFCL in vega12_init_dpm_defaults() [all...] |
H A D | vega10_thermal.c | 100 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_fan_ctrl_get_fan_speed_rpm() 184 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_enable_fan_control_feature() 187 data->smu_features[GNLD_FAN_CONTROL]. in vega10_enable_fan_control_feature() 191 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega10_enable_fan_control_feature() 201 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_disable_fan_control_feature() 204 data->smu_features[GNLD_FAN_CONTROL]. in vega10_disable_fan_control_feature() 208 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega10_disable_fan_control_feature() 234 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega10_fan_ctrl_stop_smc_fan_control() 438 if (data->smu_features[GNLD_FW_CTF].supported) { in vega10_thermal_enable_alert() 439 if (data->smu_features[GNLD_FW_CT in vega10_thermal_enable_alert() [all...] |
H A D | vega12_thermal.c | 73 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature() 76 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature() 80 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega12_enable_fan_control_feature() 91 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_disable_fan_control_feature() 94 data->smu_features[GNLD_FAN_CONTROL]. in vega12_disable_fan_control_feature() 98 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega12_disable_fan_control_feature() 108 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega12_fan_ctrl_start_smc_fan_control() 122 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega12_fan_ctrl_stop_smc_fan_control()
|
H A D | vega10_hwmgr.c | 368 data->smu_features[i].smu_feature_id = 0xffff; in vega10_init_dpm_defaults() 369 data->smu_features[i].smu_feature_bitmap = 1 << i; in vega10_init_dpm_defaults() 370 data->smu_features[i].enabled = false; in vega10_init_dpm_defaults() 371 data->smu_features[i].supported = false; in vega10_init_dpm_defaults() 374 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega10_init_dpm_defaults() 376 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega10_init_dpm_defaults() 378 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega10_init_dpm_defaults() 380 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega10_init_dpm_defaults() 382 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega10_init_dpm_defaults() 384 data->smu_features[GNLD_DPM_VC in vega10_init_dpm_defaults() [all...] |
H A D | vega20_hwmgr.c | 338 data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = in vega20_init_dpm_defaults() 340 data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = in vega20_init_dpm_defaults() 342 data->smu_features[GNLD_DPM_UCLK].smu_feature_id = in vega20_init_dpm_defaults() 344 data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = in vega20_init_dpm_defaults() 346 data->smu_features[GNLD_DPM_UVD].smu_feature_id = in vega20_init_dpm_defaults() 348 data->smu_features[GNLD_DPM_VCE].smu_feature_id = in vega20_init_dpm_defaults() 350 data->smu_features[GNLD_ULV].smu_feature_id = in vega20_init_dpm_defaults() 352 data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = in vega20_init_dpm_defaults() 354 data->smu_features[GNLD_DPM_LINK].smu_feature_id = in vega20_init_dpm_defaults() 356 data->smu_features[GNLD_DPM_DCEFCL in vega20_init_dpm_defaults() [all...] |
H A D | vega20_thermal.c | 37 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_disable_fan_control_feature() 40 data->smu_features[GNLD_FAN_CONTROL]. in vega20_disable_fan_control_feature() 45 data->smu_features[GNLD_FAN_CONTROL].enabled = false; in vega20_disable_fan_control_feature() 55 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_stop_smc_fan_control() 66 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega20_enable_fan_control_feature() 69 data->smu_features[GNLD_FAN_CONTROL]. in vega20_enable_fan_control_feature() 74 data->smu_features[GNLD_FAN_CONTROL].enabled = true; in vega20_enable_fan_control_feature() 84 if (data->smu_features[GNLD_FAN_CONTROL].supported) in vega20_fan_ctrl_start_smc_fan_control()
|
H A D | vega10_powertune.c | 1147 if (data->smu_features[GNLD_DIDT].supported) { in vega10_enable_didt_config() 1148 if (data->smu_features[GNLD_DIDT].enabled) in vega10_enable_didt_config() 1180 result = vega10_enable_smc_features(hwmgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap); in vega10_enable_didt_config() 1182 data->smu_features[GNLD_DIDT].enabled = true; in vega10_enable_didt_config() 1194 if (data->smu_features[GNLD_DIDT].supported) { in vega10_disable_didt_config() 1195 if (!data->smu_features[GNLD_DIDT].enabled) in vega10_disable_didt_config() 1227 result = vega10_enable_smc_features(hwmgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap); in vega10_disable_didt_config() 1229 data->smu_features[GNLD_DIDT].enabled = false; in vega10_disable_didt_config() 1302 if (data->smu_features[GNLD_PPT].supported) in vega10_enable_power_containment() 1304 true, data->smu_features[GNLD_PP in vega10_enable_power_containment() [all...] |
H A D | vega10_hwmgr.h | 77 struct smu_features { struct 380 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|
H A D | vega12_hwmgr.h | 80 struct smu_features { struct 391 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|
H A D | vega20_powertune.c | 37 if (data->smu_features[GNLD_PPT].enabled) in vega20_set_power_limit()
|
H A D | vega20_hwmgr.h | 93 struct smu_features { struct 519 struct smu_features smu_features[GNLD_FEATURES_MAX]; member
|