Home | History | Annotate | Line # | Download | only in dc
      1  1.1  riastrad #
      2  1.1  riastrad # Copyright 2017 Advanced Micro Devices, Inc.
      3  1.1  riastrad #
      4  1.1  riastrad # Permission is hereby granted, free of charge, to any person obtaining a
      5  1.1  riastrad # copy of this software and associated documentation files (the "Software"),
      6  1.1  riastrad # to deal in the Software without restriction, including without limitation
      7  1.1  riastrad # the rights to use, copy, modify, merge, publish, distribute, sublicense,
      8  1.1  riastrad # and/or sell copies of the Software, and to permit persons to whom the
      9  1.1  riastrad # Software is furnished to do so, subject to the following conditions:
     10  1.1  riastrad #
     11  1.1  riastrad # The above copyright notice and this permission notice shall be included in
     12  1.1  riastrad # all copies or substantial portions of the Software.
     13  1.1  riastrad #
     14  1.1  riastrad # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     15  1.1  riastrad # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     16  1.1  riastrad # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
     17  1.1  riastrad # THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
     18  1.1  riastrad # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     19  1.1  riastrad # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     20  1.1  riastrad # OTHER DEALINGS IN THE SOFTWARE.
     21  1.1  riastrad #
     22  1.1  riastrad #
     23  1.1  riastrad # Makefile for Display Core (dc) component.
     24  1.1  riastrad #
     25  1.1  riastrad 
     26  1.1  riastrad DC_LIBS = basics bios calcs clk_mgr dce gpio irq virtual
     27  1.1  riastrad 
     28  1.1  riastrad ifdef CONFIG_DRM_AMD_DC_DCN
     29  1.1  riastrad DC_LIBS += dcn20
     30  1.1  riastrad DC_LIBS += dsc
     31  1.1  riastrad DC_LIBS += dcn10 dml
     32  1.1  riastrad DC_LIBS += dcn21
     33  1.1  riastrad endif
     34  1.1  riastrad 
     35  1.1  riastrad DC_LIBS += dce120
     36  1.1  riastrad 
     37  1.1  riastrad DC_LIBS += dce112
     38  1.1  riastrad DC_LIBS += dce110
     39  1.1  riastrad DC_LIBS += dce100
     40  1.1  riastrad DC_LIBS += dce80
     41  1.1  riastrad 
     42  1.1  riastrad ifdef CONFIG_DRM_AMD_DC_HDCP
     43  1.1  riastrad DC_LIBS += hdcp
     44  1.1  riastrad endif
     45  1.1  riastrad 
     46  1.1  riastrad AMD_DC = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/dc/,$(DC_LIBS)))
     47  1.1  riastrad 
     48  1.1  riastrad include $(AMD_DC)
     49  1.1  riastrad 
     50  1.1  riastrad DISPLAY_CORE = dc.o dc_link.o dc_resource.o dc_hw_sequencer.o dc_sink.o \
     51  1.1  riastrad dc_surface.o dc_link_hwss.o dc_link_dp.o dc_link_ddc.o dc_debug.o dc_stream.o
     52  1.1  riastrad 
     53  1.1  riastrad ifdef CONFIG_DRM_AMD_DC_DCN
     54  1.1  riastrad DISPLAY_CORE += dc_vm_helper.o
     55  1.1  riastrad endif
     56  1.1  riastrad 
     57  1.1  riastrad AMD_DISPLAY_CORE = $(addprefix $(AMDDALPATH)/dc/core/,$(DISPLAY_CORE))
     58  1.1  riastrad 
     59  1.1  riastrad AMD_DM_REG_UPDATE = $(addprefix $(AMDDALPATH)/dc/,dc_helper.o)
     60  1.1  riastrad 
     61  1.1  riastrad AMD_DISPLAY_FILES += $(AMD_DISPLAY_CORE)
     62  1.1  riastrad AMD_DISPLAY_FILES += $(AMD_DM_REG_UPDATE)
     63  1.1  riastrad 
     64  1.1  riastrad DC_DMUB += dc_dmub_srv.o
     65  1.1  riastrad AMD_DISPLAY_DMUB = $(addprefix $(AMDDALPATH)/dc/,$(DC_DMUB))
     66  1.1  riastrad AMD_DISPLAY_FILES += $(AMD_DISPLAY_DMUB)
     67