diff options
author | Evan Quan <evan.quan@amd.com> | 2020-09-25 07:59:45 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-27 18:59:03 +0300 |
commit | f6638d0e6f93501dae110d66445c159309aa366a (patch) | |
tree | 4a1a4cc3ddfae1b13a3ce93100f567091b905671 /drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | |
parent | a8588b8bb3d6bf0cfa45644518d8aba11ac7f7eb (diff) | |
download | linux-f6638d0e6f93501dae110d66445c159309aa366a.tar.xz |
drm/amd/pm: correct the checks for sclk/mclk SS support
Correct sclk/mclk SS support checks.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c index f48fdc7f0382..68a7aed16196 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c @@ -479,6 +479,11 @@ int polaris_set_asic_special_caps(struct pp_hwmgr *hwmgr) PHM_PlatformCaps_RegulatorHot); phm_cap_set(hwmgr->platform_descriptor.platformCaps, + PHM_PlatformCaps_MemorySpreadSpectrumSupport); + phm_cap_set(hwmgr->platform_descriptor.platformCaps, + PHM_PlatformCaps_EngineSpreadSpectrumSupport); + + phm_cap_set(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_AutomaticDCTransition); if (hwmgr->chip_id != CHIP_POLARIS10) |