summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fence_gk20a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
index 63da0959..a5aeae08 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
@@ -233,7 +233,6 @@ int gk20a_fence_from_semaphore(
233 struct sync_timeline *timeline, 233 struct sync_timeline *timeline,
234 struct nvgpu_semaphore *semaphore, 234 struct nvgpu_semaphore *semaphore,
235 wait_queue_head_t *semaphore_wq, 235 wait_queue_head_t *semaphore_wq,
236 struct sync_fence *dependency,
237 bool wfi, bool need_sync_fence) 236 bool wfi, bool need_sync_fence)
238{ 237{
239 struct gk20a_fence *f = fence_out; 238 struct gk20a_fence *f = fence_out;
@@ -242,7 +241,7 @@ int gk20a_fence_from_semaphore(
242#ifdef CONFIG_SYNC 241#ifdef CONFIG_SYNC
243 if (need_sync_fence) { 242 if (need_sync_fence) {
244 sync_fence = gk20a_sync_fence_create(g, timeline, semaphore, 243 sync_fence = gk20a_sync_fence_create(g, timeline, semaphore,
245 dependency, "f-gk20a-0x%04x", 244 "f-gk20a-0x%04x",
246 nvgpu_semaphore_gpu_ro_va(semaphore)); 245 nvgpu_semaphore_gpu_ro_va(semaphore));
247 if (!sync_fence) 246 if (!sync_fence)
248 return -1; 247 return -1;