summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/channel.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/channel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.c b/drivers/gpu/nvgpu/common/linux/channel.c
index 8f2adc3a..d767374b 100644
--- a/drivers/gpu/nvgpu/common/linux/channel.c
+++ b/drivers/gpu/nvgpu/common/linux/channel.c
@@ -834,7 +834,7 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
834 /* update debug settings */ 834 /* update debug settings */
835 nvgpu_ltc_sync_enabled(g); 835 nvgpu_ltc_sync_enabled(g);
836 836
837 gk20a_dbg_info("channel %d", c->chid); 837 nvgpu_log_info(g, "channel %d", c->chid);
838 838
839 /* 839 /*
840 * Job tracking is necessary for any of the following conditions: 840 * Job tracking is necessary for any of the following conditions:
@@ -943,7 +943,7 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
943 fence ? fence->id : 0, 943 fence ? fence->id : 0,
944 fence ? fence->value : 0); 944 fence ? fence->value : 0);
945 945
946 gk20a_dbg_info("pre-submit put %d, get %d, size %d", 946 nvgpu_log_info(g, "pre-submit put %d, get %d, size %d",
947 c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num); 947 c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num);
948 948
949 /* 949 /*
@@ -1023,18 +1023,18 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
1023 post_fence ? post_fence->syncpt_id : 0, 1023 post_fence ? post_fence->syncpt_id : 0,
1024 post_fence ? post_fence->syncpt_value : 0); 1024 post_fence ? post_fence->syncpt_value : 0);
1025 1025
1026 gk20a_dbg_info("post-submit put %d, get %d, size %d", 1026 nvgpu_log_info(g, "post-submit put %d, get %d, size %d",
1027 c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num); 1027 c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num);
1028 1028
1029 if (profile) 1029 if (profile)
1030 profile->timestamp[PROFILE_END] = sched_clock(); 1030 profile->timestamp[PROFILE_END] = sched_clock();
1031 gk20a_dbg_fn("done"); 1031 nvgpu_log_fn(g, "done");
1032 return err; 1032 return err;
1033 1033
1034clean_up_job: 1034clean_up_job:
1035 channel_gk20a_free_job(c, job); 1035 channel_gk20a_free_job(c, job);
1036clean_up: 1036clean_up:
1037 gk20a_dbg_fn("fail"); 1037 nvgpu_log_fn(g, "fail");
1038 gk20a_fence_put(post_fence); 1038 gk20a_fence_put(post_fence);
1039 if (c->deterministic) 1039 if (c->deterministic)
1040 nvgpu_rwsem_up_read(&g->deterministic_busy); 1040 nvgpu_rwsem_up_read(&g->deterministic_busy);