From 34e40f6338c730572874bc3d6fe330c7f2b63013 Mon Sep 17 00:00:00 2001 From: Rex Zhu Date: Wed, 14 Mar 2018 20:05:12 +0800 Subject: [PATCH] drm/amd/pp: Rename file name cz_* to smu8_* Reviewed-by: Alex Deucher Reviewed-by: Evan Quan Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 2 +- .../gpu/drm/amd/powerplay/hwmgr/{cz_hwmgr.c => smu8_hwmgr.c} | 2 +- .../gpu/drm/amd/powerplay/hwmgr/{cz_hwmgr.h => smu8_hwmgr.h} | 0 drivers/gpu/drm/amd/powerplay/smumgr/Makefile | 2 +- .../gpu/drm/amd/powerplay/smumgr/{cz_smumgr.c => smu8_smumgr.c} | 2 +- .../gpu/drm/amd/powerplay/smumgr/{cz_smumgr.h => smu8_smumgr.h} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename drivers/gpu/drm/amd/powerplay/hwmgr/{cz_hwmgr.c => smu8_hwmgr.c} (99%) rename drivers/gpu/drm/amd/powerplay/hwmgr/{cz_hwmgr.h => smu8_hwmgr.h} (100%) rename drivers/gpu/drm/amd/powerplay/smumgr/{cz_smumgr.c => smu8_smumgr.c} (99%) rename drivers/gpu/drm/amd/powerplay/smumgr/{cz_smumgr.h => smu8_smumgr.h} (100%) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/Makefile b/drivers/gpu/drm/amd/powerplay/hwmgr/Makefile index 094949d1a2db..f868b955da92 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/Makefile +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/Makefile @@ -24,7 +24,7 @@ # It provides the hardware management services for the driver. HARDWARE_MGR = hwmgr.o processpptables.o \ - hardwaremanager.o cz_hwmgr.o \ + hardwaremanager.o smu8_hwmgr.o \ pppcielanes.o\ process_pptables_v1_0.o ppatomctrl.o ppatomfwctrl.o \ smu7_hwmgr.o smu7_powertune.o smu7_thermal.o \ diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c similarity index 99% rename from drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c rename to drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c index f0f3900eae1a..75a465f771f0 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c @@ -35,7 +35,7 @@ #include "hwmgr.h" #include "hardwaremanager.h" #include "cz_ppsmc.h" -#include "cz_hwmgr.h" +#include "smu8_hwmgr.h" #include "power_state.h" #include "pp_thermal.h" diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.h similarity index 100% rename from drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h rename to drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.h diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/Makefile b/drivers/gpu/drm/amd/powerplay/smumgr/Makefile index f5c45425fcc7..735c38624ce1 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/Makefile +++ b/drivers/gpu/drm/amd/powerplay/smumgr/Makefile @@ -23,7 +23,7 @@ # Makefile for the 'smu manager' sub-component of powerplay. # It provides the smu management services for the driver. -SMU_MGR = smumgr.o cz_smumgr.o tonga_smumgr.o fiji_smumgr.o \ +SMU_MGR = smumgr.o smu8_smumgr.o tonga_smumgr.o fiji_smumgr.o \ polaris10_smumgr.o iceland_smumgr.o \ smu7_smumgr.o vega10_smumgr.o smu10_smumgr.o ci_smumgr.o diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c similarity index 99% rename from drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c rename to drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c index b998a16e5a2c..480deb2ce448 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c @@ -32,7 +32,7 @@ #include "smu/smu_8_0_sh_mask.h" #include "smu8.h" #include "smu8_fusion.h" -#include "cz_smumgr.h" +#include "smu8_smumgr.h" #include "cz_ppsmc.h" #include "smu_ucode_xfer_cz.h" #include "gca/gfx_8_0_d.h" diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.h b/drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.h similarity index 100% rename from drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.h rename to drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.h -- 2.30.2