drm/amd/powerplay: enable power features
authorKenneth Feng <kenneth.feng@amd.com>
Mon, 11 Mar 2019 08:06:03 +0000 (16:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:25 +0000 (18:59 -0500)
the below smu related power features can be enabled now.
1.Prefetcher
2.GFX DPM
3.SOCCLK DPM
4.MP0CLK DPM
5.LCLK DPM
6.GFX ULV
7.CG
8.PPT
9.TDC
10.GFX EDC
11.VR0HOT
12.Fan Control
13.Thermal Control
14.LED Display
15.MMHub PG
16.ATHub PG

Signed-off-by: Kenneth Feng <kenneth.feng@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 2ef127fa0ecd652535bafc4f387fc6eef59f6071..11db306d8532a2d3a473d51e01f8d44a31e8d006 100644 (file)
@@ -119,8 +119,8 @@ navi10_get_unallowed_feature_mask(struct smu_context *smu,
        if (num > 2)
                return -EINVAL;
 
-       feature_mask[0] = 0xffffffe4;
-       feature_mask[1] = 0xffffffff;   /* bit32~bit63 is Unsupported */
+       feature_mask[0] = 0xdc3f7f8c;
+       feature_mask[1] = 0xfffffcec;   /* bit32~bit63 is Unsupported */
 
        return 0;
 }