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/gm20b/gr_gm20b.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 0df2845f..391fb8a2 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c @@ -1603,4 +1603,7 @@ void gm20b_init_gr(struct gpu_ops *gops) gops->gr.program_zcull_mapping = gr_gk20a_program_zcull_mapping; gops->gr.commit_global_timeslice = gr_gk20a_commit_global_timeslice; gops->gr.commit_inst = gr_gk20a_commit_inst; + gops->gr.write_zcull_ptr = gr_gk20a_write_zcull_ptr; + gops->gr.write_pm_ptr = gr_gk20a_write_pm_ptr; + } -- cgit v1.2.2