xref: /linux/drivers/gpu/drm/amd/display/dc/dpp/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
188867807SRevalla Hari Krishna
288867807SRevalla Hari Krishna# Copyright 2022 Advanced Micro Devices, Inc.
388867807SRevalla Hari Krishna#
488867807SRevalla Hari Krishna# Permission is hereby granted, free of charge, to any person obtaining a
588867807SRevalla Hari Krishna# copy of this software and associated documentation files (the "Software"),
688867807SRevalla Hari Krishna# to deal in the Software without restriction, including without limitation
788867807SRevalla Hari Krishna# the rights to use, copy, modify, merge, publish, distribute, sublicense,
888867807SRevalla Hari Krishna# and/or sell copies of the Software, and to permit persons to whom the
988867807SRevalla Hari Krishna# Software is furnished to do so, subject to the following conditions:
1088867807SRevalla Hari Krishna#
1188867807SRevalla Hari Krishna# The above copyright notice and this permission notice shall be included in
1288867807SRevalla Hari Krishna# all copies or substantial portions of the Software.
1388867807SRevalla Hari Krishna#
1488867807SRevalla Hari Krishna# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1588867807SRevalla Hari Krishna# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1688867807SRevalla Hari Krishna# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1788867807SRevalla Hari Krishna# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
1888867807SRevalla Hari Krishna# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1988867807SRevalla Hari Krishna# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2088867807SRevalla Hari Krishna# OTHER DEALINGS IN THE SOFTWARE.
2188867807SRevalla Hari Krishna#
2288867807SRevalla Hari Krishna# Makefile for the 'dpp' sub-component of DAL.
2388867807SRevalla Hari Krishna#
2488867807SRevalla Hari Krishnaifdef CONFIG_DRM_AMD_DC_FP
2588867807SRevalla Hari Krishna###############################################################################
2688867807SRevalla Hari Krishna# DCN
2788867807SRevalla Hari Krishna###############################################################################
2888867807SRevalla Hari Krishna
2988867807SRevalla Hari KrishnaDPP_DCN10 = dcn10_dpp.o dcn10_dpp_dscl.o dcn10_dpp_cm.o
3088867807SRevalla Hari Krishna
3188867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN10 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn10/,$(DPP_DCN10))
3288867807SRevalla Hari Krishna
3388867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN10)
3488867807SRevalla Hari Krishna
3588867807SRevalla Hari Krishna###############################################################################
3688867807SRevalla Hari Krishna
3788867807SRevalla Hari KrishnaDPP_DCN20 = dcn20_dpp.o dcn20_dpp_cm.o
3888867807SRevalla Hari Krishna
3988867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN20 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn20/,$(DPP_DCN20))
4088867807SRevalla Hari Krishna
4188867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN20)
4288867807SRevalla Hari Krishna
4388867807SRevalla Hari Krishna###############################################################################
4488867807SRevalla Hari Krishna
4588867807SRevalla Hari KrishnaDPP_DCN201 = dcn201_dpp.o
4688867807SRevalla Hari Krishna
4788867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN201 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn201/,$(DPP_DCN201))
4888867807SRevalla Hari Krishna
4988867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN201)
5088867807SRevalla Hari Krishna
5188867807SRevalla Hari Krishna###############################################################################
5288867807SRevalla Hari Krishna
5388867807SRevalla Hari KrishnaDPP_DCN30 = dcn30_dpp.o dcn30_dpp_cm.o
5488867807SRevalla Hari Krishna
5588867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN30 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn30/,$(DPP_DCN30))
5688867807SRevalla Hari Krishna
5788867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN30)
5888867807SRevalla Hari Krishna
5988867807SRevalla Hari Krishna###############################################################################
6088867807SRevalla Hari Krishna
6188867807SRevalla Hari KrishnaDPP_DCN32 = dcn32_dpp.o
6288867807SRevalla Hari Krishna
6388867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN32 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn32/,$(DPP_DCN32))
6488867807SRevalla Hari Krishna
6588867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN32)
6688867807SRevalla Hari Krishna
6788867807SRevalla Hari Krishna###############################################################################
6888867807SRevalla Hari Krishna
6988867807SRevalla Hari KrishnaDPP_DCN35 = dcn35_dpp.o
7088867807SRevalla Hari Krishna
7188867807SRevalla Hari KrishnaAMD_DAL_DPP_DCN35 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn35/,$(DPP_DCN35))
7288867807SRevalla Hari Krishna
7388867807SRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN35)
7488867807SRevalla Hari Krishna
7588867807SRevalla Hari Krishna###############################################################################
7688867807SRevalla Hari Krishna
77*00c39110SAurabindo PillaiDPP_DCN401 = dcn401_dpp.o dcn401_dpp_cm.o dcn401_dpp_dscl.o
78*00c39110SAurabindo Pillai
79*00c39110SAurabindo PillaiAMD_DAL_DPP_DCN401 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn401/,$(DPP_DCN401))
80*00c39110SAurabindo Pillai
81*00c39110SAurabindo PillaiAMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN401)
82*00c39110SAurabindo Pillai
8388867807SRevalla Hari Krishnaendif
84