# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
# (C) COPYRIGHT 2012-2023 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the
# GNU General Public License version 2 as published by the Free Software
# Foundation, and any use by you of this program is subject to the terms
# of such GNU license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, you can access it online at
# http://www.gnu.org/licenses/gpl-2.0.html.
#
#

menu "ARM GPU Configuration"
source "$(MALI_KCONFIG_EXT_PREFIX)drivers/gpu/arm/midgard/Kconfig"
endmenu

config MALI_MEMORY_GROUP_MANAGER
        tristate "Build Mali Memory Group Manager module"
        default n
        help
          This option will build the memory group manager module.
          This is an example implementation for allocation and release of pages
          for memory pools managed by Mali GPU device drivers.

          Modules:
            - memory_group_manager.ko

config MALI_PROTECTED_MEMORY_ALLOCATOR
        tristate "Build Mali Protected Memory Allocator module"
        depends on MALI_CSF_SUPPORT
        default n
        help
          This option will build the protected memory allocator module.
          This is an example implementation for allocation and release of pages
          of secure memory intended to be used by the firmware
          of Mali GPU device drivers.

          Modules:
            - protected_memory_allocator.ko
