summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index 84377d0b..dc23005e 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -23,7 +23,7 @@
23 23
24#include <linux/version.h> 24#include <linux/version.h>
25#include "pmu_api.h" 25#include "pmu_api.h"
26#include "pmu_common.h" 26#include <nvgpu/flcnif_cmn.h>
27#include "pmuif/nvgpu_gpmu_cmdif.h" 27#include "pmuif/nvgpu_gpmu_cmdif.h"
28 28
29/* defined by pmu hw spec */ 29/* defined by pmu hw spec */
@@ -124,21 +124,6 @@ struct pmu_ucode_desc_v1 {
124 u32 compressed; 124 u32 compressed;
125}; 125};
126 126
127#define PMU_DMEM_ALLOC_ALIGNMENT (4)
128#define PMU_DMEM_ALIGNMENT (4)
129
130#define PMU_CMD_FLAGS_PMU_MASK (0xF0)
131
132#define PMU_CMD_FLAGS_STATUS BIT(0)
133#define PMU_CMD_FLAGS_INTR BIT(1)
134#define PMU_CMD_FLAGS_EVENT BIT(2)
135#define PMU_CMD_FLAGS_WATERMARK BIT(3)
136
137#define PMU_MSG_HDR_SIZE sizeof(struct pmu_hdr)
138#define PMU_CMD_HDR_SIZE sizeof(struct pmu_hdr)
139
140
141
142/***************************** ACR ERROR CODES ******************************/ 127/***************************** ACR ERROR CODES ******************************/
143/*! 128/*!
144 * Error codes used in PMU-ACR Task 129 * Error codes used in PMU-ACR Task