summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaomi Luis <nluis@quicinc.com>2009-12-08 13:02:05 -0800
committerNaomi Luis <nluis@quicinc.com>2009-12-09 16:28:44 -0800
commit695b7f4448c12654edf232bc69f904b24ada3213 (patch)
treee62a3402d430bfa1b4bfe118185e590c72bc9745
parent07881fa36631fd5bf28a217e04259dbfaa23a141 (diff)
downloadbionic-695b7f4448c12654edf232bc69f904b24ada3213.zip
bionic-695b7f4448c12654edf232bc69f904b24ada3213.tar.gz
bionic-695b7f4448c12654edf232bc69f904b24ada3213.tar.bz2
msm_kgsl.h: Update to set the correct bin base offset
Update file to add structs and ioctls for setting the correct bin base offset.
-rw-r--r--libc/kernel/common/linux/msm_kgsl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/kernel/common/linux/msm_kgsl.h b/libc/kernel/common/linux/msm_kgsl.h
index d717e57..59faefc 100644
--- a/libc/kernel/common/linux/msm_kgsl.h
+++ b/libc/kernel/common/linux/msm_kgsl.h
@@ -188,5 +188,11 @@ struct kgsl_sharedmem_from_vmalloc {
#define IOCTL_KGSL_SHAREDMEM_FLUSH_CACHE _IOW(KGSL_IOC_TYPE, 0x24, struct kgsl_sharedmem_free)
-#endif
+struct kgsl_drawctxt_set_bin_base_offset {
+ unsigned int drawctxt_id;
+ unsigned int offset;
+};
+#define IOCTL_KGSL_DRAWCTXT_SET_BIN_BASE_OFFSET _IOW(KGSL_IOC_TYPE, 0x25, struct kgsl_drawctxt_set_bin_base_offset)
+
+#endif