summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_as.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_as.h')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_as.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_as.h b/drivers/gpu/nvgpu/common/linux/ioctl_as.h
index ae6690a1..b3de3782 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_as.h
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_as.h
@@ -18,6 +18,10 @@
18struct inode; 18struct inode;
19struct file; 19struct file;
20 20
21/* MAP_BUFFER_BATCH_LIMIT: the upper limit for num_unmaps and
22 * num_maps */
23#define NVGPU_IOCTL_AS_MAP_BUFFER_BATCH_LIMIT 256
24
21/* struct file_operations driver interface */ 25/* struct file_operations driver interface */
22int gk20a_as_dev_open(struct inode *inode, struct file *filp); 26int gk20a_as_dev_open(struct inode *inode, struct file *filp);
23int gk20a_as_dev_release(struct inode *inode, struct file *filp); 27int gk20a_as_dev_release(struct inode *inode, struct file *filp);