diff options
author | Evan Quan <evan.quan@amd.com> | 2022-07-15 05:03:01 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-28 22:28:54 +0200 |
commit | e1c42213f3f9b24200d4b60da806303dbeae5a4d (patch) | |
tree | 4c5f397093167aea7f6c591ca207c832cf4343d5 /drivers/gpu | |
parent | drm/amd/pm: update driver if header for SMU 13.0.0 (diff) | |
download | linux-e1c42213f3f9b24200d4b60da806303dbeae5a4d.tar.xz linux-e1c42213f3f9b24200d4b60da806303dbeae5a4d.zip |
drm/amd/pm: enable GFX ULV feature support for SMU13.0.0
The feature is ready with latest firmwares.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c index 931c775fe27e..1bbeceeb9e3c 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c @@ -313,6 +313,9 @@ smu_v13_0_0_get_allowed_feature_mask(struct smu_context *smu, *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_GFX_POWER_OPTIMIZER_BIT); + if (adev->pm.pp_feature & PP_ULV_MASK) + *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_GFX_ULV_BIT); + return 0; } |