diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gk20a.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h index 6994677e..ba4880af 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h +++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h | |||
@@ -32,7 +32,8 @@ struct gk20a_scale_profile; | |||
32 | struct secure_page_buffer { | 32 | struct secure_page_buffer { |
33 | void (*destroy)(struct gk20a *, struct secure_page_buffer *); | 33 | void (*destroy)(struct gk20a *, struct secure_page_buffer *); |
34 | size_t size; | 34 | size_t size; |
35 | u64 iova; | 35 | dma_addr_t phys; |
36 | size_t used; | ||
36 | }; | 37 | }; |
37 | 38 | ||
38 | struct gk20a_platform { | 39 | struct gk20a_platform { |
@@ -148,6 +149,8 @@ struct gk20a_platform { | |||
148 | /* Powerdown platform dependencies */ | 149 | /* Powerdown platform dependencies */ |
149 | void (*idle)(struct device *dev); | 150 | void (*idle)(struct device *dev); |
150 | 151 | ||
152 | /* Preallocated VPR buffer for kernel */ | ||
153 | size_t secure_buffer_size; | ||
151 | struct secure_page_buffer secure_buffer; | 154 | struct secure_page_buffer secure_buffer; |
152 | 155 | ||
153 | /* Device is going to be suspended */ | 156 | /* Device is going to be suspended */ |