summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/pmu/pmu_ipc.c')
-rw-r--r--drivers/gpu/nvgpu/common/pmu/pmu_ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
index 6f1ca88a..f116df13 100644
--- a/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
+++ b/drivers/gpu/nvgpu/common/pmu/pmu_ipc.c
@@ -607,8 +607,8 @@ static int pmu_handle_event(struct nvgpu_pmu *pmu, struct pmu_msg *msg)
607 err = nvgpu_pmu_handle_perfmon_event(pmu, &msg->msg.perfmon); 607 err = nvgpu_pmu_handle_perfmon_event(pmu, &msg->msg.perfmon);
608 break; 608 break;
609 case PMU_UNIT_PERF: 609 case PMU_UNIT_PERF:
610 if (g->ops.perf.handle_pmu_perf_event != NULL) { 610 if (g->ops.pmu_perf.handle_pmu_perf_event != NULL) {
611 err = g->ops.perf.handle_pmu_perf_event(g, 611 err = g->ops.pmu_perf.handle_pmu_perf_event(g,
612 (void *)&msg->msg.perf); 612 (void *)&msg->msg.perf);
613 } else { 613 } else {
614 WARN_ON(true); 614 WARN_ON(true);