<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:#317100;margin:15pt;" align="Left">
[AMD Public Use]<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> Wang, Kevin(Yang) <Kevin1.Wang@amd.com><br>
<b>Sent:</b> Thursday, March 12, 2020 5:50 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Feng, Kenneth <Kenneth.Feng@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Wang, Kevin(Yang) <Kevin1.Wang@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu/swsmu: clean up unused header in swsmu</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">clean up unused header in swsmu driver stack:<br>
1. pp_debug.h<br>
2. amd_pcie.h<br>
3. soc15_common.h<br>
<br>
Signed-off-by: Kevin Wang <kevin1.wang@amd.com><br>
---<br>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 ---<br>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 -<br>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 --<br>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 1 -<br>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 -<br>
drivers/gpu/drm/amd/powerplay/smu_v12_0.c | 1 -<br>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 1 -<br>
7 files changed, 10 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c<br>
index f18e3fadbc26..8de8436f0839 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c<br>
@@ -23,15 +23,12 @@<br>
#include <linux/firmware.h><br>
#include <linux/pci.h><br>
<br>
-#include "pp_debug.h"<br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
#include "smu_internal.h"<br>
-#include "soc15_common.h"<br>
#include "smu_v11_0.h"<br>
#include "smu_v12_0.h"<br>
#include "atom.h"<br>
-#include "amd_pcie.h"<br>
#include "vega20_ppt.h"<br>
#include "arcturus_ppt.h"<br>
#include "navi10_ppt.h"<br>
diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c<br>
index cc4427ebf169..61596e8d522c 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c<br>
@@ -21,7 +21,6 @@<br>
*<br>
*/<br>
<br>
-#include "pp_debug.h"<br>
#include <linux/firmware.h><br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
index 6e41f3c9ff1b..d66dfa7410b6 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c<br>
@@ -21,7 +21,6 @@<br>
*<br>
*/<br>
<br>
-#include "pp_debug.h"<br>
#include <linux/firmware.h><br>
#include <linux/pci.h><br>
#include "amdgpu.h"<br>
@@ -31,7 +30,6 @@<br>
#include "amdgpu_atomfirmware.h"<br>
#include "smu_v11_0.h"<br>
#include "smu11_driver_if_navi10.h"<br>
-#include "soc15_common.h"<br>
#include "atom.h"<br>
#include "navi10_ppt.h"<br>
#include "smu_v11_0_pptable.h"<br>
diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.c b/drivers/gpu/drm/amd/powerplay/renoir_ppt.c<br>
index 653faadaafb3..7bf52ecba01d 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/renoir_ppt.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/renoir_ppt.c<br>
@@ -24,7 +24,6 @@<br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
#include "smu_internal.h"<br>
-#include "soc15_common.h"<br>
#include "smu_v12_0_ppsmc.h"<br>
#include "smu12_driver_if.h"<br>
#include "smu_v12_0.h"<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 3a5d00573d2c..4fd77c7cfc80 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c<br>
@@ -26,7 +26,6 @@<br>
<br>
#define SMU_11_0_PARTIAL_PPTABLE<br>
<br>
-#include "pp_debug.h"<br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
#include "smu_internal.h"<br>
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v12_0.c b/drivers/gpu/drm/amd/powerplay/smu_v12_0.c<br>
index d52e624f16d3..169ebdad87b8 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/smu_v12_0.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/smu_v12_0.c<br>
@@ -20,7 +20,6 @@<br>
* OTHER DEALINGS IN THE SOFTWARE.<br>
*/<br>
<br>
-#include "pp_debug.h"<br>
#include <linux/firmware.h><br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
diff --git a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c b/drivers/gpu/drm/amd/powerplay/vega20_ppt.c<br>
index d7fa8c02c166..49ff3756bd9f 100644<br>
--- a/drivers/gpu/drm/amd/powerplay/vega20_ppt.c<br>
+++ b/drivers/gpu/drm/amd/powerplay/vega20_ppt.c<br>
@@ -21,7 +21,6 @@<br>
*<br>
*/<br>
<br>
-#include "pp_debug.h"<br>
#include <linux/firmware.h><br>
#include "amdgpu.h"<br>
#include "amdgpu_smu.h"<br>
-- <br>
2.17.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>