nvgpu: pmu: Update perfmon unit ID for T19x.

update perfmon id for t19x in get_perfmon_id().

JIRA GV11B-30

Change-Id: I7c76b49cc47f8de1e6fa9492e2986830dcff901f
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: http://git-master/r/1284763
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Goyal
2017-01-13 14:43:43 +05:30
committed by mobile promotions
parent fbc713e22a
commit bbea338b44

View File

@@ -39,6 +39,10 @@
#include "nvgpu_gpuid_t18x.h" #include "nvgpu_gpuid_t18x.h"
#endif #endif
#ifdef CONFIG_TEGRA_19x_GPU
#include "nvgpu_gpuid_t19x.h"
#endif
#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" #define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin"
#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000 #define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000
@@ -3710,6 +3714,11 @@ static u8 get_perfmon_id(struct pmu_gk20a *pmu)
case TEGRA_18x_GPUID3: case TEGRA_18x_GPUID3:
unit_id = PMU_UNIT_PERFMON_T18X; unit_id = PMU_UNIT_PERFMON_T18X;
break; break;
#endif
#if defined(CONFIG_TEGRA_19x_GPU)
case TEGRA_19x_GPUID:
unit_id = PMU_UNIT_PERFMON_T18X;
break;
#endif #endif
case GK20A_GPUID_GM206: case GK20A_GPUID_GM206:
case GK20A_GPUID_GM204: case GK20A_GPUID_GM204: