115 lines · plain
1 2# Copyright 2022 Advanced Micro Devices, Inc.3#4# Permission is hereby granted, free of charge, to any person obtaining a5# copy of this software and associated documentation files (the "Software"),6# to deal in the Software without restriction, including without limitation7# the rights to use, copy, modify, merge, publish, distribute, sublicense,8# and/or sell copies of the Software, and to permit persons to whom the9# Software is furnished to do so, subject to the following conditions:10#11# The above copyright notice and this permission notice shall be included in12# all copies or substantial portions of the Software.13#14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL17# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR18# 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 OR20# OTHER DEALINGS IN THE SOFTWARE.21#22# Makefile for the 'optc' sub-component of DAL.23#24 25 26ifdef CONFIG_DRM_AMD_DC_FP27###############################################################################28# DCN29###############################################################################30 31OPTC_DCN10 = dcn10_optc.o32 33AMD_DAL_OPTC_DCN10 = $(addprefix $(AMDDALPATH)/dc/optc/dcn10/,$(OPTC_DCN10))34 35AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN10)36 37###############################################################################38 39OPTC_DCN20 = dcn20_optc.o40 41AMD_DAL_OPTC_DCN20 = $(addprefix $(AMDDALPATH)/dc/optc/dcn20/,$(OPTC_DCN20))42 43AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN20)44 45###############################################################################46 47OPTC_DCN201 = dcn201_optc.o48 49AMD_DAL_OPTC_DCN201 = $(addprefix $(AMDDALPATH)/dc/optc/dcn201/,$(OPTC_DCN201))50 51AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN201)52 53###############################################################################54 55###############################################################################56 57###############################################################################58 59OPTC_DCN30 = dcn30_optc.o60 61AMD_DAL_OPTC_DCN30 = $(addprefix $(AMDDALPATH)/dc/optc/dcn30/,$(OPTC_DCN30))62 63AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN30)64 65###############################################################################66 67OPTC_DCN301 = dcn301_optc.o68 69AMD_DAL_OPTC_DCN301 = $(addprefix $(AMDDALPATH)/dc/optc/dcn301/,$(OPTC_DCN301))70 71AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN301)72 73###############################################################################74 75OPTC_DCN31 = dcn31_optc.o76 77AMD_DAL_OPTC_DCN31 = $(addprefix $(AMDDALPATH)/dc/optc/dcn31/,$(OPTC_DCN31))78 79AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN31)80 81###############################################################################82 83OPTC_DCN314 = dcn314_optc.o84 85AMD_DAL_OPTC_DCN314 = $(addprefix $(AMDDALPATH)/dc/optc/dcn314/,$(OPTC_DCN314))86 87AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN314)88 89###############################################################################90 91OPTC_DCN32 = dcn32_optc.o92 93AMD_DAL_OPTC_DCN32 = $(addprefix $(AMDDALPATH)/dc/optc/dcn32/,$(OPTC_DCN32))94 95AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN32)96 97###############################################################################98 99OPTC_DCN35 = dcn35_optc.o100 101AMD_DAL_OPTC_DCN35 = $(addprefix $(AMDDALPATH)/dc/optc/dcn35/,$(OPTC_DCN35))102 103AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN35)104 105###############################################################################106 107###############################################################################108OPTC_DCN401 = dcn401_optc.o109 110AMD_DAL_OPTC_DCN401 = $(addprefix $(AMDDALPATH)/dc/optc/dcn401/,$(OPTC_DCN401))111 112AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN401)113endif114 115