summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h b/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
index 1a6aed48..bb8b307b 100644
--- a/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
+++ b/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
@@ -124,6 +124,8 @@ struct gk20a_buddy_allocator {
124 struct rb_root alloced_buddies; /* Outstanding allocations. */ 124 struct rb_root alloced_buddies; /* Outstanding allocations. */
125 struct rb_root fixed_allocs; /* Outstanding fixed allocations. */ 125 struct rb_root fixed_allocs; /* Outstanding fixed allocations. */
126 126
127 struct list_head co_list;
128
127 /* 129 /*
128 * Impose an upper bound on the maximum order. 130 * Impose an upper bound on the maximum order.
129 */ 131 */
@@ -142,6 +144,7 @@ struct gk20a_buddy_allocator {
142 u64 pte_blk_order; 144 u64 pte_blk_order;
143 145
144 int initialized; 146 int initialized;
147 int alloc_made; /* True after the first alloc. */
145 148
146 u64 flags; 149 u64 flags;
147 150