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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index b8b0ca49..b151c180 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -259,6 +259,10 @@ struct vm_gk20a {
259 struct gk20a_mm_entry pdb; 259 struct gk20a_mm_entry pdb;
260 260
261 struct gk20a_allocator vma[gmmu_nr_page_sizes]; 261 struct gk20a_allocator vma[gmmu_nr_page_sizes];
262
263 /* If necessary, split fixed from non-fixed. */
264 struct gk20a_allocator fixed;
265
262 struct rb_root mapped_buffers; 266 struct rb_root mapped_buffers;
263 267
264 struct list_head reserved_va_list; 268 struct list_head reserved_va_list;
@@ -279,6 +283,7 @@ struct channel_gk20a;
279int gk20a_init_mm_support(struct gk20a *g); 283int gk20a_init_mm_support(struct gk20a *g);
280int gk20a_init_mm_setup_sw(struct gk20a *g); 284int gk20a_init_mm_setup_sw(struct gk20a *g);
281int gk20a_init_mm_setup_hw(struct gk20a *g); 285int gk20a_init_mm_setup_hw(struct gk20a *g);
286void gk20a_mm_debugfs_init(struct platform_device *pdev);
282 287
283int gk20a_mm_fb_flush(struct gk20a *g); 288int gk20a_mm_fb_flush(struct gk20a *g);
284void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); 289void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate);