<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Yang Wang <KevinYang.Wang@amd.com><br>
<b>Sent:</b> Tuesday, May 10, 2022 2:00 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Wang, Yang(Kevin) <KevinYang.Wang@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">- set_pp_feature_mask<br>
- get_pp_feature_mask<br>
<br>
the pp_feature device node isn't working when<br>
above callback functions aren't provided.<br>
<br>
Signed-off-by: Yang Wang <KevinYang.Wang@amd.com><br>
---<br>
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c<br>
index 583a96784558..00964b3728fe 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c<br>
@@ -1500,6 +1500,8 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {<br>
         .get_power_profile_mode = smu_v13_0_7_get_power_profile_mode,<br>
         .set_power_profile_mode = smu_v13_0_7_set_power_profile_mode,<br>
         .set_tool_table_location = smu_v13_0_set_tool_table_location,<br>
+       .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,<br>
+       .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,<br>
 };<br>
 <br>
 void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>