gpu: nvgpu: update channel max_arg_size

Increase channel ioctl max arg size to support
ALLOC_GPFIFO_EX ioctl.

Bug 1795076

Change-Id: Ifb8e7c564333f4c6dd244d7d85acfee4e029b41b
Signed-off-by: Sachit Kadle <skadle@nvidia.com>
Reviewed-on: http://git-master/r/1218048
(cherry picked from commit 75c52887a0350433e7334681009f5c7cac3fb6a9)
Reviewed-on: http://git-master/r/1223936
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Sachit Kadle
2016-09-09 10:59:47 -07:00
committed by mobile promotions
parent 418fc5338e
commit 3fde490533

View File

@@ -1231,7 +1231,7 @@ struct nvgpu_preemption_mode_args {
#define NVGPU_IOCTL_CHANNEL_LAST \ #define NVGPU_IOCTL_CHANNEL_LAST \
_IOC_NR(NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE) _IOC_NR(NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE)
#define NVGPU_IOCTL_CHANNEL_MAX_ARG_SIZE sizeof(struct nvgpu_submit_gpfifo_args) #define NVGPU_IOCTL_CHANNEL_MAX_ARG_SIZE sizeof(struct nvgpu_alloc_gpfifo_ex_args)
/* /*
* /dev/nvhost-as-gpu device * /dev/nvhost-as-gpu device