[PATCH 1/2] drm/amd/powerplay: add more feature bits

Yuan, Xiaojie Xiaojie.Yuan at amd.com
Thu Oct 10 02:25:54 UTC 2019


Ping ...

BR,
Xiaojie
________________________________
From: Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Sent: Wednesday, October 9, 2019 7:08 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Xiao, Jack <Jack.Xiao at amd.com>; Feng, Kenneth <Kenneth.Feng at amd.com>; Quan, Evan <Evan.Quan at amd.com>; Wang, Kevin(Yang) <Kevin1.Wang at amd.com>; Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Subject: [PATCH 1/2] drm/amd/powerplay: add more feature bits

Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
---
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index 5a34d01f7f7c..44152c1f01c7 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -337,19 +337,22 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
                                 | FEATURE_MASK(FEATURE_PPT_BIT)
                                 | FEATURE_MASK(FEATURE_TDC_BIT)
                                 | FEATURE_MASK(FEATURE_GFX_EDC_BIT)
+                               | FEATURE_MASK(FEATURE_APCC_PLUS_BIT)
                                 | FEATURE_MASK(FEATURE_VR0HOT_BIT)
                                 | FEATURE_MASK(FEATURE_FAN_CONTROL_BIT)
                                 | FEATURE_MASK(FEATURE_THERMAL_BIT)
                                 | FEATURE_MASK(FEATURE_LED_DISPLAY_BIT)
                                 | FEATURE_MASK(FEATURE_DPM_DCEFCLK_BIT)
                                 | FEATURE_MASK(FEATURE_DS_GFXCLK_BIT)
+                               | FEATURE_MASK(FEATURE_DS_LCLK_BIT)
                                 | FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT)
                                 | FEATURE_MASK(FEATURE_FW_DSTATE_BIT)
                                 | FEATURE_MASK(FEATURE_BACO_BIT)
                                 | FEATURE_MASK(FEATURE_ACDC_BIT)
                                 | FEATURE_MASK(FEATURE_GFX_SS_BIT)
                                 | FEATURE_MASK(FEATURE_APCC_DFLL_BIT)
-                               | FEATURE_MASK(FEATURE_FW_CTF_BIT);
+                               | FEATURE_MASK(FEATURE_FW_CTF_BIT)
+                               | FEATURE_MASK(FEATURE_OUT_OF_BAND_MONITOR_BIT);

         if (adev->pm.pp_feature & PP_MCLK_DPM_MASK)
                 *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DPM_UCLK_BIT)
--
2.20.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20191010/ee95f8d6/attachment-0001.html>


More information about the amd-gfx mailing list