From 3fde49053323c673641eb24e4b6009afae15c842 Mon Sep 17 00:00:00 2001 From: Sachit Kadle Date: Fri, 9 Sep 2016 10:59:47 -0700 Subject: 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 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 --- include/uapi/linux/nvgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index f3c75045..b3302e6f 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h @@ -1231,7 +1231,7 @@ struct nvgpu_preemption_mode_args { #define NVGPU_IOCTL_CHANNEL_LAST \ _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 -- cgit v1.2.2