xref: /linux/drivers/gpu/drm/amd/display/dc/resource/Makefile (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
18b8eed05SMounika Adhuri
28b8eed05SMounika Adhuri# Copyright 2022 Advanced Micro Devices, Inc.
38b8eed05SMounika Adhuri#
48b8eed05SMounika Adhuri# Permission is hereby granted, free of charge, to any person obtaining a
58b8eed05SMounika Adhuri# copy of this software and associated documentation files (the "Software"),
68b8eed05SMounika Adhuri# to deal in the Software without restriction, including without limitation
78b8eed05SMounika Adhuri# the rights to use, copy, modify, merge, publish, distribute, sublicense,
88b8eed05SMounika Adhuri# and/or sell copies of the Software, and to permit persons to whom the
98b8eed05SMounika Adhuri# Software is furnished to do so, subject to the following conditions:
108b8eed05SMounika Adhuri#
118b8eed05SMounika Adhuri# The above copyright notice and this permission notice shall be included in
128b8eed05SMounika Adhuri# all copies or substantial portions of the Software.
138b8eed05SMounika Adhuri#
148b8eed05SMounika Adhuri# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
158b8eed05SMounika Adhuri# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168b8eed05SMounika Adhuri# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
178b8eed05SMounika Adhuri# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
188b8eed05SMounika Adhuri# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
198b8eed05SMounika Adhuri# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
208b8eed05SMounika Adhuri# OTHER DEALINGS IN THE SOFTWARE.
218b8eed05SMounika Adhuri#
228b8eed05SMounika Adhuri# Makefile for the 'resource' sub-component of DAL.
238b8eed05SMounika Adhuri#
248b8eed05SMounika Adhuri
258b8eed05SMounika Adhuri
268b8eed05SMounika Adhuri###############################################################################
278b8eed05SMounika Adhuri#  DCE
288b8eed05SMounika Adhuri###############################################################################
298b8eed05SMounika Adhuri
308b8eed05SMounika AdhuriRESOURCE_DCE100 = dce100_resource.o
318b8eed05SMounika Adhuri
328b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCE100 = $(addprefix $(AMDDALPATH)/dc/resource/dce100/,$(RESOURCE_DCE100))
338b8eed05SMounika Adhuri
348b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE100)
358b8eed05SMounika Adhuri
368b8eed05SMounika Adhuri###############################################################################
378b8eed05SMounika Adhuri
388b8eed05SMounika AdhuriRESOURCE_DCE110 = dce110_resource.o
398b8eed05SMounika Adhuri
408b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCE110 = $(addprefix $(AMDDALPATH)/dc/resource/dce110/,$(RESOURCE_DCE110))
418b8eed05SMounika Adhuri
428b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE110)
438b8eed05SMounika Adhuri
448b8eed05SMounika Adhuri###############################################################################
458b8eed05SMounika Adhuri
468b8eed05SMounika AdhuriRESOURCE_DCE112 = dce112_resource.o
478b8eed05SMounika Adhuri
488b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCE112 = $(addprefix $(AMDDALPATH)/dc/resource/dce112/,$(RESOURCE_DCE112))
498b8eed05SMounika Adhuri
508b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE112)
518b8eed05SMounika Adhuri
528b8eed05SMounika Adhuri###############################################################################
538b8eed05SMounika Adhuri
548b8eed05SMounika AdhuriRESOURCE_DCE120 = dce120_resource.o
558b8eed05SMounika Adhuri
568b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCE120 = $(addprefix $(AMDDALPATH)/dc/resource/dce120/,$(RESOURCE_DCE120))
578b8eed05SMounika Adhuri
588b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE120)
598b8eed05SMounika Adhuri
608b8eed05SMounika Adhuri###############################################################################
618b8eed05SMounika Adhuri
628b8eed05SMounika AdhuriRESOURCE_DCE80 = dce80_resource.o
638b8eed05SMounika Adhuri
648b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCE80 = $(addprefix $(AMDDALPATH)/dc/resource/dce80/,$(RESOURCE_DCE80))
658b8eed05SMounika Adhuri
668b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE80)
678b8eed05SMounika Adhuri
688b8eed05SMounika Adhuriifdef CONFIG_DRM_AMD_DC_FP
698b8eed05SMounika Adhuri###############################################################################
708b8eed05SMounika Adhuri# DCN
718b8eed05SMounika Adhuri###############################################################################
728b8eed05SMounika Adhuri
738b8eed05SMounika AdhuriRESOURCE_DCN10 = dcn10_resource.o
748b8eed05SMounika Adhuri
758b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN10 = $(addprefix $(AMDDALPATH)/dc/resource/dcn10/,$(RESOURCE_DCN10))
768b8eed05SMounika Adhuri
778b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN10)
788b8eed05SMounika Adhuri
798b8eed05SMounika Adhuri###############################################################################
808b8eed05SMounika Adhuri
818b8eed05SMounika AdhuriRESOURCE_DCN20 = dcn20_resource.o
828b8eed05SMounika Adhuri
838b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN20 = $(addprefix $(AMDDALPATH)/dc/resource/dcn20/,$(RESOURCE_DCN20))
848b8eed05SMounika Adhuri
858b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN20)
868b8eed05SMounika Adhuri
878b8eed05SMounika Adhuri###############################################################################
888b8eed05SMounika Adhuri
898b8eed05SMounika AdhuriRESOURCE_DCN201 = dcn201_resource.o
908b8eed05SMounika Adhuri
918b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN201 = $(addprefix $(AMDDALPATH)/dc/resource/dcn201/,$(RESOURCE_DCN201))
928b8eed05SMounika Adhuri
938b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN201)
948b8eed05SMounika Adhuri
958b8eed05SMounika Adhuri###############################################################################
968b8eed05SMounika Adhuri
978b8eed05SMounika AdhuriRESOURCE_DCN21 = dcn21_resource.o
988b8eed05SMounika Adhuri
998b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN21 = $(addprefix $(AMDDALPATH)/dc/resource/dcn21/,$(RESOURCE_DCN21))
1008b8eed05SMounika Adhuri
1018b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN21)
1028b8eed05SMounika Adhuri
1038b8eed05SMounika Adhuri###############################################################################
1048b8eed05SMounika Adhuri
1058b8eed05SMounika AdhuriRESOURCE_DCN30 = dcn30_resource.o
1068b8eed05SMounika Adhuri
1078b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN30 = $(addprefix $(AMDDALPATH)/dc/resource/dcn30/,$(RESOURCE_DCN30))
1088b8eed05SMounika Adhuri
1098b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN30)
1108b8eed05SMounika Adhuri
1118b8eed05SMounika Adhuri###############################################################################
1128b8eed05SMounika Adhuri
1138b8eed05SMounika AdhuriRESOURCE_DCN301 = dcn301_resource.o
1148b8eed05SMounika Adhuri
1158b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN301 = $(addprefix $(AMDDALPATH)/dc/resource/dcn301/,$(RESOURCE_DCN301))
1168b8eed05SMounika Adhuri
1178b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN301)
1188b8eed05SMounika Adhuri
1198b8eed05SMounika Adhuri###############################################################################
1208b8eed05SMounika Adhuri
1218b8eed05SMounika AdhuriRESOURCE_DCN302 = dcn302_resource.o
1228b8eed05SMounika Adhuri
1238b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN302 = $(addprefix $(AMDDALPATH)/dc/resource/dcn302/,$(RESOURCE_DCN302))
1248b8eed05SMounika Adhuri
1258b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN302)
1268b8eed05SMounika Adhuri
1278b8eed05SMounika Adhuri###############################################################################
1288b8eed05SMounika Adhuri
1298b8eed05SMounika AdhuriRESOURCE_DCN303 = dcn303_resource.o
1308b8eed05SMounika Adhuri
1318b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN303 = $(addprefix $(AMDDALPATH)/dc/resource/dcn303/,$(RESOURCE_DCN303))
1328b8eed05SMounika Adhuri
1338b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN303)
1348b8eed05SMounika Adhuri
1358b8eed05SMounika Adhuri###############################################################################
1368b8eed05SMounika Adhuri
1378b8eed05SMounika AdhuriRESOURCE_DCN31 = dcn31_resource.o
1388b8eed05SMounika Adhuri
1398b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN31 = $(addprefix $(AMDDALPATH)/dc/resource/dcn31/,$(RESOURCE_DCN31))
1408b8eed05SMounika Adhuri
1418b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN31)
1428b8eed05SMounika Adhuri
1438b8eed05SMounika Adhuri###############################################################################
1448b8eed05SMounika Adhuri
1458b8eed05SMounika AdhuriRESOURCE_DCN314 = dcn314_resource.o
1468b8eed05SMounika Adhuri
1478b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN314 = $(addprefix $(AMDDALPATH)/dc/resource/dcn314/,$(RESOURCE_DCN314))
1488b8eed05SMounika Adhuri
1498b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN314)
1508b8eed05SMounika Adhuri
1518b8eed05SMounika Adhuri###############################################################################
1528b8eed05SMounika Adhuri
1538b8eed05SMounika AdhuriRESOURCE_DCN315 = dcn315_resource.o
1548b8eed05SMounika Adhuri
1558b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN315 = $(addprefix $(AMDDALPATH)/dc/resource/dcn315/,$(RESOURCE_DCN315))
1568b8eed05SMounika Adhuri
1578b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN315)
1588b8eed05SMounika Adhuri
1598b8eed05SMounika Adhuri###############################################################################
1608b8eed05SMounika Adhuri
1618b8eed05SMounika AdhuriRESOURCE_DCN316 = dcn316_resource.o
1628b8eed05SMounika Adhuri
1638b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN316 = $(addprefix $(AMDDALPATH)/dc/resource/dcn316/,$(RESOURCE_DCN316))
1648b8eed05SMounika Adhuri
1658b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN316)
1668b8eed05SMounika Adhuri
1678b8eed05SMounika Adhuri###############################################################################
1688b8eed05SMounika Adhuri
169*2d62bb45SMounika AdhuriRESOURCE_DCN32 = dcn32_resource.o dcn32_resource_helpers.o
1708b8eed05SMounika Adhuri
1718b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN32 = $(addprefix $(AMDDALPATH)/dc/resource/dcn32/,$(RESOURCE_DCN32))
1728b8eed05SMounika Adhuri
1738b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN32)
1748b8eed05SMounika Adhuri
1758b8eed05SMounika Adhuri###############################################################################
1768b8eed05SMounika Adhuri
1778b8eed05SMounika AdhuriRESOURCE_DCN321 = dcn321_resource.o
1788b8eed05SMounika Adhuri
1798b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN321 = $(addprefix $(AMDDALPATH)/dc/resource/dcn321/,$(RESOURCE_DCN321))
1808b8eed05SMounika Adhuri
1818b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN321)
1828b8eed05SMounika Adhuri
1838b8eed05SMounika Adhuri###############################################################################
1848b8eed05SMounika Adhuri
1858b8eed05SMounika AdhuriRESOURCE_DCN35 = dcn35_resource.o
1868b8eed05SMounika Adhuri
1878b8eed05SMounika AdhuriAMD_DAL_RESOURCE_DCN35 = $(addprefix $(AMDDALPATH)/dc/resource/dcn35/,$(RESOURCE_DCN35))
1888b8eed05SMounika Adhuri
1898b8eed05SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN35)
1908b8eed05SMounika Adhuri
1918b8eed05SMounika Adhuri###############################################################################
1928b8eed05SMounika Adhuri
1932728e9c7SHamza MahfoozRESOURCE_DCN351 = dcn351_resource.o
1942728e9c7SHamza Mahfooz
1952728e9c7SHamza MahfoozAMD_DAL_RESOURCE_DCN351 = $(addprefix $(AMDDALPATH)/dc/resource/dcn351/,$(RESOURCE_DCN351))
1962728e9c7SHamza Mahfooz
1972728e9c7SHamza MahfoozAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN351)
1982728e9c7SHamza Mahfooz
1992728e9c7SHamza Mahfooz###############################################################################
2002728e9c7SHamza Mahfooz
20100c39110SAurabindo PillaiRESOURCE_DCN401 = dcn401_resource.o
20200c39110SAurabindo Pillai
20300c39110SAurabindo PillaiAMD_DAL_RESOURCE_DCN401 = $(addprefix $(AMDDALPATH)/dc/resource/dcn401/,$(RESOURCE_DCN401))
20400c39110SAurabindo Pillai
20500c39110SAurabindo PillaiAMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCN401)
20600c39110SAurabindo Pillai
2078b8eed05SMounika Adhuriendif
208