summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/acr_gp106.h
diff options
context:
space:
mode:
authorDeepak Goyal <dgoyal@nvidia.com>2017-07-05 03:07:23 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-18 14:04:23 -0400
commit5364257c7f9792b3e85d4af89528d6bda02bfee5 (patch)
tree12e7817b563605a8b6af63618048e0ec981261dc /drivers/gpu/nvgpu/gp106/acr_gp106.h
parentb1c95568823d8b7b19188de06c80b303e9c62f66 (diff)
gpu : nvgpu: secure boot code unification.
This exposes all secure boot functions that can be re-used by other chips. This is the first patch in this series. Other pacthes will also follow. JIRA NVGPU-60 Change-Id: I523637bbf601166f8a01ddf29a913e193d3fdc7a Signed-off-by: Deepak Goyal <dgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1514567 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/acr_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/acr_gp106.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.h b/drivers/gpu/nvgpu/gp106/acr_gp106.h
index 34d2b117..fe8fbdb1 100644
--- a/drivers/gpu/nvgpu/gp106/acr_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/acr_gp106.h
@@ -20,5 +20,31 @@
20#define GP104_GPCCS_UCODE_SIG "gp104/gpccs_sig.bin" 20#define GP104_GPCCS_UCODE_SIG "gp104/gpccs_sig.bin"
21 21
22void gp106_init_secure_pmu(struct gpu_ops *gops); 22void gp106_init_secure_pmu(struct gpu_ops *gops);
23void lsfm_free_ucode_img_res(struct gk20a *g,
24 struct flcn_ucode_img_v1 *p_img);
25void lsfm_free_nonpmu_ucode_img_res(struct gk20a *g,
26 struct flcn_ucode_img_v1 *p_img);
27int lsf_gen_wpr_requirements(struct gk20a *g,
28 struct ls_flcn_mgr_v1 *plsfm);
29void free_acr_resources(struct gk20a *g, struct ls_flcn_mgr_v1 *plsfm);
30void lsfm_fill_static_lsb_hdr_info(struct gk20a *g,
31 u32 falcon_id, struct lsfm_managed_ucode_img_v2 *pnode);
32int gp106_pmu_populate_loader_cfg(struct gk20a *g,
33 void *lsfm, u32 *p_bl_gen_desc_size);
23 34
35int pmu_ucode_details(struct gk20a *g, struct flcn_ucode_img_v1 *p_img);
36int fecs_ucode_details(struct gk20a *g,
37 struct flcn_ucode_img_v1 *p_img);
38int gpccs_ucode_details(struct gk20a *g,
39 struct flcn_ucode_img_v1 *p_img);
40int lsfm_add_ucode_img(struct gk20a *g, struct ls_flcn_mgr_v1 *plsfm,
41 struct flcn_ucode_img_v1 *ucode_image, u32 falcon_id);
42int lsfm_discover_ucode_images(struct gk20a *g,
43 struct ls_flcn_mgr_v1 *plsfm);
44void lsfm_init_wpr_contents(struct gk20a *g,
45 struct ls_flcn_mgr_v1 *plsfm, struct nvgpu_mem *nonwpr);
46int gp106_flcn_populate_bl_dmem_desc(struct gk20a *g,
47 void *lsfm, u32 *p_bl_gen_desc_size, u32 falconid);
48int lsfm_fill_flcn_bl_gen_desc(struct gk20a *g,
49 struct lsfm_managed_ucode_img_v2 *pnode);
24#endif /*__PMU_GP106_H_*/ 50#endif /*__PMU_GP106_H_*/