diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-06-29 19:01:17 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-05 18:40:24 -0400 |
commit | 3afac13d66ee7026555c0b0558d898a4f189b051 (patch) | |
tree | 01ccaf764036ea074c1b96edb348150b3da4170b /include/uapi/linux/nvgpu.h | |
parent | a3802a2ae9d5ffeaec038a9ce7fc9fa333f1a68c (diff) |
gpu: nvgpu: add support for t19x tsg/channel
Required modifications to add t19x channel
specific info and handle t19x tsg requests.
Bug 1842197
Change-Id: I0f8bcce20edea8f2f9a01e5bf5a9e4181af54875
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master/r/1511144
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 8b29a3ae..c34a7e83 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -970,11 +970,18 @@ struct nvgpu_gpu_set_event_filter_args { | |||
970 | #define NVGPU_IOCTL_TSG_GET_TIMESLICE \ | 970 | #define NVGPU_IOCTL_TSG_GET_TIMESLICE \ |
971 | _IOR(NVGPU_TSG_IOCTL_MAGIC, 10, struct nvgpu_timeslice_args) | 971 | _IOR(NVGPU_TSG_IOCTL_MAGIC, 10, struct nvgpu_timeslice_args) |
972 | 972 | ||
973 | |||
974 | #ifdef CONFIG_TEGRA_19x_GPU | ||
975 | #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ | ||
976 | NVGPU_TSG_IOCTL_MAX_ARG | ||
977 | #define NVGPU_TSG_IOCTL_LAST \ | ||
978 | _IOC_NR(NVGPU_TSG_IOCTL_MAX) | ||
979 | #else | ||
973 | #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ | 980 | #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ |
974 | sizeof(struct nvgpu_event_id_ctrl_args) | 981 | sizeof(struct nvgpu_event_id_ctrl_args) |
975 | #define NVGPU_TSG_IOCTL_LAST \ | 982 | #define NVGPU_TSG_IOCTL_LAST \ |
976 | _IOC_NR(NVGPU_IOCTL_TSG_GET_TIMESLICE) | 983 | _IOC_NR(NVGPU_IOCTL_TSG_GET_TIMESLICE) |
977 | 984 | #endif | |
978 | 985 | ||
979 | /* | 986 | /* |
980 | * /dev/nvhost-dbg-gpu device | 987 | * /dev/nvhost-dbg-gpu device |