summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-02-28 14:03:09 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-09 15:23:29 -0500
commit4deb494ad114088f5253d02d9ec31f9aaeb2778a (patch)
tree7f13dee2f64dd4ebe121aaf820d16ec0aae529ff /drivers/gpu/nvgpu/gk20a/gk20a.h
parent2caea7576a42c5f6593c58229d51f74517e0c60c (diff)
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 <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1302369 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h7
1 files changed, 7 insertions, 0 deletions
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 {
438 void (*free_channel_ctx_header)(struct channel_gk20a *ch); 438 void (*free_channel_ctx_header)(struct channel_gk20a *ch);
439 bool (*is_fault_engine_subid_gpc)(struct gk20a *g, 439 bool (*is_fault_engine_subid_gpc)(struct gk20a *g,
440 u32 engine_subid); 440 u32 engine_subid);
441 void (*dump_pbdma_status)(struct gk20a *g,
442 struct gk20a_debug_output *o);
443 void (*dump_eng_status)(struct gk20a *g,
444 struct gk20a_debug_output *o);
445 void (*dump_channel_status_ramfc)(struct gk20a *g,
446 struct gk20a_debug_output *o, u32 hw_chid,
447 struct ch_state *ch_state);
441 } fifo; 448 } fifo;
442 struct pmu_v { 449 struct pmu_v {
443 /*used for change of enum zbc update cmd id from ver 0 to ver1*/ 450 /*used for change of enum zbc update cmd id from ver 0 to ver1*/