summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/perf/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/perf/perf.c')
-rw-r--r--drivers/gpu/nvgpu/perf/perf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c
index 71bbcd40..f8b1daf0 100644
--- a/drivers/gpu/nvgpu/perf/perf.c
+++ b/drivers/gpu/nvgpu/perf/perf.c
@@ -46,8 +46,9 @@ static void perfrpc_pmucmdhandler(struct gk20a *g, struct pmu_msg *msg,
46 return; 46 return;
47 } 47 }
48 48
49 if (phandlerparams->prpccall->b_supported) 49 if (phandlerparams->prpccall->b_supported) {
50 phandlerparams->success = 1; 50 phandlerparams->success = 1;
51 }
51} 52}
52 53
53static int pmu_handle_perf_event(struct gk20a *g, void *pmu_msg) 54static int pmu_handle_perf_event(struct gk20a *g, void *pmu_msg)