summaryrefslogtreecommitdiff
path: root/mali_kbase/csf/Kbuild
blob: c62609250d0a64a9e6e45d5f044cbf893f85606f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
# (C) COPYRIGHT 2018-2023 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the
# GNU General Public License version 2 as published by the Free Software
# Foundation, and any use by you of this program is subject to the terms
# of such GNU license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, you can access it online at
# http://www.gnu.org/licenses/gpl-2.0.html.
#
#

mali_kbase-y += \
    csf/mali_kbase_csf_firmware_cfg.o \
    csf/mali_kbase_csf_trace_buffer.o \
    csf/mali_kbase_csf.o \
    csf/mali_kbase_csf_scheduler.o \
    csf/mali_kbase_csf_kcpu.o \
    csf/mali_kbase_csf_tiler_heap.o \
    csf/mali_kbase_csf_timeout.o \
    csf/mali_kbase_csf_tl_reader.o \
    csf/mali_kbase_csf_heap_context_alloc.o \
    csf/mali_kbase_csf_reset_gpu.o \
    csf/mali_kbase_csf_csg_debugfs.o \
    csf/mali_kbase_csf_kcpu_debugfs.o \
    csf/mali_kbase_csf_sync_debugfs.o \
    csf/mali_kbase_csf_kcpu_fence_debugfs.o \
    csf/mali_kbase_csf_protected_memory.o \
    csf/mali_kbase_csf_tiler_heap_debugfs.o \
    csf/mali_kbase_csf_cpu_queue_debugfs.o \
    csf/mali_kbase_csf_event.o \
    csf/mali_kbase_csf_firmware_log.o \
    csf/mali_kbase_csf_firmware_core_dump.o \
    csf/mali_kbase_csf_tiler_heap_reclaim.o \
    csf/mali_kbase_csf_mcu_shared_reg.o

ifeq ($(CONFIG_MALI_NO_MALI),y)
mali_kbase-y += csf/mali_kbase_csf_firmware_no_mali.o
else
mali_kbase-y += csf/mali_kbase_csf_firmware.o
endif

mali_kbase-$(CONFIG_DEBUG_FS) += csf/mali_kbase_debug_csf_fault.o

ifeq ($(KBUILD_EXTMOD),)
# in-tree
    -include $(src)/csf/ipa_control/Kbuild
else
# out-of-tree
    include $(src)/csf/ipa_control/Kbuild
endif