• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# (C) COPYRIGHT 2017, 2020-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
21menuconfig MALI_KUTF
22	bool "Build Mali Kernel Unit Test Framework modules"
23	depends on MALI_BIFROST && MALI_BIFROST_DEBUG
24	default y if MALI_BIFROST_DEBUG
25	help
26	  This option will build the Mali testing framework modules.
27
28	  Modules:
29	   - kutf.ko
30	   - kutf_test.ko
31
32config MALI_KUTF_IRQ_TEST
33	bool "Build Mali KUTF IRQ test module"
34	depends on MALI_KUTF
35	default y
36	help
37	  This option will build the IRQ latency measurement test module.
38	  It can determine the latency of the Mali GPU IRQ on your system.
39
40	  Modules:
41	    - mali_kutf_irq_test.ko
42
43config MALI_KUTF_CLK_RATE_TRACE
44	bool "Build Mali KUTF Clock rate trace test module"
45	depends on MALI_KUTF
46	default y
47	help
48	  This option will build the clock rate trace portal test module.
49	  It can test the clocks integration into the platform and exercise some
50	  basic trace test in the system.
51
52	  Modules:
53	    - mali_kutf_clk_rate_trace_test_portal.ko
54
55
56comment "Enable MALI_BIFROST_DEBUG for KUTF modules support"
57	depends on MALI_BIFROST && !MALI_BIFROST_DEBUG && MALI_KUTF
58