summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
authorAingara Paramakuru <aparamakuru@nvidia.com>2016-08-15 14:17:43 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-09-15 15:23:29 -0400
commit33665060728693c28ed5222a0d9004e261c63e82 (patch)
treec3122ee8fd6cd95af074b27e91a33be8ec9c64f5 /drivers/gpu/nvgpu/vgpu
parentb700d3a0408fff6920cae9b8a3f434530586eb70 (diff)
gpu: nvgpu: move gpfifo submit wait to userspace
Instead of blocking for gpfifo space in the nvgpu driver, return -EAGAIN and allow userspace to decide the blocking policy. Bug 1795076 Change-Id: Ie091caa92aad3f68bc01a3456ad948e76883bc50 Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/1202591 (cherry picked from commit 8056f422c6a34a4239fc4993c40c2e517c932714) Reviewed-on: http://git-master/r/1203800 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index 2bd36b91..3d00e72c 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -694,7 +694,6 @@ static void vgpu_fifo_set_ctx_mmu_error(struct gk20a *g,
694 /* unblock pending waits */ 694 /* unblock pending waits */
695 wake_up(&ch->semaphore_wq); 695 wake_up(&ch->semaphore_wq);
696 wake_up(&ch->notifier_wq); 696 wake_up(&ch->notifier_wq);
697 wake_up(&ch->submit_wq);
698} 697}
699 698
700int vgpu_fifo_isr(struct gk20a *g, struct tegra_vgpu_fifo_intr_info *info) 699int vgpu_fifo_isr(struct gk20a *g, struct tegra_vgpu_fifo_intr_info *info)