diff options
author | Aleks Todorov <aleksbgbg@google.com> | 2023-04-17 12:03:50 +0100 |
---|---|---|
committer | Aleks Todorov <aleksbgbg@google.com> | 2023-04-27 16:39:41 +0000 |
commit | b08aa4e87a4adc0af4fea283d3af26637e2fdd8a (patch) | |
tree | f872375f6bf71cde53916b4cf9dfa7301648b5e8 /common | |
parent | 036c63b1a544bcc8235880329535d36568cae90f (diff) | |
download | gpu-b08aa4e87a4adc0af4fea283d3af26637e2fdd8a.tar.gz |
mali_kbase: platform: [SLC-VK] Add new MGM group id for explicit SLC allocations.
Bug: 265007605
Test: build_slider.sh
Change-Id: Ie75bb74248e5bdc98b226f9907c3831d38f5905f
Diffstat (limited to 'common')
-rw-r--r-- | common/include/uapi/gpu/arm/midgard/platform/pixel/pixel_memory_group_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/include/uapi/gpu/arm/midgard/platform/pixel/pixel_memory_group_manager.h b/common/include/uapi/gpu/arm/midgard/platform/pixel/pixel_memory_group_manager.h index 8259516..b575c79 100644 --- a/common/include/uapi/gpu/arm/midgard/platform/pixel/pixel_memory_group_manager.h +++ b/common/include/uapi/gpu/arm/midgard/platform/pixel/pixel_memory_group_manager.h @@ -20,6 +20,9 @@ enum pixel_mgm_group_id /* Group for memory that should be cached in the system level cache. */ MGM_SLC_GROUP_ID = 1, + /* Group for memory explicitly allocated in SLC. */ + MGM_SLC_EXPLICIT_GROUP_ID = 2, + /* Imported memory is handled by the allocator of the memory, and the Mali * DDK will request a group_id for such memory via mgm_get_import_memory_id(). * We specify which group we want to use for this here. |