diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 20e0450e..7e7d9688 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -356,7 +356,7 @@ struct gpu_ops { | |||
356 | u32 gpc_exception); | 356 | u32 gpc_exception); |
357 | void (*enable_gpc_exceptions)(struct gk20a *g); | 357 | void (*enable_gpc_exceptions)(struct gk20a *g); |
358 | void (*enable_exceptions)(struct gk20a *g); | 358 | void (*enable_exceptions)(struct gk20a *g); |
359 | void (*create_gr_sysfs)(struct device *dev); | 359 | void (*create_gr_sysfs)(struct gk20a *g); |
360 | u32 (*get_lrf_tex_ltc_dram_override)(struct gk20a *g); | 360 | u32 (*get_lrf_tex_ltc_dram_override)(struct gk20a *g); |
361 | int (*record_sm_error_state)(struct gk20a *g, | 361 | int (*record_sm_error_state)(struct gk20a *g, |
362 | u32 gpc, u32 tpc); | 362 | u32 gpc, u32 tpc); |
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index a95368c3..e30c595e 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4865,7 +4865,7 @@ static int gk20a_init_gr_setup_sw(struct gk20a *g) | |||
4865 | gr->sw_ready = true; | 4865 | gr->sw_ready = true; |
4866 | 4866 | ||
4867 | if (g->ops.gr.create_gr_sysfs) | 4867 | if (g->ops.gr.create_gr_sysfs) |
4868 | g->ops.gr.create_gr_sysfs(dev_from_gk20a(g)); | 4868 | g->ops.gr.create_gr_sysfs(g); |
4869 | 4869 | ||
4870 | gk20a_dbg_fn("done"); | 4870 | gk20a_dbg_fn("done"); |
4871 | return 0; | 4871 | return 0; |