xref: /openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/Makefile (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
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 'bios' sub-component of DAL.
244562236bSHarry Wentland# It provides the parsing and executing controls for atom bios image.
254562236bSHarry Wentland
26e25cb588SDave AirlieBIOS = bios_parser.o bios_parser_interface.o  bios_parser_helper.o command_table.o command_table_helper.o bios_parser_common.o
274562236bSHarry Wentland
282c8ad2d5SAlex DeucherBIOS += command_table2.o command_table_helper2.o bios_parser2.o
292c8ad2d5SAlex Deucher
304562236bSHarry WentlandAMD_DAL_BIOS = $(addprefix $(AMDDALPATH)/dc/bios/,$(BIOS))
314562236bSHarry Wentland
324562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMD_DAL_BIOS)
334562236bSHarry Wentland
344562236bSHarry Wentland###############################################################################
35*c4a54f70SMauro Rossi# DCE 6x
36*c4a54f70SMauro Rossi###############################################################################
37*c4a54f70SMauro Rossi# All DCE6.x are derived from DCE6.0, so 6.0 MUST be defined if ANY of
38*c4a54f70SMauro Rossi# DCE6.x is compiled.
39*c4a54f70SMauro Rossiifdef CONFIG_DRM_AMD_DC_SI
40*c4a54f70SMauro RossiAMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce60/command_table_helper_dce60.o
41*c4a54f70SMauro Rossiendif
42*c4a54f70SMauro Rossi
43*c4a54f70SMauro Rossi###############################################################################
444562236bSHarry Wentland# DCE 8x
454562236bSHarry Wentland###############################################################################
464562236bSHarry Wentland# All DCE8.x are derived from DCE8.0, so 8.0 MUST be defined if ANY of
474562236bSHarry Wentland# DCE8.x is compiled.
484562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce80/command_table_helper_dce80.o
494562236bSHarry Wentland
504562236bSHarry Wentland###############################################################################
514562236bSHarry Wentland# DCE 11x
524562236bSHarry Wentland###############################################################################
534562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce110/command_table_helper_dce110.o
544562236bSHarry Wentland
554562236bSHarry WentlandAMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce112/command_table_helper_dce112.o
562c8ad2d5SAlex Deucher
572c8ad2d5SAlex DeucherAMD_DISPLAY_FILES += $(AMDDALPATH)/dc/bios/dce112/command_table_helper2_dce112.o
58