<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);">
Reviewed-by: Kevin Wang <kevin1.wang@amd.com></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
also you can put this information in sysfs "amdgpu_pm_info" .</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best Regards,<br>
Kevin</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</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> Wednesday, October 30, 2019 4:19 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Quan, Evan <Evan.Quan@amd.com>; Wang, Kevin(Yang) <Kevin1.Wang@amd.com>; Feng, Kenneth <Kenneth.Feng@amd.com>; Yuan, Xiaojie <Xiaojie.Yuan@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/powerplay: print the pptable provider</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/smu_v11_0.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c<br>
index 7e882999abad..0f7504ae2395 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c<br>
@@ -368,6 +368,7 @@ int smu_v11_0_setup_pptable(struct smu_context *smu)<br>
         version_major = le16_to_cpu(hdr->header.header_version_major);<br>
         version_minor = le16_to_cpu(hdr->header.header_version_minor);<br>
         if (version_major == 2 && smu->smu_table.boot_values.pp_table_id > 0) {<br>
+               pr_info("use driver provided pptable %d\n", smu->smu_table.boot_values.pp_table_id);<br>
                 switch (version_minor) {<br>
                 case 0:<br>
                         ret = smu_v11_0_set_pptable_v2_0(smu, &table, &size);<br>
@@ -384,6 +385,7 @@ int smu_v11_0_setup_pptable(struct smu_context *smu)<br>
                         return ret;<br>
 <br>
         } else {<br>
+               pr_info("use vbios provided pptable\n");<br>
                 index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1,<br>
                                                     powerplayinfo);<br>
 <br>
-- <br>
2.20.1<br>
<br>
</div>
</span></font></div>
</body>
</html>