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>
20 lines
450 B
Makefile
20 lines
450 B
Makefile
|
|
subdir-ccflags-y += -Iinclude/drm \
|
|
-Idrivers/gpu/drm/amd/powerplay/inc/ \
|
|
-Idrivers/gpu/drm/amd/include/asic_reg \
|
|
-Idrivers/gpu/drm/amd/include
|
|
|
|
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
|
|
|
|
AMD_PP_POWER = $(addprefix $(AMD_PP_PATH)/,$(POWER_MGR))
|
|
|
|
AMD_POWERPLAY_FILES += $(AMD_PP_POWER)
|