11.1Sriastrad# 21.1Sriastrad# Copyright 2017 Advanced Micro Devices, Inc. 31.1Sriastrad# 41.1Sriastrad# Permission is hereby granted, free of charge, to any person obtaining a 51.1Sriastrad# copy of this software and associated documentation files (the "Software"), 61.1Sriastrad# to deal in the Software without restriction, including without limitation 71.1Sriastrad# the rights to use, copy, modify, merge, publish, distribute, sublicense, 81.1Sriastrad# and/or sell copies of the Software, and to permit persons to whom the 91.1Sriastrad# Software is furnished to do so, subject to the following conditions: 101.1Sriastrad# 111.1Sriastrad# The above copyright notice and this permission notice shall be included in 121.1Sriastrad# all copies or substantial portions of the Software. 131.1Sriastrad# 141.1Sriastrad# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 151.1Sriastrad# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 161.1Sriastrad# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 171.1Sriastrad# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 181.1Sriastrad# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 191.1Sriastrad# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 201.1Sriastrad# OTHER DEALINGS IN THE SOFTWARE. 211.1Sriastrad# 221.1Sriastrad# 231.1Sriastrad# Makefile for Display Core (dc) component. 241.1Sriastrad# 251.1Sriastrad 261.1SriastradDC_LIBS = basics bios calcs clk_mgr dce gpio irq virtual 271.1Sriastrad 281.1Sriastradifdef CONFIG_DRM_AMD_DC_DCN 291.1SriastradDC_LIBS += dcn20 301.1SriastradDC_LIBS += dsc 311.1SriastradDC_LIBS += dcn10 dml 321.1SriastradDC_LIBS += dcn21 331.1Sriastradendif 341.1Sriastrad 351.1SriastradDC_LIBS += dce120 361.1Sriastrad 371.1SriastradDC_LIBS += dce112 381.1SriastradDC_LIBS += dce110 391.1SriastradDC_LIBS += dce100 401.1SriastradDC_LIBS += dce80 411.1Sriastrad 421.1Sriastradifdef CONFIG_DRM_AMD_DC_HDCP 431.1SriastradDC_LIBS += hdcp 441.1Sriastradendif 451.1Sriastrad 461.1SriastradAMD_DC = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/dc/,$(DC_LIBS))) 471.1Sriastrad 481.1Sriastradinclude $(AMD_DC) 491.1Sriastrad 501.1SriastradDISPLAY_CORE = dc.o dc_link.o dc_resource.o dc_hw_sequencer.o dc_sink.o \ 511.1Sriastraddc_surface.o dc_link_hwss.o dc_link_dp.o dc_link_ddc.o dc_debug.o dc_stream.o 521.1Sriastrad 531.1Sriastradifdef CONFIG_DRM_AMD_DC_DCN 541.1SriastradDISPLAY_CORE += dc_vm_helper.o 551.1Sriastradendif 561.1Sriastrad 571.1SriastradAMD_DISPLAY_CORE = $(addprefix $(AMDDALPATH)/dc/core/,$(DISPLAY_CORE)) 581.1Sriastrad 591.1SriastradAMD_DM_REG_UPDATE = $(addprefix $(AMDDALPATH)/dc/,dc_helper.o) 601.1Sriastrad 611.1SriastradAMD_DISPLAY_FILES += $(AMD_DISPLAY_CORE) 621.1SriastradAMD_DISPLAY_FILES += $(AMD_DM_REG_UPDATE) 631.1Sriastrad 641.1SriastradDC_DMUB += dc_dmub_srv.o 651.1SriastradAMD_DISPLAY_DMUB = $(addprefix $(AMDDALPATH)/dc/,$(DC_DMUB)) 661.1SriastradAMD_DISPLAY_FILES += $(AMD_DISPLAY_DMUB) 67