diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu')
-rw-r--r-- | drivers/gpu/nvgpu/common/pmu/pmu_perfmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_perfmon.c b/drivers/gpu/nvgpu/common/pmu/pmu_perfmon.c index f0307d96..2b952868 100644 --- a/drivers/gpu/nvgpu/common/pmu/pmu_perfmon.c +++ b/drivers/gpu/nvgpu/common/pmu/pmu_perfmon.c | |||
@@ -35,7 +35,7 @@ | |||
35 | static u8 get_perfmon_id(struct nvgpu_pmu *pmu) | 35 | static u8 get_perfmon_id(struct nvgpu_pmu *pmu) |
36 | { | 36 | { |
37 | struct gk20a *g = gk20a_from_pmu(pmu); | 37 | struct gk20a *g = gk20a_from_pmu(pmu); |
38 | u32 ver = g->gpu_characteristics.arch + g->gpu_characteristics.impl; | 38 | u32 ver = g->params.gpu_arch + g->params.gpu_impl; |
39 | u8 unit_id; | 39 | u8 unit_id; |
40 | 40 | ||
41 | switch (ver) { | 41 | switch (ver) { |