diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-12-03 09:13:39 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:27 -0400 |
commit | 0d9bb7f82e99a014d56d2662a67fc8efa86d398a (patch) | |
tree | e0ff8d4663dfc32fbdf061a6b04db5ec05459c72 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |
parent | 5477d0f4c226847fe030ad00425e00206118b0d6 (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/660237
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
813 | gops->gr.add_zbc_color = gr_gk20a_add_zbc_color; | 813 | gops->gr.add_zbc_color = gr_gk20a_add_zbc_color; |
814 | gops->gr.add_zbc_depth = gr_gk20a_add_zbc_depth; | 814 | gops->gr.add_zbc_depth = gr_gk20a_add_zbc_depth; |
815 | gops->gr.pagepool_default_size = gr_gm20b_pagepool_default_size; | 815 | gops->gr.pagepool_default_size = gr_gm20b_pagepool_default_size; |
816 | gops->gr.init_ctx_state = gr_gk20a_init_ctx_state; | ||
817 | gops->gr.alloc_gr_ctx = gr_gk20a_alloc_gr_ctx; | ||
818 | gops->gr.free_gr_ctx = gr_gk20a_free_gr_ctx; | ||
816 | } | 819 | } |