^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # (C) COPYRIGHT 2021 ARM Limited. All rights reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) # This program is free software and is provided to you under the terms of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) # GNU General Public License version 2 as published by the Free Software
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) # Foundation, and any use by you of this program is subject to the terms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) # of such GNU license.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) # This program is distributed in the hope that it will be useful,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) # but WITHOUT ANY WARRANTY; without even the implied warranty of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) # GNU General Public License for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) # You should have received a copy of the GNU General Public License
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) # along with this program; if not, you can access it online at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) # http://www.gnu.org/licenses/gpl-2.0.html.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) menuconfig MALI_BASE_MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) bool "Mali Base extra modules"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Enable this option to build support for a Arm Mali base modules.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Those modules provide extra features or debug interfaces and,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) are optional for the use of the Mali GPU modules.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config DMA_BUF_LOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) bool "Build dma-buf lock module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on MALI_BASE_MODULES && MALI_DMA_FENCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) This option will build the dma_buf_lock module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Modules:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - dma_buf_lock.ko
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config DMA_SHARED_BUFFER_TEST_EXPORTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) bool "Build dma-buf framework test exporter module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on MALI_BASE_MODULES && DMA_SHARED_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) This option will build the dma-buf framework test exporter module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Usable to help test importers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Modules:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) - dma-buf-test-exporter.ko
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) config MALI_MEMORY_GROUP_MANAGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) bool "Build Mali Memory Group Manager module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) depends on MALI_BASE_MODULES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) This option will build the memory group manager module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) This is an example implementation for allocation and release of pages
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) for memory pools managed by Mali GPU device drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) Modules:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) - memory_group_manager.ko
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) config MALI_PROTECTED_MEMORY_ALLOCATOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) bool "Build Mali Protected Memory Allocator module"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) depends on MALI_BASE_MODULES && MALI_CSF_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) This option will build the protected memory allocator module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) This is an example implementation for allocation and release of pages
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) of secure memory intended to be used by the firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) of Mali GPU device drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Modules:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) - protected_memory_allocator.ko
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)