summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-01-20 19:13:02 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-27 15:23:01 -0500
commit88ce7a98c8321747154020c4f173cfe05a3b1149 (patch)
treeafb1007b673f10de589e47670a8626dc7c44d694 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parentfa3f8cc10186ab18952433f1838fb657f220adc5 (diff)
gpu: nvgpu: update zcull and pm context pointers
Update zcull and perfmon buffer pointers in context header through function pointers. JIRA GV11B-48 Change-Id: Iaa6dd065128cb0c39e308cecf17b9d68a826d865 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1291850 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index f43e57fd..19ab2ec0 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -711,6 +711,13 @@ void gr_gk20a_init_sm_id_table(struct gk20a *g);
711 711
712int gr_gk20a_commit_inst(struct channel_gk20a *c, u64 gpu_va); 712int gr_gk20a_commit_inst(struct channel_gk20a *c, u64 gpu_va);
713 713
714void gr_gk20a_write_zcull_ptr(struct gk20a *g,
715 struct mem_desc *mem, u64 gpu_va);
716
717void gr_gk20a_write_pm_ptr(struct gk20a *g,
718 struct mem_desc *mem, u64 gpu_va);
719
720
714static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) 721static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode)
715{ 722{
716 switch (graphics_preempt_mode) { 723 switch (graphics_preempt_mode) {