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>
This commit is contained in:
Terje Bergstrom
2017-11-07 08:50:22 -08:00
committed by mobile promotions
parent 760f8dd7fb
commit 33bd07db7d

View File

@@ -25,6 +25,12 @@
#define DBG_GPU_H
#include <nvgpu/cond.h>
#include <nvgpu/lock.h>
#include <nvgpu/list.h>
struct gk20a;
struct channel_gk20a;
struct dbg_session_gk20a;
/* used by the interrupt handler to post events */
void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch);
@@ -54,14 +60,6 @@ struct dbg_session_gk20a {
/* timeouts enabled or disabled */
bool is_timeout_disabled;
/*
* There can be different versions of the whitelists
* between both global and per-context sets; as well
* as between debugger and profiler interfaces.
*/
struct regops_whitelist *global;
struct regops_whitelist *per_context;
struct gk20a *g;
/* list of bound channels, if any */