diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-02-06 06:19:24 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-10 12:43:46 -0500 |
commit | 3885fe099af0bda910ac8ee64f2cd1a5bbea3ab0 (patch) | |
tree | 602ead38e7631ce81db7e600802fdac0aba49974 /drivers/gpu/nvgpu/pmuif/gpmuifseq.h | |
parent | 8da422ac577338ecb2d4114e1d8d5f36cf4cab78 (diff) |
gpu: nvgpu: move pmuif/* to drivers/gpu/nvgpu/include/nvgpu
Moved pmuif/* headers to drivers/gpu/nvgpu/include/nvgpu folder
to support cross platform feature implementation.
Made changes to files which accessed include pmuif/* to reflect
pmuif/* movement changes.
Deleted includes of gk20a.h/pmu_gk20a.h from pmuif/*.h files.
Jira NVGPU-19
Change-Id: Iace4e107c24bdaff08a407eae3b147959173e485
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1299823
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmuif/gpmuifseq.h')
-rw-r--r-- | drivers/gpu/nvgpu/pmuif/gpmuifseq.h | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifseq.h b/drivers/gpu/nvgpu/pmuif/gpmuifseq.h deleted file mode 100644 index 2927206f..00000000 --- a/drivers/gpu/nvgpu/pmuif/gpmuifseq.h +++ /dev/null | |||
@@ -1,73 +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 | #ifndef _GPMUIFSEQ_H_ | ||
14 | #define _GPMUIFSEQ_H_ | ||
15 | |||
16 | #include <nvgpu/flcnif_cmn.h> | ||
17 | |||
18 | #define PMU_UNIT_SEQ (0x02) | ||
19 | |||
20 | /*! | ||
21 | * @file gpmuifseq.h | ||
22 | * @brief PMU Command/Message Interfaces - Sequencer | ||
23 | */ | ||
24 | |||
25 | /*! | ||
26 | * Defines the identifiers various high-level types of sequencer commands. | ||
27 | * | ||
28 | * _RUN_SCRIPT @ref NV_PMU_SEQ_CMD_RUN_SCRIPT | ||
29 | */ | ||
30 | enum { | ||
31 | NV_PMU_SEQ_CMD_ID_RUN_SCRIPT = 0, | ||
32 | }; | ||
33 | |||
34 | struct nv_pmu_seq_cmd_run_script { | ||
35 | u8 cmd_type; | ||
36 | u8 pad[3]; | ||
37 | struct pmu_allocation_v3 script_alloc; | ||
38 | struct pmu_allocation_v3 reg_alloc; | ||
39 | }; | ||
40 | |||
41 | #define NV_PMU_SEQ_CMD_ALLOC_OFFSET 4 | ||
42 | |||
43 | #define NV_PMU_SEQ_MSG_ALLOC_OFFSET \ | ||
44 | (NV_PMU_SEQ_CMD_ALLOC_OFFSET + NV_PMU_CMD_ALLOC_SIZE) | ||
45 | |||
46 | struct nv_pmu_seq_cmd { | ||
47 | struct pmu_hdr hdr; | ||
48 | union { | ||
49 | u8 cmd_type; | ||
50 | struct nv_pmu_seq_cmd_run_script run_script; | ||
51 | }; | ||
52 | }; | ||
53 | |||
54 | enum { | ||
55 | NV_PMU_SEQ_MSG_ID_RUN_SCRIPT = 0, | ||
56 | }; | ||
57 | |||
58 | struct nv_pmu_seq_msg_run_script { | ||
59 | u8 msg_type; | ||
60 | u8 error_code; | ||
61 | u16 error_pc; | ||
62 | u32 timeout_stat; | ||
63 | }; | ||
64 | |||
65 | struct nv_pmu_seq_msg { | ||
66 | struct pmu_hdr hdr; | ||
67 | union { | ||
68 | u8 msg_type; | ||
69 | struct nv_pmu_seq_msg_run_script run_script; | ||
70 | }; | ||
71 | }; | ||
72 | |||
73 | #endif | ||