summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index ab1c4a6f..2008c471 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -59,6 +59,19 @@ struct nvgpu_channel_fence {
59 u32 value; 59 u32 value;
60}; 60};
61 61
62/*
63 * The binary format of 'struct nvgpu_gpfifo_entry' introduced here
64 * should match that of 'struct nvgpu_gpfifo' defined in uapi header, since
65 * this struct is intended to be a mirror copy of the uapi struct. This is
66 * a rigid requirement because there's no conversion function and there are
67 * memcpy's present between the user gpfifo (of type nvgpu_gpfifo) and the
68 * kern gpfifo (of type nvgpu_gpfifo_entry).
69 */
70struct nvgpu_gpfifo_entry {
71 u32 entry0;
72 u32 entry1;
73};
74
62struct nvgpu_gpfifo_args { 75struct nvgpu_gpfifo_args {
63 u32 num_entries; 76 u32 num_entries;
64 u32 num_inflight_jobs; 77 u32 num_inflight_jobs;