msm: kgsl: Introduce a KGSL_USER_MEM_TYPE_MAX enum
Introduce an enum for the max memory type supported by kgsl. This is
used by kgsl_test to pass the correct parameters to kgsl.
CRs-fixed: 331563
Change-Id: I9d9ab813148234ff23da557b92f24e9f71a7cab8
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
diff --git a/include/linux/msm_kgsl.h b/include/linux/msm_kgsl.h
index 1f898b0..5e37c02 100644
--- a/include/linux/msm_kgsl.h
+++ b/include/linux/msm_kgsl.h
@@ -51,6 +51,7 @@
KGSL_USER_MEM_TYPE_ASHMEM = 0x00000001,
KGSL_USER_MEM_TYPE_ADDR = 0x00000002,
KGSL_USER_MEM_TYPE_ION = 0x00000003,
+ KGSL_USER_MEM_TYPE_MAX = 0x00000004,
};
struct kgsl_devinfo {