diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c index 58d8fda1..f9cddc41 100644 --- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | |||
@@ -624,12 +624,13 @@ static int gk20a_fecs_trace_bind_channel(struct gk20a *g, | |||
624 | 624 | ||
625 | gk20a_dbg(gpu_dbg_fn|gpu_dbg_ctxsw, | 625 | gk20a_dbg(gpu_dbg_fn|gpu_dbg_ctxsw, |
626 | "hw_chid=%d context_ptr=%x inst_block=%llx", | 626 | "hw_chid=%d context_ptr=%x inst_block=%llx", |
627 | ch->hw_chid, context_ptr, gk20a_mem_phys(&ch->inst_block)); | 627 | ch->hw_chid, context_ptr, |
628 | gk20a_mm_inst_block_addr(g, &ch->inst_block)); | ||
628 | 629 | ||
629 | if (!trace) | 630 | if (!trace) |
630 | return -ENOMEM; | 631 | return -ENOMEM; |
631 | 632 | ||
632 | pa = gk20a_mem_phys(&trace->trace_buf); | 633 | pa = gk20a_mm_inst_block_addr(g, &trace->trace_buf); |
633 | if (!pa) | 634 | if (!pa) |
634 | return -ENOMEM; | 635 | return -ENOMEM; |
635 | 636 | ||