summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_api.h61
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h1
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 */
27struct 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
34struct 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
44struct 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
54struct 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