diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h index d50ce844..781e2176 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | |||
@@ -25,6 +25,12 @@ | |||
25 | #define DBG_GPU_H | 25 | #define DBG_GPU_H |
26 | 26 | ||
27 | #include <nvgpu/cond.h> | 27 | #include <nvgpu/cond.h> |
28 | #include <nvgpu/lock.h> | ||
29 | #include <nvgpu/list.h> | ||
30 | |||
31 | struct gk20a; | ||
32 | struct channel_gk20a; | ||
33 | struct dbg_session_gk20a; | ||
28 | 34 | ||
29 | /* used by the interrupt handler to post events */ | 35 | /* used by the interrupt handler to post events */ |
30 | void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch); | 36 | void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch); |
@@ -54,14 +60,6 @@ struct dbg_session_gk20a { | |||
54 | /* timeouts enabled or disabled */ | 60 | /* timeouts enabled or disabled */ |
55 | bool is_timeout_disabled; | 61 | bool is_timeout_disabled; |
56 | 62 | ||
57 | /* | ||
58 | * There can be different versions of the whitelists | ||
59 | * between both global and per-context sets; as well | ||
60 | * as between debugger and profiler interfaces. | ||
61 | */ | ||
62 | struct regops_whitelist *global; | ||
63 | struct regops_whitelist *per_context; | ||
64 | |||
65 | struct gk20a *g; | 63 | struct gk20a *g; |
66 | 64 | ||
67 | /* list of bound channels, if any */ | 65 | /* list of bound channels, if any */ |