xref: /openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/Makefile (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
14562236bSHarry Wentland#
2e2874a3cSAlex Deucher# Copyright 2017 Advanced Micro Devices, Inc.
3e2874a3cSAlex Deucher#
4e2874a3cSAlex Deucher# Permission is hereby granted, free of charge, to any person obtaining a
5e2874a3cSAlex Deucher# copy of this software and associated documentation files (the "Software"),
6e2874a3cSAlex Deucher# to deal in the Software without restriction, including without limitation
7e2874a3cSAlex Deucher# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8e2874a3cSAlex Deucher# and/or sell copies of the Software, and to permit persons to whom the
9e2874a3cSAlex Deucher# Software is furnished to do so, subject to the following conditions:
10e2874a3cSAlex Deucher#
11e2874a3cSAlex Deucher# The above copyright notice and this permission notice shall be included in
12e2874a3cSAlex Deucher# all copies or substantial portions of the Software.
13e2874a3cSAlex Deucher#
14e2874a3cSAlex Deucher# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15e2874a3cSAlex Deucher# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16e2874a3cSAlex Deucher# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17e2874a3cSAlex Deucher# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18e2874a3cSAlex Deucher# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19e2874a3cSAlex Deucher# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20e2874a3cSAlex Deucher# OTHER DEALINGS IN THE SOFTWARE.
21e2874a3cSAlex Deucher#
22e2874a3cSAlex Deucher#
234562236bSHarry Wentland# Makefile for the 'controller' sub-component of DAL.
244562236bSHarry Wentland# It provides the control and status of HW CRTC block.
254562236bSHarry Wentland
26*d96e2dc2SLee JonesCFLAGS_$(AMDDALPATH)/dc/dce100/dce100_resource.o = $(call cc-disable-warning, override-init)
27*d96e2dc2SLee Jones
284562236bSHarry WentlandDCE100 = dce100_resource.o dce100_hw_sequencer.o
294562236bSHarry Wentland
304562236bSHarry WentlandAMD_DAL_DCE100 = $(addprefix $(AMDDALPATH)/dc/dce100/,$(DCE100))
314562236bSHarry Wentland
324562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_DCE100)
334562236bSHarry Wentland
344562236bSHarry Wentland
354562236bSHarry Wentland###############################################################################
364562236bSHarry Wentland# DCE 10x
374562236bSHarry Wentland###############################################################################
384562236bSHarry Wentlandifdef 0#CONFIG_DRM_AMD_DC_DCE11_0
394562236bSHarry WentlandTG_DCE100 = dce100_resource.o
404562236bSHarry Wentland
414562236bSHarry WentlandAMD_DAL_TG_DCE100 = $(addprefix \
424562236bSHarry Wentland	$(AMDDALPATH)/dc/dce100/,$(TG_DCE100))
434562236bSHarry Wentland
444562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_TG_DCE100)
454562236bSHarry Wentlandendif
464562236bSHarry Wentland
47