diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-02-01 11:33:03 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-09 16:44:31 -0500 |
commit | 35980eac098741a0508d6e14afb344a405de374c (patch) | |
tree | 21f92141069c0c08bf9e2e16464942e41bf4ddee /drivers/gpu/nvgpu/gk20a | |
parent | 8afd83238a9676f6737f24269a99c79071debdc2 (diff) |
gpu: nvgpu: Delete PMU fecs override interface
Deleted PMU fecs override interface from pmu_api.h
header file as feature not used anymore
& its dependent code too.
Deleted file pmu_api.h as file dont
have any interfaces left inside
Jira NVGPU-19
Change-Id: I490cf67ae60ce2f1de37da063199ee04835b940d
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1297370
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_api.h | 61 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | 1 |
2 files changed, 0 insertions, 62 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_api.h b/drivers/gpu/nvgpu/gk20a/pmu_api.h deleted file mode 100644 index ad8a6903..00000000 --- a/drivers/gpu/nvgpu/gk20a/pmu_api.h +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2011-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 __PMU_API_H__ | ||
15 | #define __PMU_API_H__ | ||
16 | |||
17 | #include <nvgpu/flcnif_cmn.h> | ||
18 | #include "pmuif/gpmuif_pg_rppg.h" | ||
19 | |||
20 | /* FECS mem override command*/ | ||
21 | |||
22 | #define PMU_LRF_TEX_LTC_DRAM_CMD_ID_EN_DIS 0 | ||
23 | |||
24 | /*! | ||
25 | * Enable/Disable FECS error feature | ||
26 | */ | ||
27 | struct pmu_cmd_lrf_tex_ltc_dram_en_dis { | ||
28 | /*Command type must be first*/ | ||
29 | u8 cmd_type; | ||
30 | /*unit bitmask*/ | ||
31 | u8 en_dis_mask; | ||
32 | }; | ||
33 | |||
34 | struct pmu_lrf_tex_ltc_dram_cmd { | ||
35 | union { | ||
36 | u8 cmd_type; | ||
37 | struct pmu_cmd_lrf_tex_ltc_dram_en_dis en_dis; | ||
38 | }; | ||
39 | }; | ||
40 | |||
41 | /* FECS mem override messages*/ | ||
42 | #define PMU_LRF_TEX_LTC_DRAM_MSG_ID_EN_DIS 0 | ||
43 | |||
44 | struct pmu_msg_lrf_tex_ltc_dram_en_dis { | ||
45 | /*! | ||
46 | * Must be at start | ||
47 | */ | ||
48 | u8 msg_type; | ||
49 | u8 en_fail_mask; | ||
50 | u8 dis_fail_mask; | ||
51 | u32 pmu_status; | ||
52 | }; | ||
53 | |||
54 | struct pmu_lrf_tex_ltc_dram_msg { | ||
55 | union { | ||
56 | u8 msg_type; | ||
57 | struct pmu_msg_lrf_tex_ltc_dram_en_dis en_dis; | ||
58 | }; | ||
59 | }; | ||
60 | |||
61 | #endif /*__PMU_API_H__*/ | ||
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h index 2f679970..47c2a4b3 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #define __PMU_GK20A_H__ | 22 | #define __PMU_GK20A_H__ |
23 | 23 | ||
24 | #include <linux/version.h> | 24 | #include <linux/version.h> |
25 | #include "pmu_api.h" | ||
26 | #include <nvgpu/flcnif_cmn.h> | 25 | #include <nvgpu/flcnif_cmn.h> |
27 | #include "pmuif/nvgpu_gpmu_cmdif.h" | 26 | #include "pmuif/nvgpu_gpmu_cmdif.h" |
28 | 27 | ||