summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-05-18 15:26:52 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-09 14:14:34 -0400
commitc5367d735066b67798686ccf304753fb52fccb68 (patch)
tree2aa2df02a325be5fe633ba5ce5db21aa1aeda500 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parent6085c90f499c642bc41a646b0efbdfe60e096c74 (diff)
gpu: nvgpu: Do not pre-allocate cmdbuf entries
Do not preallocate cmdbuf tracking entries. Allocate them only when needed. Bug 200104160 Change-Id: I12f8392723c301a368af1e280893ff993480477f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/743953 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/755148
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 47ebd2a1..231f7c9a 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -168,7 +168,6 @@ struct priv_cmd_entry {
168 u32 gp_get; /* gp_get when submitting last priv cmd */ 168 u32 gp_get; /* gp_get when submitting last priv cmd */
169 u32 gp_put; /* gp_put when submitting last priv cmd */ 169 u32 gp_put; /* gp_put when submitting last priv cmd */
170 u32 gp_wrap; /* wrap when submitting last priv cmd */ 170 u32 gp_wrap; /* wrap when submitting last priv cmd */
171 bool pre_alloc; /* prealloc entry, free to free list */
172 struct list_head list; /* node for lists */ 171 struct list_head list; /* node for lists */
173}; 172};
174 173