summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu-t18x.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-05-29 21:34:37 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:06 -0500
commit634acd7422afb9cec5a390471937dc964ba31025 (patch)
tree3616b352b819a07c4219e3be70a639f184027b21 /include/uapi/linux/nvgpu-t18x.h
parent4d30fe5a24d9f4416cce66ee1c90c8594879ab7b (diff)
gpu: nvgpu: Expose preemption flags to user space
Expose CILP and GFXP flags to user space ioctl NVGPU_IOCTL_CHANNEL_ALLOC_OBJ_CTX. Bug 200111328 Change-Id: I10931db2babd3222e308fd491824d95204355ff3 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/748932 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/uapi/linux/nvgpu-t18x.h')
-rw-r--r--include/uapi/linux/nvgpu-t18x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/nvgpu-t18x.h b/include/uapi/linux/nvgpu-t18x.h
index 76814415..b2a75143 100644
--- a/include/uapi/linux/nvgpu-t18x.h
+++ b/include/uapi/linux/nvgpu-t18x.h
@@ -39,6 +39,10 @@
39 */ 39 */
40#define NVGPU_ALLOC_GPFIFO_FLAGS_REPLAYABLE_FAULTS_ENABLE (1 << 2) 40#define NVGPU_ALLOC_GPFIFO_FLAGS_REPLAYABLE_FAULTS_ENABLE (1 << 2)
41 41
42/* Flags in nvgpu_alloc_obj_ctx_args.flags */
43#define NVGPU_ALLOC_OBJ_FLAGS_GFXP (1 << 1)
44#define NVGPU_ALLOC_OBJ_FLAGS_CILP (1 << 2)
45
42#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */ 46#endif /* _UAPI__LINUX_NVGPU_T18X_IOCTL_H_ */
43 47
44 48