xref: /OK3568_Linux_fs/kernel/drivers/base/arm/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# (C) COPYRIGHT 2021-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_BASE_MODULES
22*4882a593Smuzhiyun	bool "Mali Base extra modules"
23*4882a593Smuzhiyun	default n
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Enable this option to build support for a Arm Mali base modules.
26*4882a593Smuzhiyun	  Those modules provide extra features or debug interfaces and,
27*4882a593Smuzhiyun	  are optional for the use of the Mali GPU modules.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig DMA_SHARED_BUFFER_TEST_EXPORTER
30*4882a593Smuzhiyun	bool "Build dma-buf framework test exporter module"
31*4882a593Smuzhiyun	depends on MALI_BASE_MODULES && DMA_SHARED_BUFFER
32*4882a593Smuzhiyun	default y
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  This option will build the dma-buf framework test exporter module.
35*4882a593Smuzhiyun	  Usable to help test importers.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	  Modules:
38*4882a593Smuzhiyun	    - dma-buf-test-exporter.ko
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunconfig MALI_MEMORY_GROUP_MANAGER
41*4882a593Smuzhiyun	bool "Build Mali Memory Group Manager module"
42*4882a593Smuzhiyun	depends on MALI_BASE_MODULES
43*4882a593Smuzhiyun	default y
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  This option will build the memory group manager module.
46*4882a593Smuzhiyun	  This is an example implementation for allocation and release of pages
47*4882a593Smuzhiyun	  for memory pools managed by Mali GPU device drivers.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun	  Modules:
50*4882a593Smuzhiyun	    - memory_group_manager.ko
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunconfig MALI_PROTECTED_MEMORY_ALLOCATOR
53*4882a593Smuzhiyun	bool "Build Mali Protected Memory Allocator module"
54*4882a593Smuzhiyun	depends on MALI_BASE_MODULES && MALI_CSF_SUPPORT
55*4882a593Smuzhiyun	default y
56*4882a593Smuzhiyun	help
57*4882a593Smuzhiyun	  This option will build the protected memory allocator module.
58*4882a593Smuzhiyun	  This is an example implementation for allocation and release of pages
59*4882a593Smuzhiyun	  of secure memory intended to be used by the firmware
60*4882a593Smuzhiyun	  of Mali GPU device drivers.
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun	  Modules:
63*4882a593Smuzhiyun	    - protected_memory_allocator.ko
64*4882a593Smuzhiyun
65