diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-02-14 03:58:54 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-15 22:33:29 -0500 |
commit | a9e1a6c70af1d7414a3d64423600ca37eba0f750 (patch) | |
tree | 5c7db4714829db21130a717ad804c39c7b14a427 /drivers/gpu/nvgpu/gm206/acr_gm206.h | |
parent | d465504534b2ec7ab0be190fc98b24e1b77634e2 (diff) |
gpu: nvgpu: Remove ACR gm204/gm206 support
- Remove ACR gm204/gm206 support as no more support
required Maxwell dGPU.
-Moved required ACR interface to gp106 from gm206
-Deleted acr_gm206.c/h files & removed its involvement
from dependent files.
Change-Id: I9cb7ce8f7ef8bb6fcc7515e644ffb11b774389f4
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1304556
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/acr_gm206.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/acr_gm206.h | 82 |
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 | |||
19 | struct 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 | |||
33 | struct 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 | */ | ||
52 | union 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 | */ | ||
67 | struct 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 | |||
77 | void gm206_init_secure_pmu(struct gpu_ops *gops); | ||
78 | int gm206_alloc_blob_space(struct gk20a *g, | ||
79 | size_t size, struct mem_desc *mem); | ||
80 | void gm206_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf); | ||
81 | |||
82 | #endif /*__ACR_GM206_H_*/ | ||