diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2016-05-24 05:02:09 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-26 19:06:30 -0400 |
commit | 147330c2dac6ffaed78100a7ad46907d7e622dca (patch) | |
tree | cf65b851286f9dc240c17f941957ab49d1022167 /drivers/gpu/nvgpu/acr.h | |
parent | e9d5e7dfca6ac2fa7af380ceea0a0ca4ac3827c6 (diff) |
gpu: nvgpu: move & rename acr_gm20b to acr_desc
acr_gm20b renamed to acr_desc to support
multiple gpu chips
JIRA DNVGPU-10
Change-Id: Ib3b38d5845043f026ddc365a682b7bb454463326
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1152401
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/acr.h')
-rw-r--r-- | drivers/gpu/nvgpu/acr.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/acr.h b/drivers/gpu/nvgpu/acr.h new file mode 100644 index 00000000..ad859858 --- /dev/null +++ b/drivers/gpu/nvgpu/acr.h | |||
@@ -0,0 +1,38 @@ | |||
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_H_ | ||
15 | #define __ACR_H_ | ||
16 | |||
17 | #include "gm20b/mm_gm20b.h" | ||
18 | #include "gm20b/acr_gm20b.h" | ||
19 | |||
20 | struct acr_desc { | ||
21 | struct mem_desc ucode_blob; | ||
22 | struct bin_hdr *bl_bin_hdr; | ||
23 | struct hsflcn_bl_desc *pmu_hsbl_desc; | ||
24 | struct bin_hdr *hsbin_hdr; | ||
25 | struct acr_fw_header *fw_hdr; | ||
26 | u32 pmu_args; | ||
27 | const struct firmware *acr_fw; | ||
28 | struct flcn_acr_desc *acr_dmem_desc; | ||
29 | struct mem_desc acr_ucode; | ||
30 | const struct firmware *hsbl_fw; | ||
31 | struct mem_desc hsbl_ucode; | ||
32 | struct flcn_bl_dmem_desc bl_dmem_desc; | ||
33 | const struct firmware *pmu_fw; | ||
34 | const struct firmware *pmu_desc; | ||
35 | u32 capabilities; | ||
36 | }; | ||
37 | |||
38 | #endif /*__ACR_H_*/ | ||