diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 2b741451..5ef8ae25 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A memory management | 2 | * GK20A memory management |
3 | * | 3 | * |
4 | * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -112,32 +112,6 @@ struct pm_ctx_desc { | |||
112 | }; | 112 | }; |
113 | 113 | ||
114 | struct gk20a; | 114 | struct gk20a; |
115 | struct gr_ctx_buffer_desc { | ||
116 | void (*destroy)(struct gk20a *, struct gr_ctx_buffer_desc *); | ||
117 | struct mem_desc mem; | ||
118 | void *priv; | ||
119 | }; | ||
120 | |||
121 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
122 | #include "gr_t18x.h" | ||
123 | #endif | ||
124 | |||
125 | struct gr_ctx_desc { | ||
126 | struct mem_desc mem; | ||
127 | |||
128 | u32 graphics_preempt_mode; | ||
129 | u32 compute_preempt_mode; | ||
130 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | ||
131 | struct gr_ctx_desc_t18x t18x; | ||
132 | #endif | ||
133 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | ||
134 | u64 virt_ctx; | ||
135 | #endif | ||
136 | }; | ||
137 | |||
138 | struct ctx_header_desc { | ||
139 | struct mem_desc mem; | ||
140 | }; | ||
141 | 115 | ||
142 | struct compbit_store_desc { | 116 | struct compbit_store_desc { |
143 | struct mem_desc mem; | 117 | struct mem_desc mem; |