diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e6630ebf..115cd7f4 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -27,6 +27,7 @@ struct fifo_gk20a; | |||
27 | struct channel_gk20a; | 27 | struct channel_gk20a; |
28 | struct gr_gk20a; | 28 | struct gr_gk20a; |
29 | struct sim_gk20a; | 29 | struct sim_gk20a; |
30 | struct gk20a_ctxsw_ucode_segments; | ||
30 | 31 | ||
31 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
32 | #include <linux/spinlock.h> | 33 | #include <linux/spinlock.h> |
@@ -121,6 +122,10 @@ struct gpu_ops { | |||
121 | void (*set_hww_esr_report_mask)(struct gk20a *g); | 122 | void (*set_hww_esr_report_mask)(struct gk20a *g); |
122 | int (*setup_alpha_beta_tables)(struct gk20a *g, | 123 | int (*setup_alpha_beta_tables)(struct gk20a *g, |
123 | struct gr_gk20a *gr); | 124 | struct gr_gk20a *gr); |
125 | int (*falcon_load_ucode)(struct gk20a *g, | ||
126 | u64 addr_base, | ||
127 | struct gk20a_ctxsw_ucode_segments *segments, | ||
128 | u32 reg_offset); | ||
124 | } gr; | 129 | } gr; |
125 | const char *name; | 130 | const char *name; |
126 | struct { | 131 | struct { |