diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-03-01 17:47:35 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-06 17:52:43 -0500 |
commit | c6b846d34c1a3a92a856eed33c5a5175885a273a (patch) | |
tree | 0b6f7ad4a4a4c8fe51e60ebcc5b7fd29565158ba /drivers/gpu/nvgpu/gv11b | |
parent | f6cac2e0c4c57295886ea97833cebcd368de3788 (diff) |
gpu: nvgpu: add gops.semaphore_wakeup HAL
vserver handles semaphore differently from native, so it needs a
callback to differentiate from native. Also created common function
mc_gk20a_handle_intr_nonstall to handle all nonstall interrupts.
Jira VQRM-2982
Change-Id: I1b3821717a4005ca4bf2a4dac5dcd335872f48f1
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1656753
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 2cc2d53a..11d710bf 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -746,6 +746,7 @@ int gv11b_init_hal(struct gk20a *g) | |||
746 | gops->chip_init_gpu_characteristics = | 746 | gops->chip_init_gpu_characteristics = |
747 | gv11b_ops.chip_init_gpu_characteristics; | 747 | gv11b_ops.chip_init_gpu_characteristics; |
748 | gops->get_litter_value = gv11b_ops.get_litter_value; | 748 | gops->get_litter_value = gv11b_ops.get_litter_value; |
749 | gops->semaphore_wakeup = gk20a_channel_semaphore_wakeup; | ||
749 | 750 | ||
750 | __nvgpu_set_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP, false); | 751 | __nvgpu_set_enabled(g, NVGPU_GR_USE_DMA_FOR_FW_BOOTSTRAP, false); |
751 | 752 | ||