summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index cd5bf7d7..ab1c4a6f 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -47,6 +47,18 @@ struct fifo_profile_gk20a;
47#define NVGPU_GPFIFO_FLAGS_REPLAYABLE_FAULTS_ENABLE (1 << 2) 47#define NVGPU_GPFIFO_FLAGS_REPLAYABLE_FAULTS_ENABLE (1 << 2)
48#define NVGPU_GPFIFO_FLAGS_USERMODE_SUPPORT (1 << 3) 48#define NVGPU_GPFIFO_FLAGS_USERMODE_SUPPORT (1 << 3)
49 49
50/*
51 * The binary format of 'struct nvgpu_channel_fence' introduced here
52 * should match that of 'struct nvgpu_fence' defined in uapi header, since
53 * this struct is intended to be a mirror copy of the uapi struct. This is
54 * not a hard requirement though because of nvgpu_get_fence_args conversion
55 * function.
56 */
57struct nvgpu_channel_fence {
58 u32 id;
59 u32 value;
60};
61
50struct nvgpu_gpfifo_args { 62struct nvgpu_gpfifo_args {
51 u32 num_entries; 63 u32 num_entries;
52 u32 num_inflight_jobs; 64 u32 num_inflight_jobs;