xref: /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# (C) COPYRIGHT 2017, 2020-2022 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*4882a593Smuzhiyunmenuconfig MALI_KUTF
22*4882a593Smuzhiyun	bool "Build Mali Kernel Unit Test Framework modules"
23*4882a593Smuzhiyun	depends on MALI_BIFROST && MALI_BIFROST_DEBUG
24*4882a593Smuzhiyun	default y if MALI_BIFROST_DEBUG
25*4882a593Smuzhiyun	help
26*4882a593Smuzhiyun	  This option will build the Mali testing framework modules.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  Modules:
29*4882a593Smuzhiyun	   - kutf.ko
30*4882a593Smuzhiyun	   - kutf_test.ko
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig MALI_KUTF_IRQ_TEST
33*4882a593Smuzhiyun	bool "Build Mali KUTF IRQ test module"
34*4882a593Smuzhiyun	depends on MALI_KUTF
35*4882a593Smuzhiyun	default y
36*4882a593Smuzhiyun	help
37*4882a593Smuzhiyun	  This option will build the IRQ latency measurement test module.
38*4882a593Smuzhiyun	  It can determine the latency of the Mali GPU IRQ on your system.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun	  Modules:
41*4882a593Smuzhiyun	    - mali_kutf_irq_test.ko
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig MALI_KUTF_CLK_RATE_TRACE
44*4882a593Smuzhiyun	bool "Build Mali KUTF Clock rate trace test module"
45*4882a593Smuzhiyun	depends on MALI_KUTF
46*4882a593Smuzhiyun	default y
47*4882a593Smuzhiyun	help
48*4882a593Smuzhiyun	  This option will build the clock rate trace portal test module.
49*4882a593Smuzhiyun	  It can test the clocks integration into the platform and exercise some
50*4882a593Smuzhiyun	  basic trace test in the system.
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun	  Modules:
53*4882a593Smuzhiyun	    - mali_kutf_clk_rate_trace_test_portal.ko
54*4882a593Smuzhiyun
55*4882a593Smuzhiyunconfig MALI_KUTF_MGM_INTEGRATION_TEST
56*4882a593Smuzhiyun	bool "Build Mali KUTF MGM integration test module"
57*4882a593Smuzhiyun	depends on MALI_KUTF
58*4882a593Smuzhiyun	default y
59*4882a593Smuzhiyun	help
60*4882a593Smuzhiyun	  This option will build the MGM integration test module.
61*4882a593Smuzhiyun	  It can test the implementation of PTE translation for specific
62*4882a593Smuzhiyun	  group ids.
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun	  Modules:
65*4882a593Smuzhiyun	    - mali_kutf_mgm_integration_test.ko
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun
68*4882a593Smuzhiyuncomment "Enable MALI_BIFROST_DEBUG for KUTF modules support"
69*4882a593Smuzhiyun	depends on MALI_BIFROST && !MALI_BIFROST_DEBUG && MALI_KUTF
70