diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-05-31 19:42:22 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-13 10:38:14 -0400 |
commit | 5f3648137191513e3f98234b47251c16edd18ce7 (patch) | |
tree | 7634a7f2b0d7e21d947d16a637e4b6e29dbe1960 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 823ba424568848c1863c6f4b798bbbf0428a9a05 (diff) |
gpu: nvgpu: Remove dead priv_cmdbuf code
Remove the gp_get and gp_put pointers from the priv_cmdbuf code. These
pointers appear to track the position of th the priv_cmdbuf in the gp_fifo.
However, these pointers are not used for anything nor are they needed for
anything in the future. This code appears to be a relic left over from the
past.
Change-Id: Ibed1a6d51fa0cac12c5e0429760e8e2f611fc899
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1161859
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 590ede71..d1628b07 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -176,9 +176,6 @@ struct priv_cmd_entry { | |||
176 | u64 gva; | 176 | u64 gva; |
177 | u32 get; /* start of entry in queue */ | 177 | u32 get; /* start of entry in queue */ |
178 | u32 size; /* in words */ | 178 | u32 size; /* in words */ |
179 | u32 gp_get; /* gp_get when submitting last priv cmd */ | ||
180 | u32 gp_put; /* gp_put when submitting last priv cmd */ | ||
181 | u32 gp_wrap; /* wrap when submitting last priv cmd */ | ||
182 | struct list_head list; /* node for lists */ | 179 | struct list_head list; /* node for lists */ |
183 | }; | 180 | }; |
184 | 181 | ||