Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: include/linux/msm_kgsl.h

Issue 668184: msm_kgsl: Implement the old version of the KGSL_SHAREDMEM_FROM_PMEM ioctl. (Closed)
Patch Set: Respond to review. Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « drivers/char/msm_kgsl/kgsl.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/linux/msm_kgsl.h
diff --git a/include/linux/msm_kgsl.h b/include/linux/msm_kgsl.h
index eb5683210d3c4020a60ea44e014d6f7d1fe69891..811a7c2154b3d32e1505610df919a5a1dd431429 100755
--- a/include/linux/msm_kgsl.h
+++ b/include/linux/msm_kgsl.h
@@ -233,6 +233,15 @@ struct kgsl_sharedmem_from_pmem {
#define IOCTL_KGSL_SHAREDMEM_FROM_PMEM \
_IOWR(KGSL_IOC_TYPE, 0x20, struct kgsl_sharedmem_from_pmem)
+/* Support the old SHAREDMEM_FROM_PMEM ioctl. */
+struct kgsl_sharedmem_from_pmem_old {
+ int pmem_fd;
+ unsigned int gpuaddr; /*output param */
+};
+
+#define IOCTL_KGSL_SHAREDMEM_FROM_PMEM_OLD \
+ _IOWR(KGSL_IOC_TYPE, 0x20, struct kgsl_sharedmem_from_pmem_old)
+
/* remove memory from the GPU's address space */
struct kgsl_sharedmem_free {
unsigned int gpuaddr;
« no previous file with comments | « drivers/char/msm_kgsl/kgsl.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698