From edd58888d15a0ac18baa5cba5e24e325afdb60b5 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 9 Jun 2015 10:18:34 -0700 Subject: gpu: nvgpu: Export gm20b floorsweeping Change-Id: Ied5b1d2e3761a2f82d6b9e3cb9a7b04ea746f1da Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/755208 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 +- drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) } } -static int gr_gm20b_ctx_state_floorsweep(struct gk20a *g) +int gr_gm20b_ctx_state_floorsweep(struct gk20a *g) { struct gr_gk20a *gr = &g->gr; 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); void gr_gm20b_commit_global_attrib_cb(struct gk20a *g, struct channel_ctx_gk20a *ch_ctx, u64 addr, bool patch); +int gr_gm20b_ctx_state_floorsweep(struct gk20a *g); #endif -- cgit v1.2.2