summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 26ed3a49..0a2d36fe 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -39,6 +39,10 @@
39#include "nvgpu_gpuid_t18x.h" 39#include "nvgpu_gpuid_t18x.h"
40#endif 40#endif
41 41
42#ifdef CONFIG_TEGRA_19x_GPU
43#include "nvgpu_gpuid_t19x.h"
44#endif
45
42#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" 46#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin"
43 47
44#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000 48#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000
@@ -3711,6 +3715,11 @@ static u8 get_perfmon_id(struct pmu_gk20a *pmu)
3711 unit_id = PMU_UNIT_PERFMON_T18X; 3715 unit_id = PMU_UNIT_PERFMON_T18X;
3712 break; 3716 break;
3713#endif 3717#endif
3718#if defined(CONFIG_TEGRA_19x_GPU)
3719 case TEGRA_19x_GPUID:
3720 unit_id = PMU_UNIT_PERFMON_T18X;
3721 break;
3722#endif
3714 case GK20A_GPUID_GM206: 3723 case GK20A_GPUID_GM206:
3715 case GK20A_GPUID_GM204: 3724 case GK20A_GPUID_GM204:
3716 unit_id = PMU_UNIT_PERFMON_T18X; 3725 unit_id = PMU_UNIT_PERFMON_T18X;