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/gv100 | |
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/gv100')
-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 d1befa0e..d972d4a5 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -587,6 +587,7 @@ static const struct gpu_ops gv100_ops = { | |||
587 | .preempt_ch_tsg = gv11b_fifo_preempt_ch_tsg, | 587 | .preempt_ch_tsg = gv11b_fifo_preempt_ch_tsg, |
588 | .runlist_hw_submit = gk20a_fifo_runlist_hw_submit, | 588 | .runlist_hw_submit = gk20a_fifo_runlist_hw_submit, |
589 | .runlist_wait_pending = gk20a_fifo_runlist_wait_pending, | 589 | .runlist_wait_pending = gk20a_fifo_runlist_wait_pending, |
590 | .ring_channel_doorbell = gv11b_ring_channel_doorbell, | ||
590 | }, | 591 | }, |
591 | .gr_ctx = { | 592 | .gr_ctx = { |
592 | .get_netlist_name = gr_gv100_get_netlist_name, | 593 | .get_netlist_name = gr_gv100_get_netlist_name, |