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.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 6c46e113..b28daef7 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -296,6 +296,16 @@ struct vm_gk20a {
296 bool tlb_dirty; 296 bool tlb_dirty;
297 bool mapped; 297 bool mapped;
298 298
299 u32 compression_page_size;
300 u32 big_page_size;
301 u32 pde_stride;
302 u32 pde_stride_shift;
303
304 struct {
305 u32 order;
306 u32 num_ptes;
307 } page_table_sizing[gmmu_nr_page_sizes];
308
299 struct kref ref; 309 struct kref ref;
300 310
301 struct mutex update_gmmu_lock; 311 struct mutex update_gmmu_lock;
@@ -314,6 +324,7 @@ struct vm_gk20a {
314#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION 324#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION
315 u64 handle; 325 u64 handle;
316#endif 326#endif
327 u32 gmmu_page_sizes[gmmu_nr_page_sizes];
317}; 328};
318 329
319struct gk20a; 330struct gk20a;
@@ -329,17 +340,6 @@ void gk20a_mm_l2_invalidate(struct gk20a *g);
329struct mm_gk20a { 340struct mm_gk20a {
330 struct gk20a *g; 341 struct gk20a *g;
331 342
332 u32 compression_page_size;
333 u32 big_page_size;
334 u32 pde_stride;
335 u32 pde_stride_shift;
336
337 struct {
338 u32 order;
339 u32 num_ptes;
340 } page_table_sizing[gmmu_nr_page_sizes];
341
342
343 struct { 343 struct {
344 u64 size; 344 u64 size;
345 } channel; 345 } channel;