diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index b8b0ca49..368b32d3 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; | |||
279 | int gk20a_init_mm_support(struct gk20a *g); | 283 | int gk20a_init_mm_support(struct gk20a *g); |
280 | int gk20a_init_mm_setup_sw(struct gk20a *g); | 284 | int gk20a_init_mm_setup_sw(struct gk20a *g); |
281 | int gk20a_init_mm_setup_hw(struct gk20a *g); | 285 | int gk20a_init_mm_setup_hw(struct gk20a *g); |
286 | void gk20a_mm_debugfs_init(struct platform_device *pdev); | ||
282 | 287 | ||
283 | int gk20a_mm_fb_flush(struct gk20a *g); | 288 | int gk20a_mm_fb_flush(struct gk20a *g); |
284 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); | 289 | void gk20a_mm_l2_flush(struct gk20a *g, bool invalidate); |
@@ -332,9 +337,9 @@ struct mm_gk20a { | |||
332 | #ifdef CONFIG_DEBUG_FS | 337 | #ifdef CONFIG_DEBUG_FS |
333 | u32 ltc_enabled; | 338 | u32 ltc_enabled; |
334 | u32 ltc_enabled_debug; | 339 | u32 ltc_enabled_debug; |
340 | #endif | ||
335 | u32 bypass_smmu; | 341 | u32 bypass_smmu; |
336 | u32 disable_bigpage; | 342 | u32 disable_bigpage; |
337 | #endif | ||
338 | }; | 343 | }; |
339 | 344 | ||
340 | int gk20a_mm_init(struct mm_gk20a *mm); | 345 | int gk20a_mm_init(struct mm_gk20a *mm); |