smu_features 366 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].smu_feature_id = 0xffff; smu_features 367 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].smu_feature_bitmap = 1 << i; smu_features 368 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].enabled = false; smu_features 369 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].supported = false; smu_features 372 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = smu_features 374 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = smu_features 376 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UCLK].smu_feature_id = smu_features 378 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = smu_features 380 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_id = smu_features 382 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_id = smu_features 384 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = smu_features 386 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_LINK].smu_feature_id = smu_features 388 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id = smu_features 390 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ULV].smu_feature_id = smu_features 392 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].smu_feature_id = smu_features 394 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].smu_feature_id = smu_features 396 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].smu_feature_id = smu_features 398 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_LCLK].smu_feature_id = smu_features 400 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_PPT].smu_feature_id = smu_features 402 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_TDC].smu_feature_id = smu_features 404 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].smu_feature_id = smu_features 406 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id = smu_features 408 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_RM].smu_feature_id = smu_features 410 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id = smu_features 412 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACDC].smu_feature_id = smu_features 414 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR0HOT].smu_feature_id = smu_features 416 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR1HOT].smu_feature_id = smu_features 418 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_FW_CTF].smu_feature_id = smu_features 420 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].smu_feature_id = smu_features 422 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_FAN_CONTROL].smu_feature_id = smu_features 424 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].smu_feature_id = FEATURE_ACG_BIT; smu_features 425 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT; smu_features 426 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_PCC_LIMIT].smu_feature_id = FEATURE_PCC_LIMIT_CONTROL_BIT; smu_features 429 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].supported = true; smu_features 432 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_GFXCLK].supported = true; smu_features 435 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UCLK].supported = true; smu_features 438 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].supported = true; smu_features 441 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UVD].supported = true; smu_features 444 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_VCE].supported = true; smu_features 447 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_LINK].supported = true; smu_features 450 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].supported = true; smu_features 454 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].supported = true; smu_features 455 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].supported = true; smu_features 456 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_LCLK].supported = true; smu_features 457 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].supported = true; smu_features 461 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_PPT].supported = true; smu_features 464 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_TDC].supported = true; smu_features 467 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].supported = true; smu_features 470 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_FAN_CONTROL].supported = true; smu_features 473 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_FW_CTF].supported = true; smu_features 476 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].supported = true; smu_features 479 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].supported = true; smu_features 482 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR1HOT].supported = true; smu_features 485 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR0HOT].supported = true; smu_features 491 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].supported = true; smu_features 493 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DIDT].supported = true; smu_features 503 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_PCC_LIMIT].supported = true; smu_features 2116 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_AVFS].supported) { smu_features 2285 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].supported = false; smu_features 2297 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_ACG].supported) { smu_features 2299 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_bitmap)) smu_features 2300 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].enabled = true; smu_features 2313 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].smu_feature_bitmap)) smu_features 2314 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].enabled = true; smu_features 2317 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].enabled = false; smu_features 2328 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_ACG].supported && smu_features 2329 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].enabled) smu_features 2331 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].smu_feature_bitmap)) smu_features 2332 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACG].enabled = false; smu_features 2376 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_AVFS].supported) { smu_features 2378 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (!(enable ^ data->smu_features[GNLD_AVFS].enabled)) smu_features 2384 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].smu_feature_bitmap), smu_features 2387 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].enabled = true; smu_features 2391 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].smu_feature_bitmap), smu_features 2394 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_AVFS].enabled = false; smu_features 2654 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_THERMAL].supported) { smu_features 2655 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_THERMAL].enabled) smu_features 2661 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].smu_feature_bitmap), smu_features 2664 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].enabled = true; smu_features 2674 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_THERMAL].supported) { smu_features 2675 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (!data->smu_features[GNLD_THERMAL].enabled) smu_features 2681 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].smu_feature_bitmap), smu_features 2684 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_THERMAL].enabled = false; smu_features 2695 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_VR0HOT].supported) { smu_features 2699 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR0HOT].smu_feature_bitmap), smu_features 2702 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR0HOT].enabled = true; smu_features 2704 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_VR1HOT].supported) { smu_features 2708 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR1HOT].smu_feature_bitmap), smu_features 2711 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_VR1HOT].enabled = true; smu_features 2724 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_ULV].smu_feature_bitmap), smu_features 2727 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ULV].enabled = true; smu_features 2739 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_ULV].smu_feature_bitmap), smu_features 2742 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ULV].enabled = false; smu_features 2752 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_GFXCLK].supported) { smu_features 2754 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_DS_GFXCLK].smu_feature_bitmap), smu_features 2757 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].enabled = true; smu_features 2760 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_SOCCLK].supported) { smu_features 2762 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_DS_SOCCLK].smu_feature_bitmap), smu_features 2765 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].enabled = true; smu_features 2768 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_LCLK].supported) { smu_features 2770 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_DS_LCLK].smu_feature_bitmap), smu_features 2773 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_LCLK].enabled = true; smu_features 2776 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_DCEFCLK].supported) { smu_features 2778 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_DS_DCEFCLK].smu_feature_bitmap), smu_features 2781 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].enabled = true; smu_features 2791 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_GFXCLK].supported) { smu_features 2793 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_DS_GFXCLK].smu_feature_bitmap), smu_features 2796 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].enabled = false; smu_features 2799 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_SOCCLK].supported) { smu_features 2801 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_DS_SOCCLK].smu_feature_bitmap), smu_features 2804 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].enabled = false; smu_features 2807 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_LCLK].supported) { smu_features 2809 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_DS_LCLK].smu_feature_bitmap), smu_features 2812 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_LCLK].enabled = false; smu_features 2815 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DS_DCEFCLK].supported) { smu_features 2817 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_DS_DCEFCLK].smu_feature_bitmap), smu_features 2820 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].enabled = false; smu_features 2832 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if(data->smu_features[GNLD_LED_DISPLAY].supported == true){ smu_features 2834 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c false, data->smu_features[GNLD_LED_DISPLAY].smu_feature_bitmap), smu_features 2836 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].enabled = false; smu_features 2840 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].smu_feature_bitmap & bitmap) { smu_features 2841 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].supported) { smu_features 2842 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].enabled) { smu_features 2843 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c feature_mask |= data->smu_features[i]. smu_features 2845 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].enabled = false; smu_features 2869 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].smu_feature_bitmap & bitmap) { smu_features 2870 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].supported) { smu_features 2871 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (!data->smu_features[i].enabled) { smu_features 2872 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c feature_mask |= data->smu_features[i]. smu_features 2874 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].enabled = true; smu_features 2883 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[i].smu_feature_bitmap & smu_features 2885 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[i].enabled = false; smu_features 2889 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if(data->smu_features[GNLD_LED_DISPLAY].supported == true){ smu_features 2891 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_LED_DISPLAY].smu_feature_bitmap), smu_features 2893 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].enabled = true; smu_features 2903 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_ACDC].supported) { smu_features 2905 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c true, data->smu_features[GNLD_ACDC].smu_feature_bitmap), smu_features 2908 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_ACDC].enabled = true; smu_features 2919 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_PCC_LIMIT].supported) { smu_features 2920 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (enable == data->smu_features[GNLD_PCC_LIMIT].enabled) smu_features 2923 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c enable, data->smu_features[GNLD_PCC_LIMIT].smu_feature_bitmap), smu_features 2926 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_PCC_LIMIT].enabled = enable; smu_features 3629 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].supported) { smu_features 3632 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap), smu_features 3635 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_VCE].enabled = enable; smu_features 4188 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_FAN_CONTROL].enabled == false) smu_features 4607 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].supported) { smu_features 4610 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap), smu_features 4613 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->smu_features[GNLD_DPM_UVD].enabled = enable; smu_features 380 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h struct smu_features smu_features[GNLD_FEATURES_MAX]; smu_features 1196 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_DIDT].supported) { smu_features 1197 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_DIDT].enabled) smu_features 1229 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c result = vega10_enable_smc_features(hwmgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap); smu_features 1231 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_DIDT].enabled = true; smu_features 1243 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_DIDT].supported) { smu_features 1244 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (!data->smu_features[GNLD_DIDT].enabled) smu_features 1276 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c result = vega10_enable_smc_features(hwmgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap); smu_features 1278 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_DIDT].enabled = false; smu_features 1347 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_PPT].supported) smu_features 1349 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c true, data->smu_features[GNLD_PPT].smu_feature_bitmap), smu_features 1351 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_PPT].supported = false); smu_features 1353 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_TDC].supported) smu_features 1355 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c true, data->smu_features[GNLD_TDC].smu_feature_bitmap), smu_features 1357 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_TDC].supported = false); smu_features 1373 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_PPT].supported) smu_features 1375 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c false, data->smu_features[GNLD_PPT].smu_feature_bitmap), smu_features 1377 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_PPT].supported = false); smu_features 1379 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c if (data->smu_features[GNLD_TDC].supported) smu_features 1381 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c false, data->smu_features[GNLD_TDC].smu_feature_bitmap), smu_features 1383 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c data->smu_features[GNLD_TDC].supported = false); smu_features 102 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 187 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 190 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 194 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = true; smu_features 204 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 207 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 211 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = false; smu_features 237 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 431 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FW_CTF].supported) { smu_features 432 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FW_CTF].enabled) smu_features 437 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FW_CTF].smu_feature_bitmap), smu_features 440 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FW_CTF].enabled = true; smu_features 461 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (data->smu_features[GNLD_FW_CTF].supported) { smu_features 462 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (!data->smu_features[GNLD_FW_CTF].enabled) smu_features 468 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FW_CTF].smu_feature_bitmap), smu_features 471 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c data->smu_features[GNLD_FW_CTF].enabled = false; smu_features 509 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (!data->smu_features[GNLD_FAN_CONTROL].supported) smu_features 565 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c if (!data->smu_features[GNLD_FAN_CONTROL].supported) smu_features 296 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = smu_features 298 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = smu_features 300 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_UCLK].smu_feature_id = smu_features 302 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = smu_features 304 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_id = smu_features 306 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_id = smu_features 308 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_ULV].smu_feature_id = smu_features 310 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = smu_features 312 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_LINK].smu_feature_id = smu_features 314 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id = smu_features 316 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].smu_feature_id = smu_features 318 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].smu_feature_id = smu_features 320 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DS_LCLK].smu_feature_id = smu_features 322 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_PPT].smu_feature_id = smu_features 324 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_TDC].smu_feature_id = smu_features 326 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_THERMAL].smu_feature_id = smu_features 328 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id = smu_features 330 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_RM].smu_feature_id = smu_features 332 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id = smu_features 334 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_ACDC].smu_feature_id = smu_features 336 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_VR0HOT].smu_feature_id = smu_features 338 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_VR1HOT].smu_feature_id = smu_features 340 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_FW_CTF].smu_feature_id = smu_features 342 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].smu_feature_id = smu_features 344 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_FAN_CONTROL].smu_feature_id = smu_features 346 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT; smu_features 347 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_GFXOFF].smu_feature_id = FEATURE_GFXOFF_BIT; smu_features 348 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_CG].smu_feature_id = FEATURE_CG_BIT; smu_features 349 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_ACG].smu_feature_id = FEATURE_ACG_BIT; smu_features 352 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].smu_feature_bitmap = smu_features 353 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (uint64_t)(1ULL << data->smu_features[i].smu_feature_id); smu_features 354 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].allowed = smu_features 563 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled) { smu_features 576 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled) { smu_features 589 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 602 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) { smu_features 615 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 628 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 641 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 654 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 665 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 676 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 791 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[i].allowed) smu_features 792 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].smu_feature_id > 31 ? smu_features 793 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (allowed_features_high |= ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_HIGH_SHIFT) & 0xFFFFFFFF)) : smu_features 794 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (allowed_features_low |= ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_LOW_SHIFT) & 0xFFFFFFFF)); smu_features 817 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) smu_features 820 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) smu_features 839 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; smu_features 840 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].enabled = enabled; smu_features 841 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].supported = enabled; smu_features 865 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? true : false; smu_features 866 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].enabled = enabled; smu_features 867 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[i].supported = enabled; smu_features 1044 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled) { smu_features 1053 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 1069 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 1087 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) { smu_features 1097 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled) { smu_features 1107 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 1127 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled) { smu_features 1137 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 1147 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 1164 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) { smu_features 1174 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled) { smu_features 1192 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].supported) { smu_features 1195 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap), smu_features 1198 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_VCE].enabled = enable; smu_features 1210 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_GFXCLK].enabled) smu_features 1233 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 1422 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 1440 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 1490 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].supported) { smu_features 1494 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DS_DCEFCLK].supported) smu_features 1674 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_FAN_CONTROL].enabled == false) smu_features 1718 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_GFXCLK].enabled) smu_features 1750 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 1778 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_DCEFCLK].enabled) smu_features 1806 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (!data->smu_features[GNLD_DPM_SOCCLK].enabled) smu_features 1870 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].supported && smu_features 1871 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].supported) { smu_features 2337 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 2385 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].supported && smu_features 2386 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].supported) smu_features 2398 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].supported) { smu_features 2401 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap), smu_features 2404 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c data->smu_features[GNLD_DPM_UVD].enabled = enable; smu_features 392 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h struct smu_features smu_features[GNLD_FEATURES_MAX]; smu_features 74 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 77 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 81 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = true; smu_features 92 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 95 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 99 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = false; smu_features 109 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) smu_features 123 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) smu_features 331 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_PREFETCHER].smu_feature_id = smu_features 333 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_GFXCLK].smu_feature_id = smu_features 335 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_UCLK].smu_feature_id = smu_features 337 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].smu_feature_id = smu_features 339 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_id = smu_features 341 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_id = smu_features 343 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_ULV].smu_feature_id = smu_features 345 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_MP0CLK].smu_feature_id = smu_features 347 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_LINK].smu_feature_id = smu_features 349 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].smu_feature_id = smu_features 351 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_GFXCLK].smu_feature_id = smu_features 353 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_SOCCLK].smu_feature_id = smu_features 355 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_LCLK].smu_feature_id = smu_features 357 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_PPT].smu_feature_id = smu_features 359 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_TDC].smu_feature_id = smu_features 361 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_THERMAL].smu_feature_id = smu_features 363 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_GFX_PER_CU_CG].smu_feature_id = smu_features 365 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_RM].smu_feature_id = smu_features 367 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_DCEFCLK].smu_feature_id = smu_features 369 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_ACDC].smu_feature_id = smu_features 371 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_VR0HOT].smu_feature_id = smu_features 373 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_VR1HOT].smu_feature_id = smu_features 375 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_FW_CTF].smu_feature_id = smu_features 377 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_LED_DISPLAY].smu_feature_id = smu_features 379 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_FAN_CONTROL].smu_feature_id = smu_features 381 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DIDT].smu_feature_id = FEATURE_GFX_EDC_BIT; smu_features 382 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_GFXOFF].smu_feature_id = FEATURE_GFXOFF_BIT; smu_features 383 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_CG].smu_feature_id = FEATURE_CG_BIT; smu_features 384 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_FCLK].smu_feature_id = FEATURE_DPM_FCLK_BIT; smu_features 385 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_FCLK].smu_feature_id = FEATURE_DS_FCLK_BIT; smu_features 386 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_MP1CLK].smu_feature_id = FEATURE_DS_MP1CLK_BIT; smu_features 387 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DS_MP0CLK].smu_feature_id = FEATURE_DS_MP0CLK_BIT; smu_features 388 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_XGMI].smu_feature_id = FEATURE_XGMI_BIT; smu_features 389 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_ECC].smu_feature_id = FEATURE_ECC_BIT; smu_features 392 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].smu_feature_bitmap = smu_features 393 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (uint64_t)(1ULL << data->smu_features[i].smu_feature_id); smu_features 394 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].allowed = smu_features 592 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled) { smu_features 613 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 645 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled) { smu_features 672 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) { smu_features 685 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 698 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) { smu_features 711 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 724 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 735 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 746 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 757 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_FCLK].enabled) { smu_features 888 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[i].allowed) smu_features 889 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].smu_feature_id > 31 ? smu_features 891 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_HIGH_SHIFT) smu_features 894 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ((data->smu_features[i].smu_feature_bitmap >> SMU_FEATURES_LOW_SHIFT) smu_features 942 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? smu_features 944 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].enabled = enabled; smu_features 945 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].supported = enabled; smu_features 948 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[i].allowed && !enabled) smu_features 950 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c else if (!data->smu_features[i].allowed && enabled) smu_features 962 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 1000 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c enabled = (features_enabled & data->smu_features[i].smu_feature_bitmap) ? smu_features 1002 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].enabled = enabled; smu_features 1003 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[i].supported = enabled; smu_features 1020 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled) { smu_features 1038 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 1056 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_FAN_CONTROL].enabled) { smu_features 1073 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_THERMAL].enabled) { smu_features 1592 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 1599 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled) smu_features 1606 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 1656 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled) smu_features 1659 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled) smu_features 1800 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled && smu_features 1810 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled && smu_features 1820 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled && smu_features 1839 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled && smu_features 1850 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled && smu_features 1861 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_FCLK].enabled && smu_features 1872 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled && smu_features 1893 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_GFXCLK].enabled && smu_features 1904 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled && smu_features 1915 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled && smu_features 1933 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled && smu_features 1944 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_SOCCLK].enabled && smu_features 1955 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_FCLK].enabled && smu_features 1975 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].supported) { smu_features 1976 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_VCE].enabled == enable) { smu_features 1985 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_VCE].smu_feature_bitmap); smu_features 1989 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_VCE].enabled = enable; smu_features 2028 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_GFXCLK].enabled, smu_features 2054 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PP_ASSERT_WITH_CODE(data->smu_features[GNLD_DPM_UCLK].enabled, smu_features 2251 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].enabled) { smu_features 2304 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_DCEFCLK].supported) { smu_features 2308 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DS_DCEFCLK].supported) smu_features 2319 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 2713 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_FAN_CONTROL].enabled == false) smu_features 2761 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (!data->smu_features[GNLD_DPM_GFXCLK].enabled) smu_features 2789 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (!data->smu_features[GNLD_DPM_UCLK].enabled) smu_features 2814 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (!data->smu_features[GNLD_DPM_DCEFCLK].enabled) smu_features 2836 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (!data->smu_features[GNLD_DPM_SOCCLK].enabled) smu_features 2895 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].supported && smu_features 2896 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].supported) { smu_features 3483 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UCLK].enabled) { smu_features 3508 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_FCLK].enabled) { smu_features 3560 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_DCEFCLK].supported && smu_features 3561 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_SOCCLK].supported) { smu_features 3576 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].supported) { smu_features 3577 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c if (data->smu_features[GNLD_DPM_UVD].enabled == enable) { smu_features 3586 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_UVD].smu_feature_bitmap); smu_features 3590 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c data->smu_features[GNLD_DPM_UVD].enabled = enable; smu_features 521 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h struct smu_features smu_features[GNLD_FEATURES_MAX]; smu_features 37 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_powertune.c if (data->smu_features[GNLD_PPT].enabled) smu_features 37 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 40 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 45 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = false; smu_features 55 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) smu_features 66 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported) { smu_features 69 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c data->smu_features[GNLD_FAN_CONTROL]. smu_features 74 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c data->smu_features[GNLD_FAN_CONTROL].enabled = true; smu_features 84 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c if (data->smu_features[GNLD_FAN_CONTROL].supported)