diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-03-07 17:23:12 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-11 18:38:12 -0400 |
commit | 60b715e85600a6be283e54c610c2a3db3b552059 (patch) | |
tree | aaf2332b8a03c5869a1be74843eae5ea5ccb99be /drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.h | |
parent | 6eeabfbdd08e48f924885952c80ff41aa2b534b7 (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.h | 2 |
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 | ||
19 | struct gk20a; | 19 | struct gk20a; |
20 | struct gpu_ops; | ||
20 | struct nvgpu_ctxsw_trace_entry; | 21 | struct nvgpu_ctxsw_trace_entry; |
21 | struct channel_gk20a; | 22 | struct channel_gk20a; |
22 | struct channel_ctx_gk20a; | 23 | struct channel_ctx_gk20a; |
@@ -37,5 +38,6 @@ int gk20a_ctxsw_trace_setup(struct gk20a *, void *ctx_ptr); | |||
37 | void gk20a_ctxsw_trace_cleanup(struct gk20a *); | 38 | void gk20a_ctxsw_trace_cleanup(struct gk20a *); |
38 | int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *); | 39 | int gk20a_ctxsw_trace_write(struct gk20a *, struct nvgpu_ctxsw_trace_entry *); |
39 | void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid); | 40 | void gk20a_ctxsw_trace_wake_up(struct gk20a *g, int vmid); |
41 | void gk20a_ctxsw_trace_init_ops(struct gpu_ops *ops); | ||
40 | 42 | ||
41 | #endif /* __CTXSW_TRACE_GK20A_H */ | 43 | #endif /* __CTXSW_TRACE_GK20A_H */ |