summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index d36b5d34..2f71e13a 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -1081,7 +1081,7 @@ static void gk20a_channel_dump_ref_actions(struct channel_gk20a *ch)
1081 1081
1082 spin_lock(&ch->ref_actions_lock); 1082 spin_lock(&ch->ref_actions_lock);
1083 1083
1084 dev_info(d, "ch %d: refs %d. Actions, most recent last:\n", 1084 dev_info(dev, "ch %d: refs %d. Actions, most recent last:\n",
1085 ch->hw_chid, atomic_read(&ch->ref_count)); 1085 ch->hw_chid, atomic_read(&ch->ref_count));
1086 1086
1087 /* start at the oldest possible entry. put is next insertion point */ 1087 /* start at the oldest possible entry. put is next insertion point */
@@ -1095,7 +1095,7 @@ static void gk20a_channel_dump_ref_actions(struct channel_gk20a *ch)
1095 struct channel_gk20a_ref_action *act = &ch->ref_actions[get]; 1095 struct channel_gk20a_ref_action *act = &ch->ref_actions[get];
1096 1096
1097 if (act->trace.nr_entries) { 1097 if (act->trace.nr_entries) {
1098 dev_info(d, "%s ref %zu steps ago (age %d ms, diff %d ms)\n", 1098 dev_info(dev, "%s ref %zu steps ago (age %d ms, diff %d ms)\n",
1099 act->type == channel_gk20a_ref_action_get 1099 act->type == channel_gk20a_ref_action_get
1100 ? "GET" : "PUT", 1100 ? "GET" : "PUT",
1101 GK20A_CHANNEL_REFCOUNT_TRACKING - 1 - i, 1101 GK20A_CHANNEL_REFCOUNT_TRACKING - 1 - i,