diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_as.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_as.h | 4 |
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 @@ | |||
18 | struct inode; | 18 | struct inode; |
19 | struct file; | 19 | struct 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 */ |
22 | int gk20a_as_dev_open(struct inode *inode, struct file *filp); | 26 | int gk20a_as_dev_open(struct inode *inode, struct file *filp); |
23 | int gk20a_as_dev_release(struct inode *inode, struct file *filp); | 27 | int gk20a_as_dev_release(struct inode *inode, struct file *filp); |