diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 3ac4e397..570aad18 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "regops_gk20a.h" | 39 | #include "regops_gk20a.h" |
40 | #include "dbg_gpu_gk20a.h" | 40 | #include "dbg_gpu_gk20a.h" |
41 | #include "ctxsw_trace_gk20a.h" | 41 | #include "ctxsw_trace_gk20a.h" |
42 | #include "platform_gk20a.h" | ||
42 | 43 | ||
43 | #include <nvgpu/hw/gk20a/hw_ccsr_gk20a.h> | 44 | #include <nvgpu/hw/gk20a/hw_ccsr_gk20a.h> |
44 | #include <nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h> | 45 | #include <nvgpu/hw/gk20a/hw_ctxsw_prog_gk20a.h> |
@@ -4826,7 +4827,7 @@ static int gk20a_init_gr_setup_sw(struct gk20a *g) | |||
4826 | gr->sw_ready = true; | 4827 | gr->sw_ready = true; |
4827 | 4828 | ||
4828 | if (g->ops.gr.create_gr_sysfs) | 4829 | if (g->ops.gr.create_gr_sysfs) |
4829 | g->ops.gr.create_gr_sysfs(g->dev); | 4830 | g->ops.gr.create_gr_sysfs(dev_from_gk20a(g)); |
4830 | 4831 | ||
4831 | gk20a_dbg_fn("done"); | 4832 | gk20a_dbg_fn("done"); |
4832 | return 0; | 4833 | return 0; |