summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-11-22 13:46:55 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-30 12:19:23 -0500
commit4a8802eab42298493ea6c6f8ceceb0ffc0f1526a (patch)
tree2f6ac8022a3a3321dbf423671a856bbc953dd281 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parentaf5d2d208ada4d84c7a7bd0e4e0c288d1276225f (diff)
gpu: nvgpu: chip specific channel commit_inst
Add function pointer to add chip specific commit_inst. Update this function pointer for gk20a and gm20b. JIRA GV11B-21 Change-Id: Iae7231fae70c7b4f56647fe242776670675de3fd Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1258275 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index 662d9a87..33176df7 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -667,6 +667,8 @@ int gr_gk20a_commit_global_timeslice(struct gk20a *g,
667 667
668void gr_gk20a_init_sm_id_table(struct gk20a *g); 668void gr_gk20a_init_sm_id_table(struct gk20a *g);
669 669
670int gr_gk20a_commit_inst(struct channel_gk20a *c, u64 gpu_va);
671
670static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) 672static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode)
671{ 673{
672 switch (graphics_preempt_mode) { 674 switch (graphics_preempt_mode) {