diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-01-12 22:18:21 -0500 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2017-02-13 21:15:03 -0500 |
commit | e7a0c0ae8b6791c6b8ee30270ebdbe6e95fbbc71 (patch) | |
tree | 0f62852593ad151cc716e258ece88fb5da30a3ae /drivers/gpu/nvgpu/gk20a/sync_gk20a.h | |
parent | aa36d3786aeed6755b9744fed37aad000b582322 (diff) |
gpu: nvgpu: Move from gk20a_ to nvgpu_ in semaphore code
Change the prefix in the semaphore code to 'nvgpu_' since this code
is global to all chips.
Bug 1799159
Change-Id: Ic1f3e13428882019e5d1f547acfe95271cc10da5
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1284628
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/sync_gk20a.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.h b/drivers/gpu/nvgpu/gk20a/sync_gk20a.h index 88bf07cd..dcced5c8 100644 --- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.h | |||
@@ -24,18 +24,18 @@ | |||
24 | struct sync_timeline; | 24 | struct sync_timeline; |
25 | struct sync_fence; | 25 | struct sync_fence; |
26 | struct sync_pt; | 26 | struct sync_pt; |
27 | struct gk20a_semaphore; | 27 | struct nvgpu_semaphore; |
28 | struct fence; | 28 | struct fence; |
29 | 29 | ||
30 | int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence); | 30 | int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence); |
31 | struct gk20a_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); | 31 | struct nvgpu_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); |
32 | 32 | ||
33 | #ifdef CONFIG_SYNC | 33 | #ifdef CONFIG_SYNC |
34 | struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); | 34 | struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); |
35 | void gk20a_sync_timeline_destroy(struct sync_timeline *); | 35 | void gk20a_sync_timeline_destroy(struct sync_timeline *); |
36 | void gk20a_sync_timeline_signal(struct sync_timeline *); | 36 | void gk20a_sync_timeline_signal(struct sync_timeline *); |
37 | struct sync_fence *gk20a_sync_fence_create(struct sync_timeline *, | 37 | struct sync_fence *gk20a_sync_fence_create(struct sync_timeline *, |
38 | struct gk20a_semaphore *, | 38 | struct nvgpu_semaphore *, |
39 | struct sync_fence *dependency, | 39 | struct sync_fence *dependency, |
40 | const char *fmt, ...); | 40 | const char *fmt, ...); |
41 | struct sync_fence *gk20a_sync_fence_fdget(int fd); | 41 | struct sync_fence *gk20a_sync_fence_fdget(int fd); |