xref: /linux/drivers/gpu/drm/amd/display/dc/dccg/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
10a8d2528SRevalla Hari Krishna
20a8d2528SRevalla Hari Krishna# Copyright 2022 Advanced Micro Devices, Inc.
30a8d2528SRevalla Hari Krishna#
40a8d2528SRevalla Hari Krishna# Permission is hereby granted, free of charge, to any person obtaining a
50a8d2528SRevalla Hari Krishna# copy of this software and associated documentation files (the "Software"),
60a8d2528SRevalla Hari Krishna# to deal in the Software without restriction, including without limitation
70a8d2528SRevalla Hari Krishna# the rights to use, copy, modify, merge, publish, distribute, sublicense,
80a8d2528SRevalla Hari Krishna# and/or sell copies of the Software, and to permit persons to whom the
90a8d2528SRevalla Hari Krishna# Software is furnished to do so, subject to the following conditions:
100a8d2528SRevalla Hari Krishna#
110a8d2528SRevalla Hari Krishna# The above copyright notice and this permission notice shall be included in
120a8d2528SRevalla Hari Krishna# all copies or substantial portions of the Software.
130a8d2528SRevalla Hari Krishna#
140a8d2528SRevalla Hari Krishna# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
150a8d2528SRevalla Hari Krishna# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
160a8d2528SRevalla Hari Krishna# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
170a8d2528SRevalla Hari Krishna# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
180a8d2528SRevalla Hari Krishna# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
190a8d2528SRevalla Hari Krishna# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
200a8d2528SRevalla Hari Krishna# OTHER DEALINGS IN THE SOFTWARE.
210a8d2528SRevalla Hari Krishna#
220a8d2528SRevalla Hari Krishna# Makefile for the 'dccg' sub-component of DAL.
230a8d2528SRevalla Hari Krishna#
240a8d2528SRevalla Hari Krishnaifdef CONFIG_DRM_AMD_DC_FP
250a8d2528SRevalla Hari Krishna###############################################################################
260a8d2528SRevalla Hari Krishna# DCN
270a8d2528SRevalla Hari Krishna###############################################################################
280a8d2528SRevalla Hari Krishna
290a8d2528SRevalla Hari KrishnaDCCG_DCN20 = dcn20_dccg.o
300a8d2528SRevalla Hari Krishna
310a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN20 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn20/,$(DCCG_DCN20))
320a8d2528SRevalla Hari Krishna
330a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN20)
340a8d2528SRevalla Hari Krishna
350a8d2528SRevalla Hari Krishna###############################################################################
360a8d2528SRevalla Hari Krishna
370a8d2528SRevalla Hari KrishnaDCCG_DCN201 = dcn201_dccg.o
380a8d2528SRevalla Hari Krishna
390a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN201 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn201/,$(DCCG_DCN201))
400a8d2528SRevalla Hari Krishna
410a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN201)
420a8d2528SRevalla Hari Krishna
430a8d2528SRevalla Hari Krishna###############################################################################
440a8d2528SRevalla Hari Krishna
450a8d2528SRevalla Hari KrishnaDCCG_DCN21 = dcn21_dccg.o
460a8d2528SRevalla Hari Krishna
470a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN21 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn21/,$(DCCG_DCN21))
480a8d2528SRevalla Hari Krishna
490a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN21)
500a8d2528SRevalla Hari Krishna
510a8d2528SRevalla Hari Krishna###############################################################################
520a8d2528SRevalla Hari KrishnaDCCG_DCN30 = dcn30_dccg.o
530a8d2528SRevalla Hari Krishna
540a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN30 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn30/,$(DCCG_DCN30))
550a8d2528SRevalla Hari Krishna
560a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN30)
570a8d2528SRevalla Hari Krishna
580a8d2528SRevalla Hari Krishna###############################################################################
590a8d2528SRevalla Hari KrishnaDCCG_DCN301 = dcn301_dccg.o
600a8d2528SRevalla Hari Krishna
610a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN301 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn301/,$(DCCG_DCN301))
620a8d2528SRevalla Hari Krishna
630a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN301)
640a8d2528SRevalla Hari Krishna
650a8d2528SRevalla Hari Krishna###############################################################################
660a8d2528SRevalla Hari Krishna
670a8d2528SRevalla Hari KrishnaDCCG_DCN31 = dcn31_dccg.o
680a8d2528SRevalla Hari Krishna
690a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN31 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn31/,$(DCCG_DCN31))
700a8d2528SRevalla Hari Krishna
710a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN31)
720a8d2528SRevalla Hari Krishna
730a8d2528SRevalla Hari Krishna###############################################################################
740a8d2528SRevalla Hari Krishna
750a8d2528SRevalla Hari KrishnaDCCG_DCN314 = dcn314_dccg.o
760a8d2528SRevalla Hari Krishna
770a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN314 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn314/,$(DCCG_DCN314))
780a8d2528SRevalla Hari Krishna
790a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN314)
800a8d2528SRevalla Hari Krishna
810a8d2528SRevalla Hari Krishna###############################################################################
820a8d2528SRevalla Hari Krishna
830a8d2528SRevalla Hari KrishnaDCCG_DCN32 = dcn32_dccg.o
840a8d2528SRevalla Hari Krishna
850a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN32 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn32/,$(DCCG_DCN32))
860a8d2528SRevalla Hari Krishna
870a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN32)
880a8d2528SRevalla Hari Krishna
890a8d2528SRevalla Hari Krishna###############################################################################
900a8d2528SRevalla Hari Krishna
910a8d2528SRevalla Hari KrishnaDCCG_DCN35 = dcn35_dccg.o
920a8d2528SRevalla Hari Krishna
930a8d2528SRevalla Hari KrishnaAMD_DAL_DCCG_DCN35 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn35/,$(DCCG_DCN35))
940a8d2528SRevalla Hari Krishna
950a8d2528SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN35)
960a8d2528SRevalla Hari Krishna
970a8d2528SRevalla Hari Krishna###############################################################################
98*30c646afSRevalla Hari KrishnaDCCG_DCN401 = dcn401_dccg.o
99*30c646afSRevalla Hari Krishna
100*30c646afSRevalla Hari KrishnaAMD_DAL_DCCG_DCN401 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn401/,$(DCCG_DCN401))
101*30c646afSRevalla Hari Krishna
102*30c646afSRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN401)
1030a8d2528SRevalla Hari Krishnaendif
104