<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif">
Reviewed-by: Kevin Wang <kevin1.wang@amd.com></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif">
<br style="font-size: 16px; background-color: rgb(255, 255, 255)">
</div>
<br>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Yuan, Xiaojie <Xiaojie.Yuan@amd.com><br>
<b>Sent:</b> Tuesday, September 17, 2019 7:04 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Feng, Kenneth <Kenneth.Feng@amd.com>; Quan, Evan <Evan.Quan@amd.com>; Wang, Kevin(Yang) <Kevin1.Wang@amd.com>; Yuan, Xiaojie <Xiaojie.Yuan@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu/powerplay: add new mapping for APCC_DFLL feature</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com><br>
---<br>
 drivers/gpu/drm/amd/powerplay/inc/smu_types.h | 1 +<br>
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c    | 1 +<br>
 2 files changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h<br>
index ab8c92a60fc4..12a1de55ce3c 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/inc/smu_types.h<br>
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu_types.h<br>
@@ -252,6 +252,7 @@ enum smu_clk_type {<br>
        __SMU_DUMMY_MAP(TEMP_DEPENDENT_VMIN),            \<br>
        __SMU_DUMMY_MAP(MMHUB_PG),                       \<br>
        __SMU_DUMMY_MAP(ATHUB_PG),                       \<br>
+       __SMU_DUMMY_MAP(APCC_DFLL),                      \<br>
        __SMU_DUMMY_MAP(WAFL_CG),<br>
 <br>
 #undef __SMU_DUMMY_MAP<br>
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
index 16634e657589..5a34d01f7f7c 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
@@ -176,6 +176,7 @@ static struct smu_11_0_cmn2aisc_mapping navi10_feature_mask_map[SMU_FEATURE_COUN<br>
         FEA_MAP(TEMP_DEPENDENT_VMIN),<br>
         FEA_MAP(MMHUB_PG),<br>
         FEA_MAP(ATHUB_PG),<br>
+       FEA_MAP(APCC_DFLL),<br>
 };<br>
 <br>
 static struct smu_11_0_cmn2aisc_mapping navi10_table_map[SMU_TABLE_COUNT] = {<br>
-- <br>
2.20.1<br>
<br>
</div>
</span></font></div>
</body>
</html>