drm/amd/pp: Move helper functions to smu_help.c
Subsystems (2)
PATCH 1/1 drm/amd/pp: Move helper functions to smu_help.c
Change-Id I4b1fe130631c67aedf8d9565a528edd087a4158c
Signed-off-by Rex Zhu <[email protected]>
--- drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 509 --------------------- drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c | 536 +++++++++++++++++++++++ drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h | 167 +++++++ drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 142 +----- 5 files changed, 705 insertions(+), 651 deletions(-) create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile +1 -1
@@ -31,7 +31,7 @@ HARDWARE_MGR = hwmgr.o processpptables.o \ smu7_clockpowergating.o \ smu9_0_processpptables.o smu9_0_hwmgr.o smu9_0_powertune.o \ smu9_0_thermal.o smu10_hwmgr.o pp_psm.o\ - pp_overdriver.o + pp_overdriver.o smu_helper.o AMD_PP_HWMGR = $(addprefix $(AMD_PP_PATH)/hwmgr/,$(HARDWARE_MGR))
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +0 -509
533 lines not on this page · raw message
drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c new file +536 -0
536 lines not on this page · raw message
drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h new file +167 -0
167 lines not on this page · raw message
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +1 -141
159 lines not on this page · raw message
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx