diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index 030701b9..678ef4fd 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -280,6 +280,11 @@ static void gm20b_mm_set_big_page_size(struct gk20a *g, | |||
280 | gk20a_dbg_fn("done"); | 280 | gk20a_dbg_fn("done"); |
281 | } | 281 | } |
282 | 282 | ||
283 | u32 gm20b_mm_get_big_page_sizes(void) | ||
284 | { | ||
285 | return SZ_64K | SZ_128K; | ||
286 | } | ||
287 | |||
283 | void gm20b_init_mm(struct gpu_ops *gops) | 288 | void gm20b_init_mm(struct gpu_ops *gops) |
284 | { | 289 | { |
285 | gops->mm.set_sparse = gm20b_vm_put_sparse; | 290 | gops->mm.set_sparse = gm20b_vm_put_sparse; |
@@ -295,4 +300,5 @@ void gm20b_init_mm(struct gpu_ops *gops) | |||
295 | gops->mm.l2_flush = gk20a_mm_l2_flush; | 300 | gops->mm.l2_flush = gk20a_mm_l2_flush; |
296 | gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate; | 301 | gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate; |
297 | gops->mm.set_big_page_size = gm20b_mm_set_big_page_size; | 302 | gops->mm.set_big_page_size = gm20b_mm_set_big_page_size; |
303 | gops->mm.get_big_page_sizes = gm20b_mm_get_big_page_sizes; | ||
298 | } | 304 | } |