mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: gm20b: support new pmu ucode revision
bug 200042729 Change-Id: Ic4b4fa4c25f4017a69355e7f03a3f25d4ce92cff Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/552554 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
e58fddb0d5
commit
f26a620ad4
@@ -659,6 +659,7 @@ int gk20a_init_pmu(struct pmu_gk20a *pmu)
|
|||||||
pmu->remove_support = gk20a_remove_pmu_support;
|
pmu->remove_support = gk20a_remove_pmu_support;
|
||||||
|
|
||||||
switch (pmu->desc->app_version) {
|
switch (pmu->desc->app_version) {
|
||||||
|
case APP_VERSION_GM20B_3:
|
||||||
case APP_VERSION_GM20B_2:
|
case APP_VERSION_GM20B_2:
|
||||||
g->ops.pmu_ver.get_perfmon_cntr_ptr = get_perfmon_cntr_ptr_v2;
|
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;
|
g->ops.pmu_ver.set_perfmon_cntr_ut = set_perfmon_cntr_ut_v2;
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
/* Mapping between AP_CTRLs and Idle counters */
|
/* Mapping between AP_CTRLs and Idle counters */
|
||||||
#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1)
|
#define PMU_AP_IDLE_MASK_GRAPHICS (PMU_AP_IDLE_MASK_HIST_IDX_1)
|
||||||
|
|
||||||
|
#define APP_VERSION_GM20B_3 18935575
|
||||||
#define APP_VERSION_GM20B_2 18694072
|
#define APP_VERSION_GM20B_2 18694072
|
||||||
#define APP_VERSION_GM20B_1 18547257
|
#define APP_VERSION_GM20B_1 18547257
|
||||||
#define APP_VERSION_GM20B 17615280
|
#define APP_VERSION_GM20B 17615280
|
||||||
|
|||||||
Reference in New Issue
Block a user