1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# (C) COPYRIGHT 2014-2021 ARM Limited. All rights reserved.
4#
5# This program is free software and is provided to you under the terms of the
6# GNU General Public License version 2 as published by the Free Software
7# Foundation, and any use by you of this program is subject to the terms
8# of such GNU license.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, you can access it online at
17# http://www.gnu.org/licenses/gpl-2.0.html.
18#
19#
20
21bifrost_kbase-y += \
22    backend/gpu/mali_kbase_cache_policy_backend.o \
23    backend/gpu/mali_kbase_gpuprops_backend.o \
24    backend/gpu/mali_kbase_irq_linux.o \
25    backend/gpu/mali_kbase_js_backend.o \
26    backend/gpu/mali_kbase_pm_backend.o \
27    backend/gpu/mali_kbase_pm_driver.o \
28    backend/gpu/mali_kbase_pm_metrics.o \
29    backend/gpu/mali_kbase_pm_ca.o \
30    backend/gpu/mali_kbase_pm_always_on.o \
31    backend/gpu/mali_kbase_pm_coarse_demand.o \
32    backend/gpu/mali_kbase_pm_policy.o \
33    backend/gpu/mali_kbase_time.o \
34    backend/gpu/mali_kbase_l2_mmu_config.o \
35    backend/gpu/mali_kbase_clk_rate_trace_mgr.o
36
37ifeq ($(MALI_USE_CSF),0)
38    bifrost_kbase-y += \
39        backend/gpu/mali_kbase_instr_backend.o \
40        backend/gpu/mali_kbase_jm_as.o \
41        backend/gpu/mali_kbase_debug_job_fault_backend.o \
42        backend/gpu/mali_kbase_jm_hw.o \
43        backend/gpu/mali_kbase_jm_rb.o
44endif
45
46
47bifrost_kbase-$(CONFIG_MALI_BIFROST_DEVFREQ) += \
48    backend/gpu/mali_kbase_devfreq.o
49
50# Dummy model
51bifrost_kbase-$(CONFIG_MALI_BIFROST_NO_MALI) += backend/gpu/mali_kbase_model_dummy.o
52bifrost_kbase-$(CONFIG_MALI_BIFROST_NO_MALI) += backend/gpu/mali_kbase_model_linux.o
53# HW error simulation
54bifrost_kbase-$(CONFIG_MALI_BIFROST_NO_MALI) += backend/gpu/mali_kbase_model_error_generator.o
55