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 'audio' sub-component of DAL.
244562236bSHarry Wentland# It provides the control and status of HW adapter resources,
254562236bSHarry Wentland# that are global for the ASIC and sharable between pipes.
264562236bSHarry Wentland
274562236bSHarry WentlandIRQ = irq_service.o
284562236bSHarry Wentland
294562236bSHarry WentlandAMD_DAL_IRQ = $(addprefix $(AMDDALPATH)/dc/irq/,$(IRQ))
304562236bSHarry Wentland
314562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_IRQ)
324562236bSHarry Wentland
334562236bSHarry Wentland###############################################################################
344562236bSHarry Wentland# DCE 8x
354562236bSHarry Wentland###############################################################################
364562236bSHarry WentlandIRQ_DCE80 = irq_service_dce80.o
374562236bSHarry Wentland
384562236bSHarry WentlandAMD_DAL_IRQ_DCE80 = $(addprefix $(AMDDALPATH)/dc/irq/dce80/,$(IRQ_DCE80))
394562236bSHarry Wentland
404562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_IRQ_DCE80)
414562236bSHarry Wentland
424562236bSHarry Wentland###############################################################################
434562236bSHarry Wentland# DCE 11x
444562236bSHarry Wentland###############################################################################
454562236bSHarry WentlandIRQ_DCE11 = irq_service_dce110.o
464562236bSHarry Wentland
474562236bSHarry WentlandAMD_DAL_IRQ_DCE11 = $(addprefix $(AMDDALPATH)/dc/irq/dce110/,$(IRQ_DCE11))
484562236bSHarry Wentland
494562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_IRQ_DCE11)
502c8ad2d5SAlex Deucher
512c8ad2d5SAlex Deucher###############################################################################
522c8ad2d5SAlex Deucher# DCE 12x
532c8ad2d5SAlex Deucher###############################################################################
542c8ad2d5SAlex DeucherIRQ_DCE12 = irq_service_dce120.o
552c8ad2d5SAlex Deucher
562c8ad2d5SAlex DeucherAMD_DAL_IRQ_DCE12 = $(addprefix $(AMDDALPATH)/dc/irq/dce120/,$(IRQ_DCE12))
572c8ad2d5SAlex Deucher
582c8ad2d5SAlex DeucherAMD_DISPLAY_FILES += $(AMD_DAL_IRQ_DCE12)
592c8ad2d5SAlex Deucher
60ff5ef992SAlex Deucher###############################################################################
61ff5ef992SAlex Deucher# DCN 1x
62ff5ef992SAlex Deucher###############################################################################
63dc37a9a0SLeo (Sunpeng) Liifdef CONFIG_DRM_AMD_DC_DCN1_0
64ff5ef992SAlex DeucherIRQ_DCN1 = irq_service_dcn10.o
65ff5ef992SAlex Deucher
66ff5ef992SAlex DeucherAMD_DAL_IRQ_DCN1 = $(addprefix $(AMDDALPATH)/dc/irq/dcn10/,$(IRQ_DCN1))
67ff5ef992SAlex Deucher
68ff5ef992SAlex DeucherAMD_DISPLAY_FILES += $(AMD_DAL_IRQ_DCN1)
69ff5ef992SAlex Deucherendif
70bff65b77SHarry Wentland###############################################################################
71bff65b77SHarry Wentland# DCN 20
72bff65b77SHarry Wentland###############################################################################
73bff65b77SHarry Wentlandifdef CONFIG_DRM_AMD_DC_DCN2_0
74bff65b77SHarry WentlandIRQ_DCN2 = irq_service_dcn20.o
75bff65b77SHarry Wentland
76bff65b77SHarry WentlandAMD_DAL_IRQ_DCN2 = $(addprefix $(AMDDALPATH)/dc/irq/dcn20/,$(IRQ_DCN2))
77bff65b77SHarry Wentland
78bff65b77SHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_IRQ_DCN2)
79bff65b77SHarry Wentlandendif
80