summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cc709c78..d57b0fb5 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -1365,7 +1365,7 @@ static int gr_gm20b_get_preemption_mode_flags(struct gk20a *g,
1365 return 0; 1365 return 0;
1366} 1366}
1367 1367
1368static int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask) 1368int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask)
1369{ 1369{
1370 if (!mask) 1370 if (!mask)
1371 return 0; 1371 return 0;
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
index 2a585e63..fc52f223 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
@@ -47,5 +47,6 @@ void 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_init_fs_state(struct gk20a *g); 49int gr_gm20b_init_fs_state(struct gk20a *g);
50int gm20b_gr_tpc_disable_override(struct gk20a *g, u32 mask);
50 51
51#endif 52#endif