66 lines · 3.1 KB · Makefile
RawDownload
## Copyright 2017 Advanced Micro Devices, Inc.## Permission is hereby granted, free of charge, to any person obtaining a# copy of this software and associated documentation files (the "Software"),# to deal in the Software without restriction, including without limitation# the rights to use, copy, modify, merge, publish, distribute, sublicense,# and/or sell copies of the Software, and to permit persons to whom the# Software is furnished to do so, subject to the following conditions:## The above copyright notice and this permission notice shall be included in# all copies or substantial portions of the Software.## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR# OTHER DEALINGS IN THE SOFTWARE.### Makefile for the DAL (Display Abstract Layer), which is a  sub-component# of the AMDGPU drm driver.# It provides the HW control for display related functionalities. AMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH) subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hwsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/clk_mgrsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hwsssubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/resourcesubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dscsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/optcsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dppsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubbubsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dccgsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hubpsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/diosubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dwbsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hposubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/mmhubbubsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/mpcsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/oppsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/pgsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/soc_and_ip_translatorsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/incsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesyncsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/colorsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/info_packetsubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/powersubdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dmub/inc subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/hdcp #TODO: remove when Timing Sync feature is completesubdir-ccflags-y += -DBUILD_FEATURE_TIMING_SYNC=0 DAL_LIBS = amdgpu_dm dc	modules/freesync modules/color modules/info_packet modules/power dmub/src DAL_LIBS += modules/hdcp AMD_DAL = $(addsuffix /Makefile, $(addprefix $(FULL_AMD_DISPLAY_PATH)/,$(DAL_LIBS))) include $(AMD_DAL)