diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-04-21 07:43:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-27 13:11:27 -0400 |
commit | 9ed117dd01d60d540d430aebcd286e7bacf84930 (patch) | |
tree | fe883c4dc4213d917b6fbfc08c63fcdf8e15fc6d /drivers/gpu/nvgpu/vgpu | |
parent | 1161b650d72c1bb73fce2632e040ecc9074ba9d0 (diff) |
gpu: nvgpu: add HAL to update doorbell
Add new HAL gops.fifo.ring_channel_doorbell() to update channel doorbell
register and to trigger a runlist scan
Set existing API gv11b_ring_channel_doorbell() to this HAL for all volta chips
Jira NVGPUT-18
Change-Id: I9d5e84cf5aa7b763363d84befe169efda00a0932
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1702114
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index 4dc3a150..8128054e 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -421,6 +421,7 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
421 | .handle_ctxsw_timeout = gv11b_fifo_handle_ctxsw_timeout, | 421 | .handle_ctxsw_timeout = gv11b_fifo_handle_ctxsw_timeout, |
422 | .runlist_hw_submit = gk20a_fifo_runlist_hw_submit, | 422 | .runlist_hw_submit = gk20a_fifo_runlist_hw_submit, |
423 | .runlist_wait_pending = gk20a_fifo_runlist_wait_pending, | 423 | .runlist_wait_pending = gk20a_fifo_runlist_wait_pending, |
424 | .ring_channel_doorbell = gv11b_ring_channel_doorbell, | ||
424 | }, | 425 | }, |
425 | .gr_ctx = { | 426 | .gr_ctx = { |
426 | .get_netlist_name = gr_gv11b_get_netlist_name, | 427 | .get_netlist_name = gr_gv11b_get_netlist_name, |