summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/sync_gk20a.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-01-12 22:18:21 -0500
committerVarun Colbert <vcolbert@nvidia.com>2017-02-13 21:15:03 -0500
commite7a0c0ae8b6791c6b8ee30270ebdbe6e95fbbc71 (patch)
tree0f62852593ad151cc716e258ece88fb5da30a3ae /drivers/gpu/nvgpu/gk20a/sync_gk20a.h
parentaa36d3786aeed6755b9744fed37aad000b582322 (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.h6
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 @@
24struct sync_timeline; 24struct sync_timeline;
25struct sync_fence; 25struct sync_fence;
26struct sync_pt; 26struct sync_pt;
27struct gk20a_semaphore; 27struct nvgpu_semaphore;
28struct fence; 28struct fence;
29 29
30int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence); 30int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence);
31struct gk20a_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); 31struct nvgpu_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f);
32 32
33#ifdef CONFIG_SYNC 33#ifdef CONFIG_SYNC
34struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); 34struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...);
35void gk20a_sync_timeline_destroy(struct sync_timeline *); 35void gk20a_sync_timeline_destroy(struct sync_timeline *);
36void gk20a_sync_timeline_signal(struct sync_timeline *); 36void gk20a_sync_timeline_signal(struct sync_timeline *);
37struct sync_fence *gk20a_sync_fence_create(struct sync_timeline *, 37struct 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, ...);
41struct sync_fence *gk20a_sync_fence_fdget(int fd); 41struct sync_fence *gk20a_sync_fence_fdget(int fd);