summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSunil Khatri <sunilkh@codeaurora.org>2018-07-19 17:10:39 +0530
committerSunil Khatri <sunilkh@codeaurora.org>2018-10-08 18:58:59 +0530
commit3d69d2b9493206838d2c2d7a41b71321a73a802a (patch)
tree21d67d12b1cc0b4ff9d24020afef853681f0a648 /include/uapi
parent727593cbf7ebb6782b2b3b45a951cc8ccc03a788 (diff)
msm: kgsl: Add a property to find alignment of secure buffers
Add a property to determine the hardware alignment constraint on secure buffers. XPUv2 and below have a minimum requirement of 1 MBytes alignment and hence driver should allocate memory with minimum alignment on size. Change-Id: Ie3ca5da489bc94ae57ddc6695e402463fd7a88c2 Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/msm_kgsl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_kgsl.h b/include/uapi/linux/msm_kgsl.h
index 13bb8b79359a..08d6a2ea79b7 100644
--- a/include/uapi/linux/msm_kgsl.h
+++ b/include/uapi/linux/msm_kgsl.h
@@ -322,6 +322,7 @@ enum kgsl_timestamp_type {
#define KGSL_PROP_DEVICE_QDSS_STM 0x19
#define KGSL_PROP_DEVICE_QTIMER 0x20
#define KGSL_PROP_IB_TIMEOUT 0x21
+#define KGSL_PROP_SECURE_BUFFER_ALIGNMENT 0x23
struct kgsl_shadowprop {
unsigned long gpuaddr;