Symbol: smu_features
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2084
if (data->smu_features[GNLD_AVFS].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2253
data->smu_features[GNLD_AVFS].supported = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2265
if (data->smu_features[GNLD_ACG].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2267
data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_bitmap))
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2268
data->smu_features[GNLD_DPM_PREFETCHER].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2281
data->smu_features[GNLD_ACG].smu_feature_bitmap))
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2282
data->smu_features[GNLD_ACG].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2285
data->smu_features[GNLD_ACG].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2296
if (data->smu_features[GNLD_ACG].supported &&
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2297
data->smu_features[GNLD_ACG].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2299
data->smu_features[GNLD_ACG].smu_feature_bitmap))
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2300
data->smu_features[GNLD_ACG].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2344
if (data->smu_features[GNLD_AVFS].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2348
data->smu_features[GNLD_AVFS].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2351
data->smu_features[GNLD_AVFS].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2355
data->smu_features[GNLD_AVFS].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2358
data->smu_features[GNLD_AVFS].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2623
if (data->smu_features[GNLD_THERMAL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2624
if (data->smu_features[GNLD_THERMAL].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2630
data->smu_features[GNLD_THERMAL].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2633
data->smu_features[GNLD_THERMAL].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2643
if (data->smu_features[GNLD_THERMAL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2644
if (!data->smu_features[GNLD_THERMAL].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2650
data->smu_features[GNLD_THERMAL].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2653
data->smu_features[GNLD_THERMAL].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2664
if (data->smu_features[GNLD_VR0HOT].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2668
data->smu_features[GNLD_VR0HOT].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2671
data->smu_features[GNLD_VR0HOT].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2673
if (data->smu_features[GNLD_VR1HOT].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2677
data->smu_features[GNLD_VR1HOT].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2680
data->smu_features[GNLD_VR1HOT].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2693
true, data->smu_features[GNLD_ULV].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2696
data->smu_features[GNLD_ULV].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2708
false, data->smu_features[GNLD_ULV].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2711
data->smu_features[GNLD_ULV].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2721
if (data->smu_features[GNLD_DS_GFXCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2723
true, data->smu_features[GNLD_DS_GFXCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2726
data->smu_features[GNLD_DS_GFXCLK].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2729
if (data->smu_features[GNLD_DS_SOCCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2731
true, data->smu_features[GNLD_DS_SOCCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2734
data->smu_features[GNLD_DS_SOCCLK].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2737
if (data->smu_features[GNLD_DS_LCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2739
true, data->smu_features[GNLD_DS_LCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2742
data->smu_features[GNLD_DS_LCLK].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2745
if (data->smu_features[GNLD_DS_DCEFCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2747
true, data->smu_features[GNLD_DS_DCEFCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2750
data->smu_features[GNLD_DS_DCEFCLK].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2760
if (data->smu_features[GNLD_DS_GFXCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2762
false, data->smu_features[GNLD_DS_GFXCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2765
data->smu_features[GNLD_DS_GFXCLK].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2768
if (data->smu_features[GNLD_DS_SOCCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2770
false, data->smu_features[GNLD_DS_SOCCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2773
data->smu_features[GNLD_DS_SOCCLK].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2776
if (data->smu_features[GNLD_DS_LCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2778
false, data->smu_features[GNLD_DS_LCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2781
data->smu_features[GNLD_DS_LCLK].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2784
if (data->smu_features[GNLD_DS_DCEFCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2786
false, data->smu_features[GNLD_DS_DCEFCLK].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2789
data->smu_features[GNLD_DS_DCEFCLK].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2801
if(data->smu_features[GNLD_LED_DISPLAY].supported == true){
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2803
false, data->smu_features[GNLD_LED_DISPLAY].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2805
data->smu_features[GNLD_LED_DISPLAY].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2809
if (data->smu_features[i].smu_feature_bitmap & bitmap) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2810
if (data->smu_features[i].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2811
if (data->smu_features[i].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2812
feature_mask |= data->smu_features[i].
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2814
data->smu_features[i].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2838
if (data->smu_features[i].smu_feature_bitmap & bitmap) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2839
if (data->smu_features[i].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2840
if (!data->smu_features[i].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2841
feature_mask |= data->smu_features[i].
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2843
data->smu_features[i].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2852
if (data->smu_features[i].smu_feature_bitmap &
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2854
data->smu_features[i].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2858
if(data->smu_features[GNLD_LED_DISPLAY].supported == true){
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2860
true, data->smu_features[GNLD_LED_DISPLAY].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2862
data->smu_features[GNLD_LED_DISPLAY].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2872
if (data->smu_features[GNLD_ACDC].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2874
true, data->smu_features[GNLD_ACDC].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2877
data->smu_features[GNLD_ACDC].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2888
if (data->smu_features[GNLD_PCC_LIMIT].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2889
if (enable == data->smu_features[GNLD_PCC_LIMIT].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2892
enable, data->smu_features[GNLD_PCC_LIMIT].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
2895
data->smu_features[GNLD_PCC_LIMIT].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
351
data->smu_features[i].smu_feature_id = 0xffff;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
352
data->smu_features[i].smu_feature_bitmap = 1 << i;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
353
data->smu_features[i].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
354
data->smu_features[i].supported = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
3568
if (data->smu_features[GNLD_DPM_VCE].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
357
data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
3571
data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
3574
data->smu_features[GNLD_DPM_VCE].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
359
data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
361
data->smu_features[GNLD_DPM_UCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
363
data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
365
data->smu_features[GNLD_DPM_UVD].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
367
data->smu_features[GNLD_DPM_VCE].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
369
data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
371
data->smu_features[GNLD_DPM_LINK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
373
data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
375
data->smu_features[GNLD_ULV].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
377
data->smu_features[GNLD_AVFS].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
379
data->smu_features[GNLD_DS_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
381
data->smu_features[GNLD_DS_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
383
data->smu_features[GNLD_DS_LCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
385
data->smu_features[GNLD_PPT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
387
data->smu_features[GNLD_TDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
389
data->smu_features[GNLD_THERMAL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
391
data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
393
data->smu_features[GNLD_RM].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
395
data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
397
data->smu_features[GNLD_ACDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
399
data->smu_features[GNLD_VR0HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
401
data->smu_features[GNLD_VR1HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
403
data->smu_features[GNLD_FW_CTF].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
405
data->smu_features[GNLD_LED_DISPLAY].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
407
data->smu_features[GNLD_FAN_CONTROL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
409
data->smu_features[GNLD_ACG].smu_feature_id = FEATURE_ACG_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4095
if (data->smu_features[GNLD_FAN_CONTROL].enabled == false)
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
410
data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
411
data->smu_features[GNLD_PCC_LIMIT].smu_feature_id = FEATURE_PCC_LIMIT_CONTROL_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
414
data->smu_features[GNLD_DPM_PREFETCHER].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
417
data->smu_features[GNLD_DPM_GFXCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
420
data->smu_features[GNLD_DPM_UCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
423
data->smu_features[GNLD_DPM_SOCCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
426
data->smu_features[GNLD_DPM_UVD].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
429
data->smu_features[GNLD_DPM_VCE].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
432
data->smu_features[GNLD_DPM_LINK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
435
data->smu_features[GNLD_DPM_DCEFCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4388
if (data->smu_features[GNLD_DPM_UVD].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
439
data->smu_features[GNLD_DS_GFXCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4391
data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
4394
data->smu_features[GNLD_DPM_UVD].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
440
data->smu_features[GNLD_DS_SOCCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
441
data->smu_features[GNLD_DS_LCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
442
data->smu_features[GNLD_DS_DCEFCLK].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
446
data->smu_features[GNLD_PPT].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
449
data->smu_features[GNLD_TDC].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
452
data->smu_features[GNLD_THERMAL].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
455
data->smu_features[GNLD_FAN_CONTROL].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
458
data->smu_features[GNLD_FW_CTF].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
461
data->smu_features[GNLD_AVFS].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
464
data->smu_features[GNLD_LED_DISPLAY].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
467
data->smu_features[GNLD_VR1HOT].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
470
data->smu_features[GNLD_VR0HOT].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
476
data->smu_features[GNLD_ACG].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
478
data->smu_features[GNLD_DIDT].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
488
data->smu_features[GNLD_PCC_LIMIT].supported = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.h
379
struct smu_features smu_features[GNLD_FEATURES_MAX];
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1200
if (data->smu_features[GNLD_DIDT].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1201
if (data->smu_features[GNLD_DIDT].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1233
result = vega10_enable_smc_features(hwmgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1235
data->smu_features[GNLD_DIDT].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1247
if (data->smu_features[GNLD_DIDT].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1248
if (!data->smu_features[GNLD_DIDT].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1280
result = vega10_enable_smc_features(hwmgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1282
data->smu_features[GNLD_DIDT].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1351
if (data->smu_features[GNLD_PPT].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1353
true, data->smu_features[GNLD_PPT].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1355
data->smu_features[GNLD_PPT].supported = false);
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1357
if (data->smu_features[GNLD_TDC].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1359
true, data->smu_features[GNLD_TDC].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1361
data->smu_features[GNLD_TDC].supported = false);
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1377
if (data->smu_features[GNLD_PPT].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1379
false, data->smu_features[GNLD_PPT].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1381
data->smu_features[GNLD_PPT].supported = false);
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1383
if (data->smu_features[GNLD_TDC].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1385
false, data->smu_features[GNLD_TDC].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_powertune.c
1387
data->smu_features[GNLD_TDC].supported = false);
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
102
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
187
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
190
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
194
data->smu_features[GNLD_FAN_CONTROL].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
204
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
207
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
211
data->smu_features[GNLD_FAN_CONTROL].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
237
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
431
if (data->smu_features[GNLD_FW_CTF].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
432
if (data->smu_features[GNLD_FW_CTF].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
437
data->smu_features[GNLD_FW_CTF].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
440
data->smu_features[GNLD_FW_CTF].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
461
if (data->smu_features[GNLD_FW_CTF].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
462
if (!data->smu_features[GNLD_FW_CTF].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
468
data->smu_features[GNLD_FW_CTF].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
471
data->smu_features[GNLD_FW_CTF].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega10_thermal.c
510
if (!data->smu_features[GNLD_FAN_CONTROL].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1012
if (data->smu_features[GNLD_DPM_GFXCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1021
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1037
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1055
if (data->smu_features[GNLD_DPM_VCE].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1065
if (data->smu_features[GNLD_DPM_SOCCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1085
if (data->smu_features[GNLD_DPM_GFXCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1095
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1105
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1122
if (data->smu_features[GNLD_DPM_VCE].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1132
if (data->smu_features[GNLD_DPM_SOCCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1150
if (data->smu_features[GNLD_DPM_VCE].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1153
data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1156
data->smu_features[GNLD_DPM_VCE].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1168
if (!data->smu_features[GNLD_DPM_GFXCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1191
if (!data->smu_features[GNLD_DPM_UCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1338
if (data->smu_features[GNLD_DPM_UCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1358
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1408
if (data->smu_features[GNLD_DPM_DCEFCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1412
if (data->smu_features[GNLD_DS_DCEFCLK].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1592
if (data->smu_features[GNLD_FAN_CONTROL].enabled == false)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1636
if (!data->smu_features[GNLD_DPM_GFXCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1668
if (!data->smu_features[GNLD_DPM_UCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1696
if (!data->smu_features[GNLD_DPM_DCEFCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1724
if (!data->smu_features[GNLD_DPM_SOCCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1788
data->smu_features[GNLD_DPM_DCEFCLK].supported &&
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
1789
data->smu_features[GNLD_DPM_SOCCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2071
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2119
data->smu_features[GNLD_DPM_DCEFCLK].supported &&
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2120
data->smu_features[GNLD_DPM_SOCCLK].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2133
if (data->smu_features[GNLD_DPM_UVD].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2136
data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap),
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
2139
data->smu_features[GNLD_DPM_UVD].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
293
data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
295
data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
297
data->smu_features[GNLD_DPM_UCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
299
data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
301
data->smu_features[GNLD_DPM_UVD].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
303
data->smu_features[GNLD_DPM_VCE].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
305
data->smu_features[GNLD_ULV].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
307
data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
309
data->smu_features[GNLD_DPM_LINK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
311
data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
313
data->smu_features[GNLD_DS_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
315
data->smu_features[GNLD_DS_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
317
data->smu_features[GNLD_DS_LCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
319
data->smu_features[GNLD_PPT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
321
data->smu_features[GNLD_TDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
323
data->smu_features[GNLD_THERMAL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
325
data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
327
data->smu_features[GNLD_RM].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
329
data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
331
data->smu_features[GNLD_ACDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
333
data->smu_features[GNLD_VR0HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
335
data->smu_features[GNLD_VR1HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
337
data->smu_features[GNLD_FW_CTF].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
339
data->smu_features[GNLD_LED_DISPLAY].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
341
data->smu_features[GNLD_FAN_CONTROL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
343
data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
344
data->smu_features[GNLD_GFXOFF].smu_feature_id = FEATURE_GFXOFF_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
345
data->smu_features[GNLD_CG].smu_feature_id = FEATURE_CG_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
346
data->smu_features[GNLD_ACG].smu_feature_id = FEATURE_ACG_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
349
data->smu_features[i].smu_feature_bitmap =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
350
(uint64_t)(1ULL << data->smu_features[i].smu_feature_id);
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
351
data->smu_features[i].allowed =
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
552
if (data->smu_features[GNLD_DPM_SOCCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
565
if (data->smu_features[GNLD_DPM_GFXCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
578
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
591
if (data->smu_features[GNLD_DPM_VCE].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
604
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
617
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
630
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
643
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
654
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
665
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
764
if (data->smu_features[i].allowed)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
765
data->smu_features[i].smu_feature_id > 31 ?
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
766
(allowed_features_high |= ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_HIGH_SHIFT) & 0xFFFFFFFF)) :
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
767
(allowed_features_low |= ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_LOW_SHIFT) & 0xFFFFFFFF));
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
790
if (data->smu_features[GNLD_DPM_UVD].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
793
if (data->smu_features[GNLD_DPM_VCE].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
812
enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
813
data->smu_features[i].enabled = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
814
data->smu_features[i].supported = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
838
enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
839
data->smu_features[i].enabled = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
840
data->smu_features[i].supported = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega12_hwmgr.h
392
struct smu_features smu_features[GNLD_FEATURES_MAX];
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
109
if (data->smu_features[GNLD_FAN_CONTROL].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
123
if (data->smu_features[GNLD_FAN_CONTROL].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
74
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
77
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
81
data->smu_features[GNLD_FAN_CONTROL].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
92
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
95
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega12_thermal.c
99
data->smu_features[GNLD_FAN_CONTROL].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1472
if (data->smu_features[GNLD_DPM_UCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1479
if (data->smu_features[GNLD_DPM_SOCCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1486
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1536
if (data->smu_features[GNLD_DPM_UVD].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1539
if (data->smu_features[GNLD_DPM_VCE].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1670
if (data->smu_features[GNLD_DPM_GFXCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1680
if (data->smu_features[GNLD_DPM_UCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1697
if (data->smu_features[GNLD_DPM_UVD].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1716
if (data->smu_features[GNLD_DPM_VCE].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1727
if (data->smu_features[GNLD_DPM_SOCCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1748
if (data->smu_features[GNLD_DPM_GFXCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1759
if (data->smu_features[GNLD_DPM_UCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1770
if (data->smu_features[GNLD_DPM_UVD].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1788
if (data->smu_features[GNLD_DPM_VCE].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1799
if (data->smu_features[GNLD_DPM_SOCCLK].enabled &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1820
if (data->smu_features[GNLD_DPM_VCE].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1821
if (data->smu_features[GNLD_DPM_VCE].enabled == enable) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1830
data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap);
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1834
data->smu_features[GNLD_DPM_VCE].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1873
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_GFXCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
1899
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_UCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2042
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2095
if (data->smu_features[GNLD_DPM_DCEFCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2099
if (data->smu_features[GNLD_DS_DCEFCLK].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2110
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2353
if (data->smu_features[GNLD_FAN_CONTROL].enabled == false)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2401
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_GFXCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2430
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_UCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2456
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_DCEFCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2479
PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_SOCCLK].enabled,
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2539
data->smu_features[GNLD_DPM_DCEFCLK].supported &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2540
data->smu_features[GNLD_DPM_SOCCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2920
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
297
data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2970
data->smu_features[GNLD_DPM_DCEFCLK].supported &&
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2971
data->smu_features[GNLD_DPM_SOCCLK].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2987
if (data->smu_features[GNLD_DPM_UVD].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2988
if (data->smu_features[GNLD_DPM_UVD].enabled == enable) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
299
data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
2997
data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap);
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
3001
data->smu_features[GNLD_DPM_UVD].enabled = enable;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
301
data->smu_features[GNLD_DPM_UCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
303
data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
305
data->smu_features[GNLD_DPM_UVD].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
307
data->smu_features[GNLD_DPM_VCE].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
309
data->smu_features[GNLD_ULV].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
311
data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
313
data->smu_features[GNLD_DPM_LINK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
315
data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
317
data->smu_features[GNLD_DS_GFXCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
319
data->smu_features[GNLD_DS_SOCCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
321
data->smu_features[GNLD_DS_LCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
323
data->smu_features[GNLD_PPT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
325
data->smu_features[GNLD_TDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
327
data->smu_features[GNLD_THERMAL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
329
data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
331
data->smu_features[GNLD_RM].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
333
data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
335
data->smu_features[GNLD_ACDC].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
337
data->smu_features[GNLD_VR0HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
339
data->smu_features[GNLD_VR1HOT].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
341
data->smu_features[GNLD_FW_CTF].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
343
data->smu_features[GNLD_LED_DISPLAY].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
345
data->smu_features[GNLD_FAN_CONTROL].smu_feature_id =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
347
data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
348
data->smu_features[GNLD_GFXOFF].smu_feature_id = FEATURE_GFXOFF_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
349
data->smu_features[GNLD_CG].smu_feature_id = FEATURE_CG_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
350
data->smu_features[GNLD_DPM_FCLK].smu_feature_id = FEATURE_DPM_FCLK_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
351
data->smu_features[GNLD_DS_FCLK].smu_feature_id = FEATURE_DS_FCLK_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
352
data->smu_features[GNLD_DS_MP1CLK].smu_feature_id = FEATURE_DS_MP1CLK_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
353
data->smu_features[GNLD_DS_MP0CLK].smu_feature_id = FEATURE_DS_MP0CLK_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
354
data->smu_features[GNLD_XGMI].smu_feature_id = FEATURE_XGMI_BIT;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
357
data->smu_features[i].smu_feature_bitmap =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
358
(uint64_t)(1ULL << data->smu_features[i].smu_feature_id);
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
359
data->smu_features[i].allowed =
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
539
if (data->smu_features[GNLD_DPM_GFXCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
560
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
592
if (data->smu_features[GNLD_DPM_SOCCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
619
if (data->smu_features[GNLD_DPM_VCE].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
632
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
645
if (data->smu_features[GNLD_DPM_UVD].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
658
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
671
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
682
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
693
if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
704
if (data->smu_features[GNLD_DPM_FCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
778
if (data->smu_features[i].allowed)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
779
data->smu_features[i].smu_feature_id > 31 ?
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
781
((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_HIGH_SHIFT)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
784
((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_LOW_SHIFT)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
827
enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ?
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
829
data->smu_features[i].enabled = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
830
data->smu_features[i].supported = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
833
if (data->smu_features[i].allowed && !enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
835
else if (!data->smu_features[i].allowed && enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
847
if (data->smu_features[GNLD_DPM_UCLK].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
885
enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ?
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
887
data->smu_features[i].enabled = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
888
data->smu_features[i].supported = enabled;
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
905
if (data->smu_features[GNLD_DPM_GFXCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
923
if (data->smu_features[GNLD_DPM_UCLK].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
939
if (data->smu_features[GNLD_FAN_CONTROL].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
956
if (data->smu_features[GNLD_THERMAL].enabled) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
517
struct smu_features smu_features[GNLD_FEATURES_MAX];
sys/dev/drm/amd/powerplay/hwmgr/vega20_powertune.c
37
if (data->smu_features[GNLD_PPT].enabled)
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
37
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
40
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
45
data->smu_features[GNLD_FAN_CONTROL].enabled = false;
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
55
if (data->smu_features[GNLD_FAN_CONTROL].supported)
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
66
if (data->smu_features[GNLD_FAN_CONTROL].supported) {
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
69
data->smu_features[GNLD_FAN_CONTROL].
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
74
data->smu_features[GNLD_FAN_CONTROL].enabled = true;
sys/dev/drm/amd/powerplay/hwmgr/vega20_thermal.c
84
if (data->smu_features[GNLD_FAN_CONTROL].supported)