xref: /linux/drivers/gpu/drm/amd/display/dc/hpo/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*6fa4bf3dSRevalla Hari Krishna# DCN30
29*6fa4bf3dSRevalla Hari Krishna###############################################################################
30*6fa4bf3dSRevalla Hari Krishna
31*6fa4bf3dSRevalla Hari KrishnaAMD_DAL_HPO_DCN30 = $(addprefix $(AMDDALPATH)/dc/hpo/dcn30/,$(HPO_DCN30))
32*6fa4bf3dSRevalla Hari Krishna
33*6fa4bf3dSRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_HPO_DCN30)
34*6fa4bf3dSRevalla Hari Krishna###############################################################################
35*6fa4bf3dSRevalla Hari Krishna# DCN31
36*6fa4bf3dSRevalla Hari Krishna###############################################################################
37*6fa4bf3dSRevalla Hari KrishnaHPO_DCN31 = dcn31_hpo_dp_stream_encoder.o dcn31_hpo_dp_link_encoder.o
38*6fa4bf3dSRevalla Hari Krishna
39*6fa4bf3dSRevalla Hari KrishnaAMD_DAL_HPO_DCN31 = $(addprefix $(AMDDALPATH)/dc/hpo/dcn31/,$(HPO_DCN31))
40*6fa4bf3dSRevalla Hari Krishna
41*6fa4bf3dSRevalla Hari KrishnaAMD_DISPLAY_FILES += $(AMD_DAL_HPO_DCN31)
42*6fa4bf3dSRevalla Hari Krishna###############################################################################
432d62bb45SMounika Adhuri# DCN32
442d62bb45SMounika Adhuri###############################################################################
452d62bb45SMounika AdhuriHPO_DCN32 = dcn32_hpo_dp_link_encoder.o
462d62bb45SMounika Adhuri
472d62bb45SMounika AdhuriAMD_DAL_HPO_DCN32 = $(addprefix $(AMDDALPATH)/dc/hpo/dcn32/,$(HPO_DCN32))
482d62bb45SMounika Adhuri
492d62bb45SMounika AdhuriAMD_DISPLAY_FILES += $(AMD_DAL_HPO_DCN32)
502d62bb45SMounika Adhuriendif
51