diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 88acc3ec..451e32ca 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -40,6 +40,7 @@ struct dbg_profiler_object_data; | |||
40 | 40 | ||
41 | #include "../../../arch/arm/mach-tegra/iomap.h" | 41 | #include "../../../arch/arm/mach-tegra/iomap.h" |
42 | 42 | ||
43 | #include <nvgpu/pramin.h> | ||
43 | #include <nvgpu/acr/nvgpu_acr.h> | 44 | #include <nvgpu/acr/nvgpu_acr.h> |
44 | 45 | ||
45 | #include "as_gk20a.h" | 46 | #include "as_gk20a.h" |
@@ -70,6 +71,8 @@ struct dbg_profiler_object_data; | |||
70 | x = val | 71 | x = val |
71 | #endif | 72 | #endif |
72 | 73 | ||
74 | struct page_alloc_chunk; | ||
75 | |||
73 | /* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds. | 76 | /* PTIMER_REF_FREQ_HZ corresponds to a period of 32 nanoseconds. |
74 | 32 ns is the resolution of ptimer. */ | 77 | 32 ns is the resolution of ptimer. */ |
75 | #define PTIMER_REF_FREQ_HZ 31250000 | 78 | #define PTIMER_REF_FREQ_HZ 31250000 |
@@ -648,6 +651,13 @@ struct gpu_ops { | |||
648 | bool (*mmu_fault_pending)(struct gk20a *g); | 651 | bool (*mmu_fault_pending)(struct gk20a *g); |
649 | } mm; | 652 | } mm; |
650 | struct { | 653 | struct { |
654 | u32 (*enter)(struct gk20a *g, struct mem_desc *mem, | ||
655 | struct page_alloc_chunk *chunk, u32 w); | ||
656 | void (*exit)(struct gk20a *g, struct mem_desc *mem, | ||
657 | struct page_alloc_chunk *chunk); | ||
658 | u32 (*data032_r)(u32 i); | ||
659 | } pramin; | ||
660 | struct { | ||
651 | int (*init_therm_setup_hw)(struct gk20a *g); | 661 | int (*init_therm_setup_hw)(struct gk20a *g); |
652 | int (*elcg_init_idle_filters)(struct gk20a *g); | 662 | int (*elcg_init_idle_filters)(struct gk20a *g); |
653 | void (*therm_debugfs_init)(struct gk20a *g); | 663 | void (*therm_debugfs_init)(struct gk20a *g); |