summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
index a01e43c7..5029db8d 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
@@ -61,7 +61,7 @@ static int gr_gk20a_alloc_load_netlist_aiv(u32 *src, u32 len,
61 return 0; 61 return 0;
62} 62}
63 63
64static int gr_gk20a_get_netlist_name(int index, char *name) 64static int gr_gk20a_get_netlist_name(struct gk20a *g, int index, char *name)
65{ 65{
66 switch (index) { 66 switch (index) {
67#ifdef GK20A_NETLIST_IMAGE_FW_NAME 67#ifdef GK20A_NETLIST_IMAGE_FW_NAME
@@ -130,7 +130,7 @@ static int gr_gk20a_init_ctx_vars_fw(struct gk20a *g, struct gr_gk20a *gr)
130 } 130 }
131 131
132 for (; net < max; net++) { 132 for (; net < max; net++) {
133 if (g->ops.gr_ctx.get_netlist_name(net, name) != 0) { 133 if (g->ops.gr_ctx.get_netlist_name(g, net, name) != 0) {
134 gk20a_warn(d, "invalid netlist index %d", net); 134 gk20a_warn(d, "invalid netlist index %d", net);
135 continue; 135 continue;
136 } 136 }