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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c
index 58efdd6c..3c27c6fc 100644
--- a/drivers/gpu/nvgpu/perf/perf.c
+++ b/drivers/gpu/nvgpu/perf/perf.c
@@ -30,8 +30,7 @@ static void perfrpc_pmucmdhandler(struct gk20a *g, struct pmu_msg *msg,
30 gk20a_dbg_info(""); 30 gk20a_dbg_info("");
31 31
32 if (msg->msg.perf.msg_type != NV_PMU_PERF_MSG_ID_RPC) { 32 if (msg->msg.perf.msg_type != NV_PMU_PERF_MSG_ID_RPC) {
33 gk20a_err(dev_from_gk20a(g), 33 nvgpu_err(g, "unsupported msg for VFE LOAD RPC %x",
34 "unsupported msg for VFE LOAD RPC %x",
35 msg->msg.perf.msg_type); 34 msg->msg.perf.msg_type);
36 return; 35 return;
37 } 36 }
@@ -97,8 +96,7 @@ u32 perf_pmu_vfe_load(struct gk20a *g)
97 &seqdesc, ~0); 96 &seqdesc, ~0);
98 97
99 if (status) { 98 if (status) {
100 gk20a_err(dev_from_gk20a(g), 99 nvgpu_err(g, "unable to post perf RPC cmd %x",
101 "unable to post perf RPC cmd %x",
102 cmd.cmd.perf.cmd_type); 100 cmd.cmd.perf.cmd_type);
103 goto done; 101 goto done;
104 } 102 }
@@ -109,7 +107,7 @@ u32 perf_pmu_vfe_load(struct gk20a *g)
109 107
110 if (handler.success == 0) { 108 if (handler.success == 0) {
111 status = -EINVAL; 109 status = -EINVAL;
112 gk20a_err(dev_from_gk20a(g), "rpc call to load VFE failed"); 110 nvgpu_err(g, "rpc call to load VFE failed");
113 } 111 }
114done: 112done:
115 return status; 113 return status;