diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 7472c7cd..65e2ded2 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2216,7 +2216,6 @@ u64 gk20a_vm_map(struct vm_gk20a *vm, | |||
2216 | mapped_buffer->va_allocated = va_allocated; | 2216 | mapped_buffer->va_allocated = va_allocated; |
2217 | mapped_buffer->user_mapped = user_mapped ? 1 : 0; | 2217 | mapped_buffer->user_mapped = user_mapped ? 1 : 0; |
2218 | mapped_buffer->own_mem_ref = user_mapped; | 2218 | mapped_buffer->own_mem_ref = user_mapped; |
2219 | INIT_LIST_HEAD(&mapped_buffer->unmap_list); | ||
2220 | nvgpu_init_list_node(&mapped_buffer->va_buffers_list); | 2219 | nvgpu_init_list_node(&mapped_buffer->va_buffers_list); |
2221 | kref_init(&mapped_buffer->ref); | 2220 | kref_init(&mapped_buffer->ref); |
2222 | 2221 | ||
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index f4bbec23..924c1d3d 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -158,7 +158,6 @@ struct priv_cmd_entry { | |||
158 | struct mapped_buffer_node { | 158 | struct mapped_buffer_node { |
159 | struct vm_gk20a *vm; | 159 | struct vm_gk20a *vm; |
160 | struct nvgpu_rbtree_node node; | 160 | struct nvgpu_rbtree_node node; |
161 | struct list_head unmap_list; | ||
162 | struct nvgpu_list_node va_buffers_list; | 161 | struct nvgpu_list_node va_buffers_list; |
163 | struct vm_reserved_va_node *va_node; | 162 | struct vm_reserved_va_node *va_node; |
164 | u64 addr; | 163 | u64 addr; |