gpu: nvgpu: update gpmu supported versions

Updated gmpu ucode versions supported for gm20b.
Bug 1514021

Change-Id: If9cbde60449f5cc2b9c39c36ab5c79985d320bf8
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/418479
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Seshendra Gadagottu
2014-06-03 12:34:32 -07:00
committed by Dan Willemsen
parent 7d917f43a5
commit 4e9030f34d
2 changed files with 4 additions and 1 deletions

View File

@@ -487,6 +487,7 @@ static int gk20a_init_pmu(struct pmu_gk20a *pmu)
struct gk20a *g = pmu->g;
switch (pmu->desc->app_version) {
case APP_VERSION_1:
case APP_VERSION_2:
g->ops.pmu_ver.cmd_id_zbc_table_update = 16;
g->ops.pmu_ver.get_pmu_cmdline_args_size =
pmu_cmdline_size_v1;
@@ -618,7 +619,8 @@ static int gk20a_init_pmu(struct pmu_gk20a *pmu)
break;
default:
gk20a_err(dev_from_gk20a(pmu->g),
"PMU code version not supported\n");
"PMU code version not supported version: %d\n",
pmu->desc->app_version);
return -EINVAL;
break;
}

View File

@@ -51,6 +51,7 @@
/* Mapping between AP_CTRLs and Idle counters */
#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1)
#define APP_VERSION_2 18542378
#define APP_VERSION_1 17997577
#define APP_VERSION_0 16856675