summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c1
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 7cc248fa..0328e100 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -1005,6 +1005,7 @@ int gk20a_init_pmu(struct pmu_gk20a *pmu)
1005 pmu->remove_support = gk20a_remove_pmu_support; 1005 pmu->remove_support = gk20a_remove_pmu_support;
1006 1006
1007 switch (pmu->desc->app_version) { 1007 switch (pmu->desc->app_version) {
1008 case APP_VERSION_T186_1:
1008 case APP_VERSION_T186_0: 1009 case APP_VERSION_T186_0:
1009 g->ops.pmu_ver.pg_cmd_eng_buf_load_size = 1010 g->ops.pmu_ver.pg_cmd_eng_buf_load_size =
1010 pg_cmd_eng_buf_load_size_v1; 1011 pg_cmd_eng_buf_load_size_v1;
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index 0d7d7435..bbfcf4ee 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -49,6 +49,7 @@
49/* Mapping between AP_CTRLs and Idle counters */ 49/* Mapping between AP_CTRLs and Idle counters */
50#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1) 50#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1)
51 51
52#define APP_VERSION_T186_1 19870492
52#define APP_VERSION_T186_0 19842227 53#define APP_VERSION_T186_0 19842227
53#define APP_VERSION_GM20B_4 19008461 54#define APP_VERSION_GM20B_4 19008461
54#define APP_VERSION_GM20B_3 18935575 55#define APP_VERSION_GM20B_3 18935575