diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 4af23e3d..bccd4100 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -487,6 +487,7 @@ static int gk20a_init_pmu(struct pmu_gk20a *pmu) | |||
487 | struct gk20a *g = pmu->g; | 487 | struct gk20a *g = pmu->g; |
488 | switch (pmu->desc->app_version) { | 488 | switch (pmu->desc->app_version) { |
489 | case APP_VERSION_1: | 489 | case APP_VERSION_1: |
490 | case APP_VERSION_2: | ||
490 | g->ops.pmu_ver.cmd_id_zbc_table_update = 16; | 491 | g->ops.pmu_ver.cmd_id_zbc_table_update = 16; |
491 | g->ops.pmu_ver.get_pmu_cmdline_args_size = | 492 | g->ops.pmu_ver.get_pmu_cmdline_args_size = |
492 | pmu_cmdline_size_v1; | 493 | pmu_cmdline_size_v1; |
@@ -618,7 +619,8 @@ static int gk20a_init_pmu(struct pmu_gk20a *pmu) | |||
618 | break; | 619 | break; |
619 | default: | 620 | default: |
620 | gk20a_err(dev_from_gk20a(pmu->g), | 621 | gk20a_err(dev_from_gk20a(pmu->g), |
621 | "PMU code version not supported\n"); | 622 | "PMU code version not supported version: %d\n", |
623 | pmu->desc->app_version); | ||
622 | return -EINVAL; | 624 | return -EINVAL; |
623 | break; | 625 | break; |
624 | } | 626 | } |