xref: /linux/drivers/gpu/drm/amd/pm/swsmu/smu14/Makefile (revision db5d28c0bfe566908719bec8e25443aabecbb802)
1fe6cd915SKenneth Feng#
2fe6cd915SKenneth Feng# Copyright 2023 Advanced Micro Devices, Inc.
3fe6cd915SKenneth Feng#
4fe6cd915SKenneth Feng# Permission is hereby granted, free of charge, to any person obtaining a
5fe6cd915SKenneth Feng# copy of this software and associated documentation files (the "Software"),
6fe6cd915SKenneth Feng# to deal in the Software without restriction, including without limitation
7fe6cd915SKenneth Feng# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8fe6cd915SKenneth Feng# and/or sell copies of the Software, and to permit persons to whom the
9fe6cd915SKenneth Feng# Software is furnished to do so, subject to the following conditions:
10fe6cd915SKenneth Feng#
11fe6cd915SKenneth Feng# The above copyright notice and this permission notice shall be included in
12fe6cd915SKenneth Feng# all copies or substantial portions of the Software.
13fe6cd915SKenneth Feng#
14fe6cd915SKenneth Feng# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15fe6cd915SKenneth Feng# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16fe6cd915SKenneth Feng# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17fe6cd915SKenneth Feng# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18fe6cd915SKenneth Feng# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19fe6cd915SKenneth Feng# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20fe6cd915SKenneth Feng# OTHER DEALINGS IN THE SOFTWARE.
21fe6cd915SKenneth Feng#
22fe6cd915SKenneth Feng#
23fe6cd915SKenneth Feng# Makefile for the 'smu manager' sub-component of powerplay.
24fe6cd915SKenneth Feng# It provides the smu management services for the driver.
25fe6cd915SKenneth Feng
26*3e55845cSLikun GaoSMU14_MGR = smu_v14_0.o smu_v14_0_0_ppt.o smu_v14_0_2_ppt.o
27fe6cd915SKenneth Feng
28fe6cd915SKenneth FengAMD_SWSMU_SMU14MGR = $(addprefix $(AMD_SWSMU_PATH)/smu14/,$(SMU14_MGR))
29fe6cd915SKenneth Feng
30fe6cd915SKenneth FengAMD_POWERPLAY_FILES += $(AMD_SWSMU_SMU14MGR)
31