summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2016-03-07 17:23:12 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-04-11 18:38:12 -0400
commit60b715e85600a6be283e54c610c2a3db3b552059 (patch)
treeaaf2332b8a03c5869a1be74843eae5ea5ccb99be /drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
parent6eeabfbdd08e48f924885952c80ff41aa2b534b7 (diff)
gpu: nvgpu: vgpu: add fecs trace support
Bug 1648908 Change-Id: I7901e7bce5f7aa124a188101dd0736241d87bd53 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: http://git-master/r/1031861 Reviewed-on: http://git-master/r/1121261 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
index c57d95d1..7a2f4aeb 100644
--- a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h
@@ -17,6 +17,7 @@
17#define GK20A_CTXSW_TRACE_NUM_DEVS 1 17#define GK20A_CTXSW_TRACE_NUM_DEVS 1
18 18
19struct gk20a; 19struct gk20a;
20struct gpu_ops;
20struct nvgpu_ctxsw_trace_entry; 21struct nvgpu_ctxsw_trace_entry;
21struct channel_gk20a; 22struct channel_gk20a;
22struct channel_ctx_gk20a; 23struct channel_ctx_gk20a;
@@ -37,5 +38,6 @@ int gk20a_ctxsw_trace_setup(struct gk20a *, void *ctx_ptr);
37void gk20a_ctxsw_trace_cleanup(struct gk20a *); 38void gk20a_ctxsw_trace_cleanup(struct gk20a *);
38int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *); 39int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *);
39void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid); 40void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid);
41void gk20a_ctxsw_trace_init_ops(struct gpu_ops *ops);
40 42
41#endif /* __CTXSW_TRACE_GK20A_H */ 43#endif /* __CTXSW_TRACE_GK20A_H */