diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fence_gk20a.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c index 7a3f90e9..70666407 100644 --- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -154,7 +154,9 @@ struct gk20a_fence *gk20a_fence_from_semaphore( | |||
154 | 154 | ||
155 | #ifdef CONFIG_SYNC | 155 | #ifdef CONFIG_SYNC |
156 | sync_fence = gk20a_sync_fence_create(timeline, semaphore, | 156 | sync_fence = gk20a_sync_fence_create(timeline, semaphore, |
157 | dependency, "fence"); | 157 | dependency, "f-gk20a-0x%04llx", |
158 | ((u64)(void *)semaphore->value) & | ||
159 | 0xffff); | ||
158 | if (!sync_fence) | 160 | if (!sync_fence) |
159 | return NULL; | 161 | return NULL; |
160 | #endif | 162 | #endif |