diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c index e4972610..98363c88 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c | |||
@@ -605,7 +605,7 @@ static int gk20a_channel_semaphore_wait_fd( | |||
605 | *fence = gk20a_fence_from_semaphore(sema->timeline, | 605 | *fence = gk20a_fence_from_semaphore(sema->timeline, |
606 | fp_sema, | 606 | fp_sema, |
607 | &c->semaphore_wq, | 607 | &c->semaphore_wq, |
608 | NULL, false); | 608 | NULL, false, false); |
609 | else | 609 | else |
610 | /* | 610 | /* |
611 | * Allocate an empty fence. It will instantly return | 611 | * Allocate an empty fence. It will instantly return |
@@ -676,7 +676,7 @@ static int gk20a_channel_semaphore_wait_fd( | |||
676 | semaphore while the job is in flight. */ | 676 | semaphore while the job is in flight. */ |
677 | *fence = gk20a_fence_from_semaphore(sema->timeline, w->sema, | 677 | *fence = gk20a_fence_from_semaphore(sema->timeline, w->sema, |
678 | &c->semaphore_wq, | 678 | &c->semaphore_wq, |
679 | NULL, false); | 679 | NULL, false, false); |
680 | 680 | ||
681 | skip_slow_path: | 681 | skip_slow_path: |
682 | *entry = wait_cmd; | 682 | *entry = wait_cmd; |
@@ -734,7 +734,8 @@ static int __gk20a_channel_semaphore_incr( | |||
734 | 734 | ||
735 | *fence = gk20a_fence_from_semaphore(sp->timeline, semaphore, | 735 | *fence = gk20a_fence_from_semaphore(sp->timeline, semaphore, |
736 | &c->semaphore_wq, | 736 | &c->semaphore_wq, |
737 | dependency, wfi_cmd); | 737 | dependency, wfi_cmd, |
738 | need_sync_fence); | ||
738 | *entry = incr_cmd; | 739 | *entry = incr_cmd; |
739 | return 0; | 740 | return 0; |
740 | } | 741 | } |