summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAleks Todorov <aleksbgbg@google.com>2023-03-30 11:06:50 +0100
committerAleks Todorov <aleksbgbg@google.com>2023-04-27 16:39:41 +0000
commit036c63b1a544bcc8235880329535d36568cae90f (patch)
tree369f9d7242a08fa4af0580cedc256b925ae0a0f0 /common
parent95378305fe3549452572f1319b71e28fc1fe17b5 (diff)
downloadgpu-036c63b1a544bcc8235880329535d36568cae90f.tar.gz
mali_kbase: [SLC-VK] Add new BASE_MEM_GROUP for explicit SLC allocations.
Bug: 265007605 Test: build_slider.sh UMD: http://ag/22335635 Change-Id: I032ab48a850ba3918cb056c72e719fbb978b3d77
Diffstat (limited to 'common')
-rw-r--r--common/include/uapi/gpu/arm/midgard/mali_base_kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/include/uapi/gpu/arm/midgard/mali_base_kernel.h b/common/include/uapi/gpu/arm/midgard/mali_base_kernel.h
index 6adbd81..07edfac 100644
--- a/common/include/uapi/gpu/arm/midgard/mali_base_kernel.h
+++ b/common/include/uapi/gpu/arm/midgard/mali_base_kernel.h
@@ -53,6 +53,10 @@
*/
#define BASE_MEM_GROUP_DEFAULT (0)
+/* Physical memory group ID for explicit SLC allocations.
+ */
+#define BASE_MEM_GROUP_PIXEL_SLC_EXPLICIT (2)
+
/* Number of physical memory groups.
*/
#define BASE_MEM_GROUP_COUNT (16)