summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-06 05:58:00 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:01:44 -0400
commitc3892ff917ad63ae63ad20d70f89583fb8213ce3 (patch)
tree91d4b5755f2f6a5365303cb9adbc8aed1dc63fb0 /include
parent5df3d09e16c9d2f413cea53d16bc8ca42ae42d6e (diff)
gpu: nvgpu: gk20a: Set lockboost size for compute
For compute channel on gk20a, set lockboost size to zero. Bug 1573856 Change-Id: I369cebf72241e4017e7d380c82caff6014e42984 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/594843 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nvgpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 97e791df..20acc66a 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -459,9 +459,11 @@ struct nvgpu_set_nvmap_fd_args {
459 __u32 fd; 459 __u32 fd;
460} __packed; 460} __packed;
461 461
462#define NVGPU_ALLOC_OBJ_FLAGS_LOCKBOOST_ZERO (1 << 0)
463
462struct nvgpu_alloc_obj_ctx_args { 464struct nvgpu_alloc_obj_ctx_args {
463 __u32 class_num; /* kepler3d, 2d, compute, etc */ 465 __u32 class_num; /* kepler3d, 2d, compute, etc */
464 __u32 padding; 466 __u32 flags; /* input, output */
465 __u64 obj_id; /* output, used to free later */ 467 __u64 obj_id; /* output, used to free later */
466}; 468};
467 469