summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index 20eaae5f..e1204dad 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -528,7 +528,7 @@ static void gr_gm20b_set_gpc_tpc_mask(struct gk20a *g, u32 gpc_index)
528 } 528 }
529} 529}
530 530
531static int gr_gm20b_ctx_state_floorsweep(struct gk20a *g) 531int gr_gm20b_ctx_state_floorsweep(struct gk20a *g)
532{ 532{
533 struct gr_gk20a *gr = &g->gr; 533 struct gr_gk20a *gr = &g->gr;
534 u32 tpc_index, gpc_index; 534 u32 tpc_index, gpc_index;
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
index 646c16d9..90f933bd 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
@@ -46,4 +46,5 @@ void gm20b_init_gr(struct gpu_ops *gops);
46void gr_gm20b_commit_global_attrib_cb(struct gk20a *g, 46void gr_gm20b_commit_global_attrib_cb(struct gk20a *g,
47 struct channel_ctx_gk20a *ch_ctx, 47 struct channel_ctx_gk20a *ch_ctx,
48 u64 addr, bool patch); 48 u64 addr, bool patch);
49int gr_gm20b_ctx_state_floorsweep(struct gk20a *g);
49#endif 50#endif