diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index ef43d29a..75c6ef89 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -144,6 +144,16 @@ struct gpu_ops { | |||
144 | int (*add_zbc_depth)(struct gk20a *g, struct gr_gk20a *gr, | 144 | int (*add_zbc_depth)(struct gk20a *g, struct gr_gk20a *gr, |
145 | struct zbc_entry *depth_val, u32 index); | 145 | struct zbc_entry *depth_val, u32 index); |
146 | u32 (*pagepool_default_size)(struct gk20a *g); | 146 | u32 (*pagepool_default_size)(struct gk20a *g); |
147 | int (*init_ctx_state)(struct gk20a *g); | ||
148 | int (*alloc_gr_ctx)(struct gk20a *g, | ||
149 | struct gr_ctx_desc **__gr_ctx, struct vm_gk20a *vm, | ||
150 | u32 padding); | ||
151 | void (*free_gr_ctx)(struct gk20a *g, | ||
152 | struct vm_gk20a *vm, | ||
153 | struct gr_ctx_desc *gr_ctx); | ||
154 | void (*update_ctxsw_preemption_mode)(struct gk20a *g, | ||
155 | struct channel_ctx_gk20a *ch_ctx, | ||
156 | void *ctx_ptr); | ||
147 | } gr; | 157 | } gr; |
148 | const char *name; | 158 | const char *name; |
149 | struct { | 159 | struct { |