drm/amd/powerplay: modify the feature mask to enable gfx/soc dpm
authorHuang Rui <ray.huang@amd.com>
Wed, 20 Feb 2019 12:17:23 +0000 (20:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
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>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c

index a233f34..2ef127f 100644 (file)
@@ -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;
 }