xref: /linux/drivers/gpu/drm/amd/display/dc/mpc/Makefile (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
12d62bb45SMounika Adhuri#
22d62bb45SMounika Adhuri# Copyright 2020 Advanced Micro Devices, Inc.
32d62bb45SMounika Adhuri#
42d62bb45SMounika Adhuri# Permission is hereby granted, free of charge, to any person obtaining a
52d62bb45SMounika Adhuri# copy of this software and associated documentation files (the "Software"),
62d62bb45SMounika Adhuri# to deal in the Software without restriction, including without limitation
72d62bb45SMounika Adhuri# the rights to use, copy, modify, merge, publish, distribute, sublicense,
82d62bb45SMounika Adhuri# and/or sell copies of the Software, and to permit persons to whom the
92d62bb45SMounika Adhuri# Software is furnished to do so, subject to the following conditions:
102d62bb45SMounika Adhuri#
112d62bb45SMounika Adhuri# The above copyright notice and this permission notice shall be included in
122d62bb45SMounika Adhuri# all copies or substantial portions of the Software.
132d62bb45SMounika Adhuri#
142d62bb45SMounika Adhuri# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
152d62bb45SMounika Adhuri# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
162d62bb45SMounika Adhuri# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
172d62bb45SMounika Adhuri# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
182d62bb45SMounika Adhuri# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
192d62bb45SMounika Adhuri# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
202d62bb45SMounika Adhuri# OTHER DEALINGS IN THE SOFTWARE.
212d62bb45SMounika Adhuri#
222d62bb45SMounika Adhuri# Authors: AMD
232d62bb45SMounika Adhuri#
242d62bb45SMounika Adhuri#
252d62bb45SMounika Adhuri
262d62bb45SMounika Adhuriifdef CONFIG_DRM_AMD_DC_FP
272d62bb45SMounika Adhuri###############################################################################
28*5ed9481dSMounika Adhuri# DCN10
29*5ed9481dSMounika Adhuri###############################################################################
30*5ed9481dSMounika AdhuriMPC_DCN10 = dcn10_mpc.o
31*5ed9481dSMounika Adhuri
32*5ed9481dSMounika AdhuriAMD_DAL_MPC_DCN10 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn10/,$(MPC_DCN10))
33*5ed9481dSMounika Adhuri
34*5ed9481dSMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN10)
35*5ed9481dSMounika Adhuri
36*5ed9481dSMounika Adhuri###############################################################################
37*5ed9481dSMounika Adhuri# DCN20
38*5ed9481dSMounika Adhuri###############################################################################
39*5ed9481dSMounika AdhuriMPC_DCN20 = dcn20_mpc.o
40*5ed9481dSMounika Adhuri
41*5ed9481dSMounika AdhuriAMD_DAL_MPC_DCN20 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn20/,$(MPC_DCN20))
42*5ed9481dSMounika Adhuri
43*5ed9481dSMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN20)
44*5ed9481dSMounika Adhuri
45*5ed9481dSMounika Adhuri###############################################################################
46*5ed9481dSMounika Adhuri# DCN30
47*5ed9481dSMounika Adhuri###############################################################################
48*5ed9481dSMounika AdhuriMPC_DCN30 = dcn30_mpc.o
49*5ed9481dSMounika Adhuri
50*5ed9481dSMounika AdhuriAMD_DAL_MPC_DCN30 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn30/,$(MPC_DCN30))
51*5ed9481dSMounika Adhuri
52*5ed9481dSMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN30)
53*5ed9481dSMounika Adhuri
54*5ed9481dSMounika Adhuri###############################################################################
552d62bb45SMounika Adhuri# DCN32
562d62bb45SMounika Adhuri###############################################################################
572d62bb45SMounika AdhuriMPC_DCN32 = dcn32_mpc.o
582d62bb45SMounika Adhuri
592d62bb45SMounika AdhuriAMD_DAL_MPC_DCN32 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn32/,$(MPC_DCN32))
602d62bb45SMounika Adhuri
612d62bb45SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN32)
622d62bb45SMounika Adhuri
632d62bb45SMounika Adhuri###############################################################################
642d62bb45SMounika Adhuri# DCN401
652d62bb45SMounika Adhuri###############################################################################
662d62bb45SMounika AdhuriMPC_DCN401 = dcn401_mpc.o
672d62bb45SMounika Adhuri
682d62bb45SMounika AdhuriAMD_DAL_MPC_DCN401 = $(addprefix $(AMDDALPATH)/dc/mpc/dcn401/,$(MPC_DCN401))
692d62bb45SMounika Adhuri
702d62bb45SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_MPC_DCN401)
712d62bb45SMounika Adhuri
722d62bb45SMounika Adhuriendif
73