aboutsummaryrefslogtreecommitdiffstats
path: root/runlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'runlist.c')
-rw-r--r--runlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runlist.c b/runlist.c
index 94be18e..f6a05ac 100644
--- a/runlist.c
+++ b/runlist.c
@@ -41,6 +41,8 @@ int get_runlist_iter(struct nvdebug_state *g, int rl_id, struct runlist_iter *rl
41 // before because the GPU had simply gone to sleep and invalidated its 41 // before because the GPU had simply gone to sleep and invalidated its
42 // register state, so nvgpu_readl() was simply returning garbage. 42 // register state, so nvgpu_readl() was simply returning garbage.
43 rl_info.raw = nvdebug_readl(g, NV_PFIFO_ENG_RUNLIST(rl_id)); 43 rl_info.raw = nvdebug_readl(g, NV_PFIFO_ENG_RUNLIST(rl_id));
44 if (rl_info.raw == -1)
45 return -EIO;
44 runlist_iova = ((u64)rl_base.ptr) << 12; 46 runlist_iova = ((u64)rl_base.ptr) << 12;
45 printk(KERN_INFO "[nvdebug] Runlist %d @ %llx in %s (config raw: %x)\n", 47 printk(KERN_INFO "[nvdebug] Runlist %d @ %llx in %s (config raw: %x)\n",
46 rl_id, runlist_iova, target_to_text(rl_base.target), rl_base.raw); 48 rl_id, runlist_iova, target_to_text(rl_base.target), rl_base.raw);