diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-09 13:18:34 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-12 13:16:56 -0400 |
commit | edd58888d15a0ac18baa5cba5e24e325afdb60b5 (patch) | |
tree | ecdbfe42949544b35e8cc152721275c978ea499a /drivers/gpu | |
parent | 32cf06bfdcd997d3f8c670613d6c510e34d7fb9e (diff) |
gpu: nvgpu: Export gm20b floorsweeping
Change-Id: Ied5b1d2e3761a2f82d6b9e3cb9a7b04ea746f1da
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/755208
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 1 |
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 | ||
531 | static int gr_gm20b_ctx_state_floorsweep(struct gk20a *g) | 531 | int 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); | |||
46 | void gr_gm20b_commit_global_attrib_cb(struct gk20a *g, | 46 | 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); |
49 | int gr_gm20b_ctx_state_floorsweep(struct gk20a *g); | ||
49 | #endif | 50 | #endif |