diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h index 99d6c161..2bb29ea8 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h | |||
@@ -20,6 +20,9 @@ struct gk20a; | |||
20 | #define PDE_ADDR_START(x, y) ((x) & ~((0x1UL << (y)) - 1)) | 20 | #define PDE_ADDR_START(x, y) ((x) & ~((0x1UL << (y)) - 1)) |
21 | #define PDE_ADDR_END(x, y) ((x) | ((0x1UL << (y)) - 1)) | 21 | #define PDE_ADDR_END(x, y) ((x) | ((0x1UL << (y)) - 1)) |
22 | 22 | ||
23 | u64 gm20b_gpu_phys_addr(struct gk20a *g, | ||
24 | struct nvgpu_gmmu_attrs *attrs, u64 phys); | ||
25 | |||
23 | void gm20b_init_mm(struct gpu_ops *gops); | 26 | void gm20b_init_mm(struct gpu_ops *gops); |
24 | int gm20b_mm_mmu_vpr_info_fetch(struct gk20a *g); | 27 | int gm20b_mm_mmu_vpr_info_fetch(struct gk20a *g); |
25 | #endif | 28 | #endif |