summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/Makefile
diff options
context:
space:
mode:
authorJammy Zhou2015-07-21 11:43:02 +0200
committerAlex Deucher2015-12-21 22:42:09 +0100
commitac885b3a20e60f568fe856008d038d7bd01394e2 (patch)
tree52ef71e3e2a98168348c091de6f4cb4dec50746e /drivers/gpu/drm/amd/powerplay/Makefile
parentdrm/amdgpu: export amd_powerplay_func to amdgpu and other ip block (diff)
downloadkernel-qcow2-linux-ac885b3a20e60f568fe856008d038d7bd01394e2.tar.gz
kernel-qcow2-linux-ac885b3a20e60f568fe856008d038d7bd01394e2.tar.xz
kernel-qcow2-linux-ac885b3a20e60f568fe856008d038d7bd01394e2.zip
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