summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/Makefile
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-07-21 17:43:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 16:42:09 -0500
commitac885b3a20e60f568fe856008d038d7bd01394e2 (patch)
tree52ef71e3e2a98168348c091de6f4cb4dec50746e /drivers/gpu/drm/amd/powerplay/Makefile
parent1b5708ffb1032a2f24b4224320753532303c1ae4 (diff)
drm/amd/powerplay: add SMU manager sub-component
The SMUMGR is one sub-component of powerplay for SMU firmware support. The SMU handles firmware loading for other IP blocks (GFX, SDMA, etc.) on VI parts. The adds the core powerplay infrastructure to handle that. v3: direct use printk in powerplay module. v2: direct use cgs_read/write_register functions in smu-modules Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/Makefile')
-rw-r--r--drivers/gpu/drm/amd/powerplay/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/Makefile b/drivers/gpu/drm/amd/powerplay/Makefile
index e7428a149b62..60c6654a47e6 100644
--- a/drivers/gpu/drm/amd/powerplay/Makefile
+++ b/drivers/gpu/drm/amd/powerplay/Makefile
@@ -6,6 +6,10 @@ subdir-ccflags-y += -Iinclude/drm \
AMD_PP_PATH = ../powerplay
+PP_LIBS = smumgr
+
+AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix drivers/gpu/drm/amd/powerplay/,$(PP_LIBS)))
+
include $(AMD_POWERPLAY)
POWER_MGR = amd_powerplay.o