From 4deb494ad114088f5253d02d9ec31f9aaeb2778a Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Tue, 28 Feb 2017 11:03:09 -0800 Subject: gpu: nvgpu: debug dump enablement for t19x Fifo ops added for dumping channel & ramfc status and pbdma & engine status. Change-Id: Icc739f4f05f0864721954489517fefdfa2fa608a Signed-off-by: Seema Khowala Reviewed-on: http://git-master/r/1302369 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e55753fe..12c9a3ea 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -438,6 +438,13 @@ struct gpu_ops { void (*free_channel_ctx_header)(struct channel_gk20a *ch); bool (*is_fault_engine_subid_gpc)(struct gk20a *g, u32 engine_subid); + void (*dump_pbdma_status)(struct gk20a *g, + struct gk20a_debug_output *o); + void (*dump_eng_status)(struct gk20a *g, + struct gk20a_debug_output *o); + void (*dump_channel_status_ramfc)(struct gk20a *g, + struct gk20a_debug_output *o, u32 hw_chid, + struct ch_state *ch_state); } fifo; struct pmu_v { /*used for change of enum zbc update cmd id from ver 0 to ver1*/ -- cgit v1.2.2