From: Kenneth Feng Date: Mon, 11 Mar 2019 08:06:03 +0000 (+0800) Subject: drm/amd/powerplay: enable power features X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1e87e0124ba413b751ee03b09f5520e778982b58;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: enable power features 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 Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c index 2ef127fa0ecd..11db306d8532 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] = 0xffffffe4; - feature_mask[1] = 0xffffffff; /* bit32~bit63 is Unsupported */ + feature_mask[0] = 0xdc3f7f8c; + feature_mask[1] = 0xfffffcec; /* bit32~bit63 is Unsupported */ return 0; }