diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-19 17:23:16 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-20 14:35:34 -0400 |
commit | 0b6eff29656a4ee3d3d0bf94fd6a6328ded4ac7a (patch) | |
tree | cb1616dcada7646deef27e1bfec789be73ae927b /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 9f65627d0edaa45d914d2d180caf1b687e3c0d09 (diff) |
gpu: nvgpu: Pass struct gk20a to secure alloc
Pass struct gk20a to secure alloc API instead of Linux specific
struct device.
JIRA NVGPU-38
Change-Id: I6d9afaeeff9b957351072caa29690f2caf58f858
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505179
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 9499f91a..72322e54 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -31,7 +31,7 @@ struct gr_ctx_buffer_desc; | |||
31 | struct gk20a_scale_profile; | 31 | struct gk20a_scale_profile; |
32 | 32 | ||
33 | struct secure_page_buffer { | 33 | struct secure_page_buffer { |
34 | void (*destroy)(struct device *, struct secure_page_buffer *); | 34 | void (*destroy)(struct gk20a *, struct secure_page_buffer *); |
35 | size_t size; | 35 | size_t size; |
36 | u64 iova; | 36 | u64 iova; |
37 | }; | 37 | }; |