gpu: nvgpu: Added GPMU app version for T18x

Added app version which allows to load & boot T18x GPMU.

Bug 200064127

Change-Id: Iebcfcb984bfbdcd3fb55cf2155c5e75831d5ad95
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/663141
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Mahantesh Kumbar
2014-12-12 15:25:03 +05:30
committed by Dan Willemsen
parent d37aa77ab5
commit e00ec6230d
2 changed files with 2 additions and 0 deletions

View File

@@ -700,6 +700,7 @@ int gk20a_init_pmu(struct pmu_gk20a *pmu)
pmu->remove_support = gk20a_remove_pmu_support;
switch (pmu->desc->app_version) {
case APP_VERSION:
case APP_VERSION_GM20B_4:
g->ops.pmu_ver.get_perfmon_cntr_ptr = get_perfmon_cntr_ptr_v2;
g->ops.pmu_ver.set_perfmon_cntr_ut = set_perfmon_cntr_ut_v2;

View File

@@ -49,6 +49,7 @@
/* Mapping between AP_CTRLs and Idle counters */
#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1)
#define APP_VERSION 19123622
#define APP_VERSION_GM20B_4 19008461
#define APP_VERSION_GM20B_3 18935575
#define APP_VERSION_GM20B_2 18694072