Back to home page

OSCL-LXR

 
 

    


0001 #
0002 # Copyright 2017 Advanced Micro Devices, Inc.
0003 #
0004 # Permission is hereby granted, free of charge, to any person obtaining a
0005 # copy of this software and associated documentation files (the "Software"),
0006 # to deal in the Software without restriction, including without limitation
0007 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
0008 # and/or sell copies of the Software, and to permit persons to whom the
0009 # Software is furnished to do so, subject to the following conditions:
0010 #
0011 # The above copyright notice and this permission notice shall be included in
0012 # all copies or substantial portions of the Software.
0013 #
0014 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0017 # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
0018 # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0019 # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0020 # OTHER DEALINGS IN THE SOFTWARE.
0021 #
0022 #
0023 # Makefile for Display Core (dc) component.
0024 
0025 DC_LIBS = basics bios dml clk_mgr dce gpio irq link virtual
0026 
0027 ifdef CONFIG_DRM_AMD_DC_DCN
0028 
0029 KCOV_INSTRUMENT := n
0030 
0031 DC_LIBS += dcn20
0032 DC_LIBS += dsc
0033 DC_LIBS += dcn10
0034 DC_LIBS += dcn21
0035 DC_LIBS += dcn201
0036 DC_LIBS += dcn30
0037 DC_LIBS += dcn301
0038 DC_LIBS += dcn302
0039 DC_LIBS += dcn303
0040 DC_LIBS += dcn31
0041 DC_LIBS += dcn314
0042 DC_LIBS += dcn315
0043 DC_LIBS += dcn316
0044 DC_LIBS += dcn32
0045 DC_LIBS += dcn321
0046 endif
0047 
0048 DC_LIBS += dce120
0049 
0050 DC_LIBS += dce112
0051 DC_LIBS += dce110
0052 DC_LIBS += dce100
0053 DC_LIBS += dce80
0054 
0055 ifdef CONFIG_DRM_AMD_DC_SI
0056 DC_LIBS += dce60
0057 endif
0058 
0059 ifdef CONFIG_DRM_AMD_DC_HDCP
0060 DC_LIBS += hdcp
0061 endif
0062 
0063 AMD_DC = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/dc/,$(DC_LIBS)))
0064 
0065 include $(AMD_DC)
0066 
0067 DISPLAY_CORE = dc.o  dc_stat.o dc_link.o dc_resource.o dc_hw_sequencer.o dc_sink.o \
0068 dc_surface.o dc_link_dp.o dc_link_ddc.o dc_debug.o dc_stream.o \
0069 dc_link_enc_cfg.o dc_link_dpia.o dc_link_dpcd.o
0070 
0071 DISPLAY_CORE += dc_vm_helper.o
0072 
0073 AMD_DISPLAY_CORE = $(addprefix $(AMDDALPATH)/dc/core/,$(DISPLAY_CORE))
0074 
0075 AMD_DM_REG_UPDATE = $(addprefix $(AMDDALPATH)/dc/,dc_helper.o)
0076 
0077 AMD_DISPLAY_FILES += $(AMD_DISPLAY_CORE)
0078 AMD_DISPLAY_FILES += $(AMD_DM_REG_UPDATE)
0079 
0080 DC_DMUB += dc_dmub_srv.o
0081 DC_EDID += dc_edid_parser.o
0082 AMD_DISPLAY_DMUB = $(addprefix $(AMDDALPATH)/dc/,$(DC_DMUB))
0083 AMD_DISPLAY_EDID = $(addprefix $(AMDDALPATH)/dc/,$(DC_EDID))
0084 AMD_DISPLAY_FILES += $(AMD_DISPLAY_DMUB) $(AMD_DISPLAY_EDID)