diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/clk_arb.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/clk_arb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/clk_arb.c b/drivers/gpu/nvgpu/common/linux/clk_arb.c index 7cb3752a..85d9d11c 100644 --- a/drivers/gpu/nvgpu/common/linux/clk_arb.c +++ b/drivers/gpu/nvgpu/common/linux/clk_arb.c | |||
@@ -766,7 +766,7 @@ static void nvgpu_clk_arb_run_arbiter_cb(struct work_struct *work) | |||
766 | 766 | ||
767 | #endif | 767 | #endif |
768 | 768 | ||
769 | gk20a_dbg_fn(""); | 769 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_clk_arb, " "); |
770 | 770 | ||
771 | /* bail out if gpu is down */ | 771 | /* bail out if gpu is down */ |
772 | if (nvgpu_atomic64_read(&arb->alarm_mask) & EVENT(ALARM_GPU_LOST)) | 772 | if (nvgpu_atomic64_read(&arb->alarm_mask) & EVENT(ALARM_GPU_LOST)) |
@@ -1045,7 +1045,7 @@ int nvgpu_clk_arb_init_arbiter(struct gk20a *g) | |||
1045 | int index; | 1045 | int index; |
1046 | struct nvgpu_clk_vf_table *table; | 1046 | struct nvgpu_clk_vf_table *table; |
1047 | 1047 | ||
1048 | gk20a_dbg_fn(""); | 1048 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_clk_arb, " "); |
1049 | 1049 | ||
1050 | if (!g->ops.clk_arb.get_arbiter_clk_domains) | 1050 | if (!g->ops.clk_arb.get_arbiter_clk_domains) |
1051 | return 0; | 1051 | return 0; |
@@ -1230,7 +1230,7 @@ int nvgpu_clk_arb_init_session(struct gk20a *g, | |||
1230 | struct nvgpu_clk_arb *arb = g->clk_arb; | 1230 | struct nvgpu_clk_arb *arb = g->clk_arb; |
1231 | struct nvgpu_clk_session *session = *(_session); | 1231 | struct nvgpu_clk_session *session = *(_session); |
1232 | 1232 | ||
1233 | gk20a_dbg_fn(""); | 1233 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_clk_arb, " "); |
1234 | 1234 | ||
1235 | if (!g->ops.clk_arb.get_arbiter_clk_domains) | 1235 | if (!g->ops.clk_arb.get_arbiter_clk_domains) |
1236 | return 0; | 1236 | return 0; |
@@ -1279,7 +1279,7 @@ void nvgpu_clk_arb_free_session(struct nvgpu_ref *refcount) | |||
1279 | struct nvgpu_clk_dev *dev, *tmp; | 1279 | struct nvgpu_clk_dev *dev, *tmp; |
1280 | struct llist_node *head; | 1280 | struct llist_node *head; |
1281 | 1281 | ||
1282 | gk20a_dbg_fn(""); | 1282 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_clk_arb, " "); |
1283 | 1283 | ||
1284 | if (arb) { | 1284 | if (arb) { |
1285 | nvgpu_spinlock_acquire(&arb->sessions_lock); | 1285 | nvgpu_spinlock_acquire(&arb->sessions_lock); |
@@ -1300,7 +1300,7 @@ void nvgpu_clk_arb_release_session(struct gk20a *g, | |||
1300 | { | 1300 | { |
1301 | struct nvgpu_clk_arb *arb = g->clk_arb; | 1301 | struct nvgpu_clk_arb *arb = g->clk_arb; |
1302 | 1302 | ||
1303 | gk20a_dbg_fn(""); | 1303 | nvgpu_log(g, gpu_dbg_fn | gpu_dbg_clk_arb, " "); |
1304 | 1304 | ||
1305 | session->zombie = true; | 1305 | session->zombie = true; |
1306 | nvgpu_ref_put(&session->refcount, nvgpu_clk_arb_free_session); | 1306 | nvgpu_ref_put(&session->refcount, nvgpu_clk_arb_free_session); |