1fd249266SWenjing Liu# 2fd249266SWenjing Liu# Copyright 2022 Advanced Micro Devices, Inc. 3fd249266SWenjing Liu# 4fd249266SWenjing Liu# Permission is hereby granted, free of charge, to any person obtaining a 5fd249266SWenjing Liu# copy of this software and associated documentation files (the "Software"), 6fd249266SWenjing Liu# to deal in the Software without restriction, including without limitation 7fd249266SWenjing Liu# the rights to use, copy, modify, merge, publish, distribute, sublicense, 8fd249266SWenjing Liu# and/or sell copies of the Software, and to permit persons to whom the 9fd249266SWenjing Liu# Software is furnished to do so, subject to the following conditions: 10fd249266SWenjing Liu# 11fd249266SWenjing Liu# The above copyright notice and this permission notice shall be included in 12fd249266SWenjing Liu# all copies or substantial portions of the Software. 13fd249266SWenjing Liu# 14fd249266SWenjing Liu# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15fd249266SWenjing Liu# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16fd249266SWenjing Liu# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17fd249266SWenjing Liu# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18fd249266SWenjing Liu# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19fd249266SWenjing Liu# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20fd249266SWenjing Liu# OTHER DEALINGS IN THE SOFTWARE. 21fd249266SWenjing Liu# 22fd249266SWenjing Liu# Makefile for the link sub-component of DAL. 23fd249266SWenjing Liu# It abstracts the control and status of back end pipe such as DIO, HPO, DPIA, 24fd249266SWenjing Liu# PHY, HPD, DDC and etc). 25fd249266SWenjing Liu 2654618888SWenjing LiuLINK = link_detection.o link_dpms.o link_factory.o link_resource.o \ 2754618888SWenjing Liulink_validation.o 2854618888SWenjing Liu 2954618888SWenjing LiuAMD_DAL_LINK = $(addprefix $(AMDDALPATH)/dc/link/, \ 3054618888SWenjing Liu$(LINK)) 3154618888SWenjing Liu 3254618888SWenjing LiuAMD_DISPLAY_FILES += $(AMD_DAL_LINK) 33bc33f5e5SWenjing Liu############################################################################### 34bc33f5e5SWenjing Liu# accessories 35bc33f5e5SWenjing Liu############################################################################### 3654618888SWenjing LiuLINK_ACCESSORIES = link_dp_trace.o link_dp_cts.o link_fpga.o 37fd249266SWenjing Liu 38bc33f5e5SWenjing LiuAMD_DAL_LINK_ACCESSORIES = $(addprefix $(AMDDALPATH)/dc/link/accessories/, \ 39bc33f5e5SWenjing Liu$(LINK_ACCESSORIES)) 40fd249266SWenjing Liu 41bc33f5e5SWenjing LiuAMD_DISPLAY_FILES += $(AMD_DAL_LINK_ACCESSORIES) 42bc33f5e5SWenjing Liu############################################################################### 43bc33f5e5SWenjing Liu# hwss 44bc33f5e5SWenjing Liu############################################################################### 45*ad5594adSMichael StraussLINK_HWSS = link_hwss_dio.o link_hwss_dpia.o link_hwss_hpo_dp.o \ 46*ad5594adSMichael Strausslink_hwss_dio_fixed_vs_pe_retimer.o link_hwss_hpo_fixed_vs_pe_retimer_dp.o 47bc33f5e5SWenjing Liu 48bc33f5e5SWenjing LiuAMD_DAL_LINK_HWSS = $(addprefix $(AMDDALPATH)/dc/link/hwss/, \ 49bc33f5e5SWenjing Liu$(LINK_HWSS)) 50bc33f5e5SWenjing Liu 51bc33f5e5SWenjing LiuAMD_DISPLAY_FILES += $(AMD_DAL_LINK_HWSS) 52bc33f5e5SWenjing Liu############################################################################### 53bc33f5e5SWenjing Liu# protocols 54bc33f5e5SWenjing Liu############################################################################### 55bc33f5e5SWenjing LiuLINK_PROTOCOLS = link_hpd.o link_ddc.o link_dpcd.o link_dp_dpia.o \ 56bc33f5e5SWenjing Liulink_dp_training.o link_dp_training_8b_10b.o link_dp_training_128b_132b.o \ 57bc33f5e5SWenjing Liulink_dp_training_dpia.o link_dp_training_auxless.o \ 580078c924SWenjing Liulink_dp_training_fixed_vs_pe_retimer.o link_dp_phy.o link_dp_capability.o \ 596455cb52SWenjing Liulink_edp_panel_control.o link_dp_irq_handler.o link_dp_dpia_bw.o 60bc33f5e5SWenjing Liu 61bc33f5e5SWenjing LiuAMD_DAL_LINK_PROTOCOLS = $(addprefix $(AMDDALPATH)/dc/link/protocols/, \ 62bc33f5e5SWenjing Liu$(LINK_PROTOCOLS)) 63bc33f5e5SWenjing Liu 64bc33f5e5SWenjing LiuAMD_DISPLAY_FILES += $(AMD_DAL_LINK_PROTOCOLS)