summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206/acr_gm206.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/acr_gm206.h')
-rw-r--r--drivers/gpu/nvgpu/gm206/acr_gm206.h82
1 files changed, 0 insertions, 82 deletions
diff --git a/drivers/gpu/nvgpu/gm206/acr_gm206.h b/drivers/gpu/nvgpu/gm206/acr_gm206.h
deleted file mode 100644
index b0ccbf9c..00000000
--- a/drivers/gpu/nvgpu/gm206/acr_gm206.h
+++ /dev/null
@@ -1,82 +0,0 @@
1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */
13
14#ifndef __ACR_GM206_H_
15#define __ACR_GM206_H_
16
17#include "gm20b/acr_gm20b.h"
18
19struct loader_config_v1 {
20 u32 reserved;
21 u32 dma_idx;
22 struct falc_u64 code_dma_base;
23 u32 code_size_total;
24 u32 code_size_to_load;
25 u32 code_entry_point;
26 struct falc_u64 data_dma_base;
27 u32 data_size;
28 struct falc_u64 overlay_dma_base;
29 u32 argc;
30 u32 argv;
31};
32
33struct flcn_bl_dmem_desc_v1 {
34 u32 reserved[4]; /*Should be the first element..*/
35 u32 signature[4]; /*Should be the first element..*/
36 u32 ctx_dma;
37 struct falc_u64 code_dma_base;
38 u32 non_sec_code_off;
39 u32 non_sec_code_size;
40 u32 sec_code_off;
41 u32 sec_code_size;
42 u32 code_entry_point;
43 struct falc_u64 data_dma_base;
44 u32 data_size;
45 u32 argc;
46 u32 argv;
47};
48
49/*!
50 * Union of all supported structures used by bootloaders.
51 */
52union flcn_bl_generic_desc_v1 {
53 struct flcn_bl_dmem_desc_v1 bl_dmem_desc_v1;
54 struct loader_config_v1 loader_cfg_v1;
55};
56
57/*!
58 * LSFM Managed Ucode Image
59 * next : Next image the list, NULL if last.
60 * wpr_header : WPR header for this ucode image
61 * lsb_header : LSB header for this ucode image
62 * bl_gen_desc : Bootloader generic desc structure for this ucode image
63 * bl_gen_desc_size : Sizeof bootloader desc structure for this ucode image
64 * full_ucode_size : Surface size required for final ucode image
65 * ucode_img : Ucode image info
66 */
67struct lsfm_managed_ucode_img_v1 {
68 struct lsfm_managed_ucode_img_v1 *next;
69 struct lsf_wpr_header wpr_header;
70 struct lsf_lsb_header lsb_header;
71 union flcn_bl_generic_desc_v1 bl_gen_desc;
72 u32 bl_gen_desc_size;
73 u32 full_ucode_size;
74 struct flcn_ucode_img ucode_img;
75};
76
77void gm206_init_secure_pmu(struct gpu_ops *gops);
78int gm206_alloc_blob_space(struct gk20a *g,
79 size_t size, struct mem_desc *mem);
80void gm206_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf);
81
82#endif /*__ACR_GM206_H_*/