summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-02-20 20:17:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:24 -0500
commit3a4dc27b4373b2127ae7c202f8ef5bf89d0691b3 (patch)
treec0b5ae5f26db9183db4aea3e9a62531be73495d3
parent879af1c65af6d3e6289f4dbac847b46a4c717529 (diff)
drm/amd/powerplay: modify the feature mask to enable gfx/soc dpm
So far, the gfx/soc dpm is enabled with feature mask set. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index a233f34313e9..2ef127fa0ecd 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -119,8 +119,8 @@ navi10_get_unallowed_feature_mask(struct smu_context *smu,
if (num > 2)
return -EINVAL;
- feature_mask[0] = 0x0C677844;
- feature_mask[1] = 0xFFFFFF28; /* bit32~bit63 is Unsupported */
+ feature_mask[0] = 0xffffffe4;
+ feature_mask[1] = 0xffffffff; /* bit32~bit63 is Unsupported */
return 0;
}