summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/acr.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-02-14 12:17:29 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-02-23 04:04:48 -0500
commit9c68af58a9d2542e33ced54bdabc35b18f589475 (patch)
tree321bb98244543612f88314d83ec60570f176a008 /drivers/gpu/nvgpu/acr.h
parent8cdb91c527ce19ce67ddc0e231e8c93a552a93a4 (diff)
gpu: nvgpu: ACR interface headers reorganization
-Moved ACR interface headers from acr_gm20b.h/acr_gp106.h to Its specific header files under “drivers/gpu/nvgpu/include/nvgpu/acr/” Folder. - nvgpu_acr.h - Top-level header-file which include ACR interfaces headers & defines required to communicate with ACR, including this header file is good to get access into ACR interface & made changes accordingly, -Deleted acr.h & acr_t18x.h as not required anymore & removed its include from dependent files. Jira NVGPU-19 Change-Id: Ie404043cfe1ab32404eb63a43831f470d8436324 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1304748 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/acr.h')
-rw-r--r--drivers/gpu/nvgpu/acr.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/drivers/gpu/nvgpu/acr.h b/drivers/gpu/nvgpu/acr.h
deleted file mode 100644
index df90c96e..00000000
--- a/drivers/gpu/nvgpu/acr.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2 * Copyright (c) 2016-2017, 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#include "gp106/acr_gp106.h"
20#ifdef CONFIG_ARCH_TEGRA_18x_SOC
21#include "acr_t18x.h"
22#endif
23
24struct acr_desc {
25 struct mem_desc ucode_blob;
26 struct mem_desc wpr_dummy;
27 struct bin_hdr *bl_bin_hdr;
28 struct hsflcn_bl_desc *pmu_hsbl_desc;
29 struct bin_hdr *hsbin_hdr;
30 struct acr_fw_header *fw_hdr;
31 u32 pmu_args;
32 const struct firmware *acr_fw;
33 union{
34 struct flcn_acr_desc *acr_dmem_desc;
35#ifdef CONFIG_ARCH_TEGRA_18x_SOC
36 struct flcn_acr_desc_v1 *acr_dmem_desc_v1;
37#endif
38 };
39 struct mem_desc acr_ucode;
40 const struct firmware *hsbl_fw;
41 struct mem_desc hsbl_ucode;
42 union {
43 struct flcn_bl_dmem_desc bl_dmem_desc;
44 struct flcn_bl_dmem_desc_v1 bl_dmem_desc_v1;
45 };
46 const struct firmware *pmu_fw;
47 const struct firmware *pmu_desc;
48 u32 capabilities;
49};
50
51#endif /*__ACR_H_*/