summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-10-27 15:25:48 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-01 14:37:34 -0400
commitfabe964c7698527104d80aa006b5c4aca8402f17 (patch)
tree78f66a57a3501028b34a273943d8021aacc6272a /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parent161b61e6cc76c2050115039141027320a2f2e745 (diff)
gpu: nvgpu: chip specific commit global timeslice
Implement chip specific commit_global_timeslice function. JIRA GV11B-21 Change-Id: I937dda77870f164d034686d6d41482c875940320 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1243944 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index a0179b0d..e20207c5 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -659,6 +659,9 @@ int gr_gk20a_resume_contexts(struct gk20a *g,
659 int *ctx_resident_ch_fd); 659 int *ctx_resident_ch_fd);
660void gk20a_gr_enable_gpc_exceptions(struct gk20a *g); 660void gk20a_gr_enable_gpc_exceptions(struct gk20a *g);
661 661
662int gr_gk20a_commit_global_timeslice(struct gk20a *g,
663 struct channel_gk20a *c, bool patch);
664
662static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) 665static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode)
663{ 666{
664 switch (graphics_preempt_mode) { 667 switch (graphics_preempt_mode) {