summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-02-20 08:26:58 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:00 -0400
commitc38dae5b522a9b2ce5996d82968d846187f3e152 (patch)
treeab94a888c0eeef902524171f1dfa16a3db57a84e /drivers/gpu/nvgpu/gk20a/gk20a.c
parentfa6f7f882d42022fb419371116124943c1eb82e1 (diff)
gpu: nvgpu: Export pde coverage
This patch adds a field to the gpu capability ioctl to allow requesting the maximum VA a single PDE entry can hold. Bug 1456570 Change-Id: I5cf29c8816fa6ea396c36419e6821c27a805b8af Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 4cc500de..ad35c9ae 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1602,6 +1602,8 @@ int gk20a_init_gpu_characteristics(struct gk20a *g)
1602 1602
1603 gpu->big_page_size = g->mm.big_page_size; 1603 gpu->big_page_size = g->mm.big_page_size;
1604 gpu->compression_page_size = g->mm.compression_page_size; 1604 gpu->compression_page_size = g->mm.compression_page_size;
1605 gpu->pde_coverage_bit_count = g->mm.pde_stride_shift;
1606 gpu->reserved = 0;
1605 1607
1606 return 0; 1608 return 0;
1607} 1609}