diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2018-06-08 19:25:49 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:08 -0400 |
commit | ae47fa042c2b7379079d54be13df001911954b9e (patch) | |
tree | 870a5d8eb2c506c79c335608a62dad2287ac3371 /drivers/gpu/nvgpu/gv100/hal_gv100.c | |
parent | 6a46965eb3b7b657c089142579ab20d6efefc0fc (diff) |
gpu: nvgpu: populate vsm mapping based on nonpes_aware_tpc
For gv1xx, kernel smid configuration programming is done based
on nonpes aware tpc. For user space to be in sync with hw
populate vsm mapping based on nonpes_aware_tpcs.
Bug 200405202
Change-Id: Id89291ca64c2118915dc6f18f62e17f411d467b0
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1744304
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 00840448..1d6f59b3 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -449,6 +449,7 @@ static const struct gpu_ops gv100_ops = { | |||
449 | .alloc_global_ctx_buffers = gr_gk20a_alloc_global_ctx_buffers, | 449 | .alloc_global_ctx_buffers = gr_gk20a_alloc_global_ctx_buffers, |
450 | .map_global_ctx_buffers = gr_gk20a_map_global_ctx_buffers, | 450 | .map_global_ctx_buffers = gr_gk20a_map_global_ctx_buffers, |
451 | .commit_global_ctx_buffers = gr_gk20a_commit_global_ctx_buffers, | 451 | .commit_global_ctx_buffers = gr_gk20a_commit_global_ctx_buffers, |
452 | .get_nonpes_aware_tpc = gr_gv11b_get_nonpes_aware_tpc, | ||
452 | }, | 453 | }, |
453 | .fb = { | 454 | .fb = { |
454 | .reset = gv100_fb_reset, | 455 | .reset = gv100_fb_reset, |