1 2# Copyright 2022 Advanced Micro Devices, Inc. 3# 4# Permission is hereby granted, free of charge, to any person obtaining a 5# copy of this software and associated documentation files (the "Software"), 6# to deal in the Software without restriction, including without limitation 7# the rights to use, copy, modify, merge, publish, distribute, sublicense, 8# and/or sell copies of the Software, and to permit persons to whom the 9# Software is furnished to do so, subject to the following conditions: 10# 11# The above copyright notice and this permission notice shall be included in 12# all copies or substantial portions of the Software. 13# 14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20# OTHER DEALINGS IN THE SOFTWARE. 21# 22# Makefile for the 'dccg' sub-component of DAL. 23# 24ifdef CONFIG_DRM_AMD_DC_FP 25############################################################################### 26# DCN 27############################################################################### 28 29DCCG_DCN20 = dcn20_dccg.o 30 31AMD_DAL_DCCG_DCN20 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn20/,$(DCCG_DCN20)) 32 33AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN20) 34 35############################################################################### 36 37DCCG_DCN201 = dcn201_dccg.o 38 39AMD_DAL_DCCG_DCN201 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn201/,$(DCCG_DCN201)) 40 41AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN201) 42 43############################################################################### 44 45DCCG_DCN21 = dcn21_dccg.o 46 47AMD_DAL_DCCG_DCN21 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn21/,$(DCCG_DCN21)) 48 49AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN21) 50 51############################################################################### 52DCCG_DCN30 = dcn30_dccg.o 53 54AMD_DAL_DCCG_DCN30 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn30/,$(DCCG_DCN30)) 55 56AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN30) 57 58############################################################################### 59DCCG_DCN301 = dcn301_dccg.o 60 61AMD_DAL_DCCG_DCN301 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn301/,$(DCCG_DCN301)) 62 63AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN301) 64 65############################################################################### 66 67DCCG_DCN31 = dcn31_dccg.o 68 69AMD_DAL_DCCG_DCN31 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn31/,$(DCCG_DCN31)) 70 71AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN31) 72 73############################################################################### 74 75DCCG_DCN314 = dcn314_dccg.o 76 77AMD_DAL_DCCG_DCN314 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn314/,$(DCCG_DCN314)) 78 79AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN314) 80 81############################################################################### 82 83DCCG_DCN32 = dcn32_dccg.o 84 85AMD_DAL_DCCG_DCN32 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn32/,$(DCCG_DCN32)) 86 87AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN32) 88 89############################################################################### 90 91DCCG_DCN35 = dcn35_dccg.o 92 93AMD_DAL_DCCG_DCN35 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn35/,$(DCCG_DCN35)) 94 95AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN35) 96 97############################################################################### 98DCCG_DCN401 = dcn401_dccg.o 99 100AMD_DAL_DCCG_DCN401 = $(addprefix $(AMDDALPATH)/dc/dccg/dcn401/,$(DCCG_DCN401)) 101 102AMD_DISPLAY_FILES += $(AMD_DAL_DCCG_DCN401) 103endif 104