From 88ce7a98c8321747154020c4f173cfe05a3b1149 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Fri, 20 Jan 2017 16:13:02 -0800 Subject: 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 Reviewed-on: http://git-master/r/1291850 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h') 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); int gr_gk20a_commit_inst(struct channel_gk20a *c, u64 gpu_va); +void gr_gk20a_write_zcull_ptr(struct gk20a *g, + struct mem_desc *mem, u64 gpu_va); + +void gr_gk20a_write_pm_ptr(struct gk20a *g, + struct mem_desc *mem, u64 gpu_va); + + static inline const char *gr_gk20a_graphics_preempt_mode_name(u32 graphics_preempt_mode) { switch (graphics_preempt_mode) { -- cgit v1.2.2