mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
include: nvgpu: change alloc_gpfifo ioctl #
This moves the newly added ioctl, NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX, to the end of the ioctl list. This ensures that nvrm_gpu can correctly determine whether the kernel has this IOCTL. Bug 1795076 Change-Id: Ic42d88142809e71b5d7a4328388338c937252b8b Signed-off-by: Sachit Kadle <skadle@nvidia.com> Reviewed-on: http://git-master/r/1242442 GVS: Gerrit_Virtual_Submit Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d539e97415
commit
bc9df802fe
@@ -1190,8 +1190,6 @@ struct nvgpu_preemption_mode_args {
|
|||||||
_IOWR(NVGPU_IOCTL_MAGIC, 18, struct nvgpu_set_timeout_ex_args)
|
_IOWR(NVGPU_IOCTL_MAGIC, 18, struct nvgpu_set_timeout_ex_args)
|
||||||
#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO \
|
#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO \
|
||||||
_IOW(NVGPU_IOCTL_MAGIC, 100, struct nvgpu_alloc_gpfifo_args)
|
_IOW(NVGPU_IOCTL_MAGIC, 100, struct nvgpu_alloc_gpfifo_args)
|
||||||
#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX \
|
|
||||||
_IOW(NVGPU_IOCTL_MAGIC, 101, struct nvgpu_alloc_gpfifo_ex_args)
|
|
||||||
#define NVGPU_IOCTL_CHANNEL_WAIT \
|
#define NVGPU_IOCTL_CHANNEL_WAIT \
|
||||||
_IOWR(NVGPU_IOCTL_MAGIC, 102, struct nvgpu_wait_args)
|
_IOWR(NVGPU_IOCTL_MAGIC, 102, struct nvgpu_wait_args)
|
||||||
#define NVGPU_IOCTL_CHANNEL_CYCLE_STATS \
|
#define NVGPU_IOCTL_CHANNEL_CYCLE_STATS \
|
||||||
@@ -1228,9 +1226,11 @@ struct nvgpu_preemption_mode_args {
|
|||||||
_IOW(NVGPU_IOCTL_MAGIC, 121, struct nvgpu_timeslice_args)
|
_IOW(NVGPU_IOCTL_MAGIC, 121, struct nvgpu_timeslice_args)
|
||||||
#define NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE \
|
#define NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE \
|
||||||
_IOW(NVGPU_IOCTL_MAGIC, 122, struct nvgpu_preemption_mode_args)
|
_IOW(NVGPU_IOCTL_MAGIC, 122, struct nvgpu_preemption_mode_args)
|
||||||
|
#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX \
|
||||||
|
_IOW(NVGPU_IOCTL_MAGIC, 123, struct nvgpu_alloc_gpfifo_ex_args)
|
||||||
|
|
||||||
#define NVGPU_IOCTL_CHANNEL_LAST \
|
#define NVGPU_IOCTL_CHANNEL_LAST \
|
||||||
_IOC_NR(NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE)
|
_IOC_NR(NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX)
|
||||||
#define NVGPU_IOCTL_CHANNEL_MAX_ARG_SIZE sizeof(struct nvgpu_alloc_gpfifo_ex_args)
|
#define NVGPU_IOCTL_CHANNEL_MAX_ARG_SIZE sizeof(struct nvgpu_alloc_gpfifo_ex_args)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user