summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-11-07 11:50:22 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-07 20:19:03 -0500
commit33bd07db7ddceb715be65e56604195721ff4da77 (patch)
tree5601bff484caa453ec2db294dabb099a2eb454d0 /drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
parent760f8dd7fbbfaee7607d10c38fe013f9cb069cd7 (diff)
gpu: nvgpu: Fix type defs in dbg_gpu_gk20a.h
dbg_gpu_gk20a.h used implictly definitions that it did not forward declare or #include definitions for. Also regops_whitelist fields were unused. The type itself is not defined anywhere. Delete the fields. Change-Id: I4b002247c67a4ce4cb54810720b0bbc06381bf83 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1593681 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h14
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
31struct gk20a;
32struct channel_gk20a;
33struct dbg_session_gk20a;
28 34
29/* used by the interrupt handler to post events */ 35/* used by the interrupt handler to post events */
30void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch); 36void 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 */