[PATCH] drm/amdgpu/powerplay: add new mapping for APCC_DFLL feature

Wang, Kevin(Yang) Kevin1.Wang at amd.com
Tue Sep 17 14:40:07 UTC 2019


Reviewed-by: Kevin Wang <kevin1.wang at amd.com>


________________________________
From: Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Sent: Tuesday, September 17, 2019 7:04 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: 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] drm/amdgpu/powerplay: add new mapping for APCC_DFLL feature

Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
---
 drivers/gpu/drm/amd/powerplay/inc/smu_types.h | 1 +
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
index ab8c92a60fc4..12a1de55ce3c 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h
@@ -252,6 +252,7 @@ enum smu_clk_type {
        __SMU_DUMMY_MAP(TEMP_DEPENDENT_VMIN),            \
        __SMU_DUMMY_MAP(MMHUB_PG),                       \
        __SMU_DUMMY_MAP(ATHUB_PG),                       \
+       __SMU_DUMMY_MAP(APCC_DFLL),                      \
        __SMU_DUMMY_MAP(WAFL_CG),

 #undef __SMU_DUMMY_MAP
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index 16634e657589..5a34d01f7f7c 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -176,6 +176,7 @@ static struct smu_11_0_cmn2aisc_mapping navi10_feature_mask_map[SMU_FEATURE_COUN
         FEA_MAP(TEMP_DEPENDENT_VMIN),
         FEA_MAP(MMHUB_PG),
         FEA_MAP(ATHUB_PG),
+       FEA_MAP(APCC_DFLL),
 };

 static struct smu_11_0_cmn2aisc_mapping navi10_table_map[SMU_TABLE_COUNT] = {
--
2.20.1

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


More information about the amd-gfx mailing list