summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-12 07:22:35 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:19 -0400
commit2d71d633cf754e15c5667215c44086080c7c328d (patch)
tree62e64ee0c4aa8128abc66fa83a66c1dd678965b3 /drivers/gpu/nvgpu/gm20b/mm_gm20b.c
parent1deb73b9c6512c6f0a296e35145c49233ea47f74 (diff)
gpu: nvgpu: Physical page bits to be per chip
Retrieve number of physical page bits based on chip. Bug 1567274 Change-Id: I5a0f6a66be37f2cf720d66b5bdb2b704cd992234 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/601700
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/mm_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
index 678ef4fd..0113e227 100644
--- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
@@ -301,4 +301,5 @@ void gm20b_init_mm(struct gpu_ops *gops)
301 gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate; 301 gops->mm.tlb_invalidate = gk20a_mm_tlb_invalidate;
302 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; 303 gops->mm.get_big_page_sizes = gm20b_mm_get_big_page_sizes;
304 gops->mm.get_physical_addr_bits = gk20a_mm_get_physical_addr_bits;
304} 305}