diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2014-05-05 21:14:22 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:01 -0400 |
commit | 1fd722f592c2e0523c5e399a2406a4e387057188 (patch) | |
tree | 3425fb1a08ec2ccc6397e39c73a5579117e00a05 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |
parent | 69e0cd3dfd8f39bc8d3529325001dcacd774f669 (diff) |
gpu: nvgpu: support gk20a virtualization
The nvgpu driver now supports using the Tegra graphics virtualization
interfaces to support gk20a in a virtualized environment.
Bug 1509608
Change-Id: I6ede15ee7bf0b0ad8a13e8eb5f557c3516ead676
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/440122
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 72500b0e..c9c32b9f 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -751,4 +751,9 @@ void gm20b_init_gr(struct gpu_ops *gops) | |||
751 | gops->gr.load_ctxsw_ucode = gr_gk20a_load_ctxsw_ucode; | 751 | gops->gr.load_ctxsw_ucode = gr_gk20a_load_ctxsw_ucode; |
752 | #endif | 752 | #endif |
753 | gops->gr.get_gpc_tpc_mask = gr_gm20b_get_gpc_tpc_mask; | 753 | gops->gr.get_gpc_tpc_mask = gr_gm20b_get_gpc_tpc_mask; |
754 | gops->gr.free_channel_ctx = gk20a_free_channel_ctx; | ||
755 | gops->gr.alloc_obj_ctx = gk20a_alloc_obj_ctx; | ||
756 | gops->gr.free_obj_ctx = gk20a_free_obj_ctx; | ||
757 | gops->gr.bind_ctxsw_zcull = gr_gk20a_bind_ctxsw_zcull; | ||
758 | gops->gr.get_zcull_info = gr_gk20a_get_zcull_info; | ||
754 | } | 759 | } |