drm/amdgpu/swsmu: clean up unused header in swsmu
Subsystems (2)
PATCH 1/1 drm/amdgpu/swsmu: clean up unused header in swsmu
clean up unused header in swsmu driver stack:
1. pp_debug.h
2. amd_pcie.h
3. soc15_common.h
Signed-off-by Kevin Wang <[email protected]>
--- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 --- drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 - drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 -- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 1 - drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 - drivers/gpu/drm/amd/powerplay/smu_v12_0.c | 1 - drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 1 - 7 files changed, 10 deletions(-)
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +0 -3
@@ -23,15 +23,12 @@#include <linux/firmware.h> #include <linux/pci.h> -#include "pp_debug.h" #include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h" -#include "soc15_common.h" #include "smu_v11_0.h" #include "smu_v12_0.h" #include "atom.h" -#include "amd_pcie.h" #include "vega20_ppt.h" #include "arcturus_ppt.h" #include "navi10_ppt.h"
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +0 -1
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +0 -2
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include <linux/pci.h> #include "amdgpu.h"
@@ -31,7 +30,6 @@#include "amdgpu_atomfirmware.h" #include "smu_v11_0.h" #include "smu11_driver_if_navi10.h" -#include "soc15_common.h" #include "atom.h" #include "navi10_ppt.h" #include "smu_v11_0_pptable.h"
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +0 -1
@@ -24,7 +24,6 @@#include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h" -#include "soc15_common.h" #include "smu_v12_0_ppsmc.h" #include "smu12_driver_if.h" #include "smu_v12_0.h"
drivers/gpu/drm/amd/powerplay/smu_v11_0.c +0 -1
@@ -26,7 +26,6 @@#define SMU_11_0_PARTIAL_PPTABLE -#include "pp_debug.h" #include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h"
drivers/gpu/drm/amd/powerplay/smu_v12_0.c +0 -1
@@ -20,7 +20,6 @@* OTHER DEALINGS IN THE SOFTWARE. */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
drivers/gpu/drm/amd/powerplay/vega20_ppt.c +0 -1
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Public Use]
Reviewed-by Alex Deucher <[email protected]>
________________________________
From: Wang, Kevin(Yang) <[email protected]>
Sent: Thursday, March 12, 2020 5:50 AM
To: [email protected] <[email protected]>
Cc: Feng, Kenneth <[email protected]>; Deucher, Alexander <[email protected]>; Wang, Kevin(Yang) <[email protected]>
Subject: [PATCH] drm/amdgpu/swsmu: clean up unused header in swsmu
clean up unused header in swsmu driver stack:
1. pp_debug.h
2. amd_pcie.h
3. soc15_common.h
Signed-off-by Kevin Wang <[email protected]>
--- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 --- drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 - drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 -- drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 1 - drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 1 - drivers/gpu/drm/amd/powerplay/smu_v12_0.c | 1 - drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 1 - 7 files changed, 10 deletions(-)
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +0 -3
@@ -23,15 +23,12 @@#include <linux/firmware.h> #include <linux/pci.h> -#include "pp_debug.h" #include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h" -#include "soc15_common.h" #include "smu_v11_0.h" #include "smu_v12_0.h" #include "atom.h" -#include "amd_pcie.h" #include "vega20_ppt.h" #include "arcturus_ppt.h" #include "navi10_ppt.h"
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +0 -1
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +0 -2
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include <linux/pci.h> #include "amdgpu.h"
@@ -31,7 +30,6 @@#include "amdgpu_atomfirmware.h" #include "smu_v11_0.h" #include "smu11_driver_if_navi10.h" -#include "soc15_common.h" #include "atom.h" #include "navi10_ppt.h" #include "smu_v11_0_pptable.h"
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +0 -1
@@ -24,7 +24,6 @@#include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h" -#include "soc15_common.h" #include "smu_v12_0_ppsmc.h" #include "smu12_driver_if.h" #include "smu_v12_0.h"
drivers/gpu/drm/amd/powerplay/smu_v11_0.c +0 -1
@@ -26,7 +26,6 @@#define SMU_11_0_PARTIAL_PPTABLE -#include "pp_debug.h" #include "amdgpu.h" #include "amdgpu_smu.h" #include "smu_internal.h"
drivers/gpu/drm/amd/powerplay/smu_v12_0.c +0 -1
@@ -20,7 +20,6 @@* OTHER DEALINGS IN THE SOFTWARE. */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
drivers/gpu/drm/amd/powerplay/vega20_ppt.c +0 -1
@@ -21,7 +21,6 @@* */ -#include "pp_debug.h" #include <linux/firmware.h> #include "amdgpu.h" #include "amdgpu_smu.h"
--
2.17.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx