summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
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/gk20a/gk20a.h
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/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 0bbc66cf..5ca07d7f 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -312,6 +312,7 @@ struct gpu_ops {
312 void (*set_big_page_size)(struct gk20a *g, 312 void (*set_big_page_size)(struct gk20a *g,
313 void *inst_ptr, int size); 313 void *inst_ptr, int size);
314 u32 (*get_big_page_sizes)(void); 314 u32 (*get_big_page_sizes)(void);
315 u32 (*get_physical_addr_bits)(struct gk20a *g);
315 } mm; 316 } mm;
316 struct { 317 struct {
317 int (*prepare_ucode)(struct gk20a *g); 318 int (*prepare_ucode)(struct gk20a *g);