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