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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index 84161304..e7a8b7c2 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -25,6 +25,8 @@
25#include <nvgpu/flcnif_cmn.h> 25#include <nvgpu/flcnif_cmn.h>
26#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h> 26#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
27 27
28struct nvgpu_firmware;
29
28/* defined by pmu hw spec */ 30/* defined by pmu hw spec */
29#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024) 31#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024)
30#define GK20A_PMU_UCODE_SIZE_MAX (256 * 1024) 32#define GK20A_PMU_UCODE_SIZE_MAX (256 * 1024)
@@ -394,7 +396,7 @@ struct pmu_gk20a {
394 u32 aelpg_param[5]; 396 u32 aelpg_param[5];
395 u32 override_done; 397 u32 override_done;
396 398
397 const struct firmware *fw; 399 struct nvgpu_firmware *fw;
398}; 400};
399 401
400int gk20a_init_pmu_support(struct gk20a *g); 402int gk20a_init_pmu_support(struct gk20a *g);