xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/Kbuild (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# (C) COPYRIGHT 2016-2018, 2020-2021 ARM Limited. All rights reserved.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# This program is free software and is provided to you under the terms of the
6*4882a593Smuzhiyun# GNU General Public License version 2 as published by the Free Software
7*4882a593Smuzhiyun# Foundation, and any use by you of this program is subject to the terms
8*4882a593Smuzhiyun# of such GNU license.
9*4882a593Smuzhiyun#
10*4882a593Smuzhiyun# This program is distributed in the hope that it will be useful,
11*4882a593Smuzhiyun# but WITHOUT ANY WARRANTY; without even the implied warranty of
12*4882a593Smuzhiyun# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*4882a593Smuzhiyun# GNU General Public License for more details.
14*4882a593Smuzhiyun#
15*4882a593Smuzhiyun# You should have received a copy of the GNU General Public License
16*4882a593Smuzhiyun# along with this program; if not, you can access it online at
17*4882a593Smuzhiyun# http://www.gnu.org/licenses/gpl-2.0.html.
18*4882a593Smuzhiyun#
19*4882a593Smuzhiyun#
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunbifrost_kbase-y += \
22*4882a593Smuzhiyun    ipa/mali_kbase_ipa_simple.o \
23*4882a593Smuzhiyun    ipa/mali_kbase_ipa.o
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunbifrost_kbase-$(CONFIG_DEBUG_FS) += ipa/mali_kbase_ipa_debugfs.o
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunifeq ($(MALI_USE_CSF),1)
28*4882a593Smuzhiyun    bifrost_kbase-y += \
29*4882a593Smuzhiyun        ipa/backend/mali_kbase_ipa_counter_csf.o \
30*4882a593Smuzhiyun        ipa/backend/mali_kbase_ipa_counter_common_csf.o
31*4882a593Smuzhiyunelse
32*4882a593Smuzhiyun    bifrost_kbase-y += \
33*4882a593Smuzhiyun        ipa/backend/mali_kbase_ipa_counter_jm.o \
34*4882a593Smuzhiyun        ipa/backend/mali_kbase_ipa_counter_common_jm.o
35*4882a593Smuzhiyunendif
36