forked from Minki/linux
c82baa2818
This implements DPM for tonga. DPM handles dynamic clock and voltage scaling. v2: merge all the patches related with tonga dpm v3: merge dpm force level fix, cgs display fix, spelling fix Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Signed-off-by: yanyang1 <young.yang@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
23 lines
595 B
Makefile
23 lines
595 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 \
|
|
-Idrivers/gpu/drm/amd/powerplay/smumgr\
|
|
-Idrivers/gpu/drm/amd/powerplay/hwmgr \
|
|
-Idrivers/gpu/drm/amd/powerplay/eventmgr
|
|
|
|
AMD_PP_PATH = ../powerplay
|
|
|
|
PP_LIBS = smumgr hwmgr eventmgr
|
|
|
|
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)
|