summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-01-20 04:48:04 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-01-21 12:29:05 -0500
commit0bade2cb45cce254321454ee068706ea46c301e2 (patch)
treec6f61e97f4f65abdc83616e58ce7285daa0cc05b /drivers
parentf28526bb727679de8016c66607a204f5c294b014 (diff)
gpu: nvgpu: pmu version update
- ucode CL http://git-master/r/#/c/935012/ - EXTERR exception for ZBC L2 regsiters access during ELPG entry/exit. FIX : ZBC L2 is not part of GR, so ZBC L2 rigsters save/restore not required for ELPG entry/exit, P4 CL 20360931 - 10 msec as GR_FECS_SUBMIT_METHOD_TIMEOUT_US, P4 CL 20313730 - keep disabled ELCG till Clear DAT_RESTORE interrupt at ELPG exit path, P4 CL 20313676 Bug 1712507 Bug 200166877 Change-Id: I2c9843cfd18cd3b513ee6587d1a79e7034b19cae Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/935019 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c6
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 0ff3838a..f73706a2 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A PMU (aka. gPMU outside gk20a context) 2 * GK20A PMU (aka. gPMU outside gk20a context)
3 * 3 *
4 * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -1005,8 +1005,8 @@ 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_NC_1:
1009 case APP_VERSION_T186_0: 1009 case APP_VERSION_NC_0:
1010 g->ops.pmu_ver.pg_cmd_eng_buf_load_size = 1010 g->ops.pmu_ver.pg_cmd_eng_buf_load_size =
1011 pg_cmd_eng_buf_load_size_v1; 1011 pg_cmd_eng_buf_load_size_v1;
1012 g->ops.pmu_ver.pg_cmd_eng_buf_load_set_cmd_type = 1012 g->ops.pmu_ver.pg_cmd_eng_buf_load_set_cmd_type =
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index e0bee727..bf581b90 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -3,7 +3,7 @@
3 * 3 *
4 * GK20A PMU (aka. gPMU outside gk20a context) 4 * GK20A PMU (aka. gPMU outside gk20a context)
5 * 5 *
6 * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved. 6 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License, 9 * under the terms and conditions of the GNU General Public License,
@@ -49,8 +49,8 @@
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_NC_1 20313802
53#define APP_VERSION_T186_0 20120791 53#define APP_VERSION_NC_0 20120791
54#define APP_VERSION_GM20B_4 19008461 54#define APP_VERSION_GM20B_4 19008461
55#define APP_VERSION_GM20B_3 18935575 55#define APP_VERSION_GM20B_3 18935575
56#define APP_VERSION_GM20B_2 18694072 56#define APP_VERSION_GM20B_2 18694072