summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gmmu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
index 7242fd67..ca07e359 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gmmu.h
@@ -200,6 +200,11 @@ struct gk20a_mmu_level {
200 u64 virt_addr, 200 u64 virt_addr,
201 struct nvgpu_gmmu_attrs *attrs); 201 struct nvgpu_gmmu_attrs *attrs);
202 u32 entry_size; 202 u32 entry_size;
203 /*
204 * Get pde page size
205 */
206 enum gmmu_pgsz_gk20a (*get_pgsz)(struct gk20a *g,
207 struct nvgpu_gmmu_pd *pd, u32 pd_idx);
203}; 208};
204 209
205static inline const char *nvgpu_gmmu_perm_str(enum gk20a_mem_rw_flag p) 210static inline const char *nvgpu_gmmu_perm_str(enum gk20a_mem_rw_flag p)