summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 8efb009a..ead1f69e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -41,6 +41,7 @@ struct nvgpu_clk_pll_debug_data;
41struct nvgpu_nvhost_dev; 41struct nvgpu_nvhost_dev;
42struct nvgpu_cpu_time_correlation_sample; 42struct nvgpu_cpu_time_correlation_sample;
43struct nvgpu_mem_sgt; 43struct nvgpu_mem_sgt;
44struct nvgpu_warpstate;
44 45
45#include <nvgpu/lock.h> 46#include <nvgpu/lock.h>
46#include <nvgpu/thread.h> 47#include <nvgpu/thread.h>
@@ -308,7 +309,7 @@ struct gpu_ops {
308 int (*set_sm_debug_mode)(struct gk20a *g, struct channel_gk20a *ch, 309 int (*set_sm_debug_mode)(struct gk20a *g, struct channel_gk20a *ch,
309 u64 sms, bool enable); 310 u64 sms, bool enable);
310 void (*bpt_reg_info)(struct gk20a *g, 311 void (*bpt_reg_info)(struct gk20a *g,
311 struct warpstate *w_state); 312 struct nvgpu_warpstate *w_state);
312 void (*get_access_map)(struct gk20a *g, 313 void (*get_access_map)(struct gk20a *g,
313 u32 **whitelist, int *num_entries); 314 u32 **whitelist, int *num_entries);
314 int (*handle_fecs_error)(struct gk20a *g, 315 int (*handle_fecs_error)(struct gk20a *g,
@@ -407,7 +408,7 @@ struct gpu_ops {
407 void (*load_tpc_mask)(struct gk20a *g); 408 void (*load_tpc_mask)(struct gk20a *g);
408 int (*inval_icache)(struct gk20a *g, struct channel_gk20a *ch); 409 int (*inval_icache)(struct gk20a *g, struct channel_gk20a *ch);
409 int (*trigger_suspend)(struct gk20a *g); 410 int (*trigger_suspend)(struct gk20a *g);
410 int (*wait_for_pause)(struct gk20a *g, struct warpstate *w_state); 411 int (*wait_for_pause)(struct gk20a *g, struct nvgpu_warpstate *w_state);
411 int (*resume_from_pause)(struct gk20a *g); 412 int (*resume_from_pause)(struct gk20a *g);
412 int (*clear_sm_errors)(struct gk20a *g); 413 int (*clear_sm_errors)(struct gk20a *g);
413 u32 (*tpc_enabled_exceptions)(struct gk20a *g); 414 u32 (*tpc_enabled_exceptions)(struct gk20a *g);