From 0d9bb7f82e99a014d56d2662a67fc8efa86d398a Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 3 Dec 2014 16:13:39 +0200 Subject: gpu: nvgpu: Per-chip context creation Add HAL for context creation, and expose functions that T18x context creation needs. Bug 1517461 Bug 1521790 Bug 200063473 Change-Id: I63d1c52594e851570b677184a4585d402125a86d Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/660237 --- 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 66b94943..cba51cd6 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c @@ -813,4 +813,7 @@ void gm20b_init_gr(struct gpu_ops *gops) gops->gr.add_zbc_color = gr_gk20a_add_zbc_color; gops->gr.add_zbc_depth = gr_gk20a_add_zbc_depth; gops->gr.pagepool_default_size = gr_gm20b_pagepool_default_size; + gops->gr.init_ctx_state = gr_gk20a_init_ctx_state; + gops->gr.alloc_gr_ctx = gr_gk20a_alloc_gr_ctx; + gops->gr.free_gr_ctx = gr_gk20a_free_gr_ctx; } -- cgit v1.2.2