diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 041c7edf..4dbde580 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -141,11 +141,18 @@ struct gr_ctx_buffer_desc { | |||
141 | void *priv; | 141 | void *priv; |
142 | }; | 142 | }; |
143 | 143 | ||
144 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
145 | #include "gr_t18x.h" | ||
146 | #endif | ||
147 | |||
144 | struct gr_ctx_desc { | 148 | struct gr_ctx_desc { |
145 | struct page **pages; | 149 | struct page **pages; |
146 | u64 iova; | 150 | u64 iova; |
147 | size_t size; | 151 | size_t size; |
148 | u64 gpu_va; | 152 | u64 gpu_va; |
153 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
154 | struct gr_ctx_desc_t18x t18x; | ||
155 | #endif | ||
149 | }; | 156 | }; |
150 | 157 | ||
151 | struct compbit_store_desc { | 158 | struct compbit_store_desc { |