diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/gr_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/gr_gp106.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/gr_gp106.c b/drivers/gpu/nvgpu/gp106/gr_gp106.c index bf266b66..76e5cf89 100644 --- a/drivers/gpu/nvgpu/gp106/gr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/gr_gp106.c | |||
@@ -234,9 +234,11 @@ fail: | |||
234 | return err; | 234 | return err; |
235 | } | 235 | } |
236 | 236 | ||
237 | void gp106_init_gr(struct gpu_ops *gops) | 237 | void gp106_init_gr(struct gk20a *g) |
238 | { | 238 | { |
239 | gp10b_init_gr(gops); | 239 | struct gpu_ops *gops = &g->ops; |
240 | |||
241 | gp10b_init_gr(g); | ||
240 | gops->gr.is_valid_class = gr_gp106_is_valid_class; | 242 | gops->gr.is_valid_class = gr_gp106_is_valid_class; |
241 | gops->gr.pagepool_default_size = gr_gp106_pagepool_default_size; | 243 | gops->gr.pagepool_default_size = gr_gp106_pagepool_default_size; |
242 | gops->gr.handle_sw_method = gr_gp106_handle_sw_method; | 244 | gops->gr.handle_sw_method = gr_gp106_handle_sw_method; |