summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index 8c93249a..44277abf 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -148,21 +148,7 @@ struct gk20a_platform {
148 /* Powerdown platform dependencies */ 148 /* Powerdown platform dependencies */
149 void (*idle)(struct device *dev); 149 void (*idle)(struct device *dev);
150 150
151 /* This function is called to allocate secure memory (memory that the
152 * CPU cannot see). The function should fill the context buffer
153 * descriptor (especially fields destroy, sgt, size).
154 */
155 int (*secure_alloc)(struct device *dev,
156 struct gr_ctx_buffer_desc *desc,
157 size_t size);
158
159 /* Function to allocate a secure buffer of PAGE_SIZE at probe time.
160 * This is also helpful to trigger secure memory resizing
161 * while GPU is off
162 */
163 int (*secure_page_alloc)(struct device *dev);
164 struct secure_page_buffer secure_buffer; 151 struct secure_page_buffer secure_buffer;
165 bool secure_alloc_ready;
166 152
167 /* Device is going to be suspended */ 153 /* Device is going to be suspended */
168 int (*suspend)(struct device *); 154 int (*suspend)(struct device *);