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 'optc' sub-component of DAL.
23#
24
25
26ifdef CONFIG_DRM_AMD_DC_FP
27###############################################################################
28# DCN
29###############################################################################
30
31OPTC_DCN10 = dcn10_optc.o
32
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.o
40
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.o
48
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.o
60
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.o
68
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.o
76
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.o
84
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.o
92
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.o
100
101AMD_DAL_OPTC_DCN35 = $(addprefix $(AMDDALPATH)/dc/optc/dcn35/,$(OPTC_DCN35))
102
103AMD_DISPLAY_FILES += $(AMD_DAL_OPTC_DCN35)
104
105###############################################################################
106
107###############################################################################
108endif
109