]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
amd/powerplay: enable uclk dpm
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 26 Apr 2019 05:53:10 +0000 (13:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:28 +0000 (18:59 -0500)
Enable uclk dpm on navi10 as the result of
removing fast switch setting.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c

index 5a683a05df48b6a1d3c368065694a85194bbafc6..edf938ac40616db2311751b5c5b1438e2b855341 100644 (file)
@@ -273,7 +273,10 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
                                | FEATURE_MASK(FEATURE_LED_DISPLAY_BIT)
                                | FEATURE_MASK(FEATURE_MMHUB_PG_BIT)
                                | FEATURE_MASK(FEATURE_ATHUB_PG_BIT)
-                               | FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT);
+                               | FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT)
+                               | FEATURE_MASK(FEATURE_DPM_UCLK_BIT)
+                               | FEATURE_MASK(FEATURE_MEM_VDDCI_SCALING_BIT)
+                               | FEATURE_MASK(FEATURE_MEM_MVDD_SCALING_BIT);
 
        if (adev->pm.pp_feature & PP_GFXOFF_MASK)
                *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_GFX_SS_BIT)