summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 184c1f71..d7503948 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -391,9 +391,11 @@ struct mm_gk20a {
391 bool force_pramin; /* via debugfs */ 391 bool force_pramin; /* via debugfs */
392#endif 392#endif
393 393
394 size_t vidmem_size; 394 struct {
395 struct device vidmem_dev; 395 size_t size;
396 u32 ce_vidmem_ctx_id; 396 struct gk20a_allocator allocator;
397 u32 ce_ctx_id;
398 } vidmem;
397}; 399};
398 400
399int gk20a_mm_init(struct mm_gk20a *mm); 401int gk20a_mm_init(struct mm_gk20a *mm);