diff --git a/drivers/gpu/nvgpu/hal/fifo/preempt_gv11b_fusa.c b/drivers/gpu/nvgpu/hal/fifo/preempt_gv11b_fusa.c index c50fe11e6..0a8fb5cc5 100644 --- a/drivers/gpu/nvgpu/hal/fifo/preempt_gv11b_fusa.c +++ b/drivers/gpu/nvgpu/hal/fifo/preempt_gv11b_fusa.c @@ -197,6 +197,10 @@ int gv11b_fifo_preempt_poll_pbdma(struct gk20a *g, u32 tsgid, } loop_count++; } + + g->ops.pbdma_status.read_pbdma_status_info(g, + pbdma_id, &pbdma_status); + /* * If the PBDMA has a stalling interrupt and receives a NACK, * the PBDMA won't save out until the STALLING interrupt is diff --git a/drivers/gpu/nvgpu/include/nvgpu/gops_pbdma.h b/drivers/gpu/nvgpu/include/nvgpu/gops_pbdma.h index 6c40f957d..c330404b0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/gops_pbdma.h +++ b/drivers/gpu/nvgpu/include/nvgpu/gops_pbdma.h @@ -35,7 +35,7 @@ struct nvgpu_debug_context; struct gops_pbdma_status { void (*read_pbdma_status_info)(struct gk20a *g, - u32 engine_id, struct nvgpu_pbdma_status_info *status); + u32 pbdma_id, struct nvgpu_pbdma_status_info *status); }; struct gops_pbdma {