From e7a0c0ae8b6791c6b8ee30270ebdbe6e95fbbc71 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 12 Jan 2017 19:18:21 -0800 Subject: 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 Reviewed-on: http://git-master/r/1284628 Reviewed-by: Varun Colbert Tested-by: Varun Colbert --- drivers/gpu/nvgpu/gk20a/sync_gk20a.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.h') 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 @@ struct sync_timeline; struct sync_fence; struct sync_pt; -struct gk20a_semaphore; +struct nvgpu_semaphore; struct fence; int gk20a_is_sema_backed_sync_fence(struct sync_fence *fence); -struct gk20a_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); +struct nvgpu_semaphore *gk20a_sync_fence_get_sema(struct sync_fence *f); #ifdef CONFIG_SYNC struct sync_timeline *gk20a_sync_timeline_create(const char *fmt, ...); void gk20a_sync_timeline_destroy(struct sync_timeline *); void gk20a_sync_timeline_signal(struct sync_timeline *); struct sync_fence *gk20a_sync_fence_create(struct sync_timeline *, - struct gk20a_semaphore *, + struct nvgpu_semaphore *, struct sync_fence *dependency, const char *fmt, ...); struct sync_fence *gk20a_sync_fence_fdget(int fd); -- cgit v1.2.2