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/fence_gk20a.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h index 5abf96e5..b4283f58 100644 --- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.h @@ -24,7 +24,7 @@ struct platform_device; struct sync_timeline; struct sync_fence; -struct gk20a_semaphore; +struct nvgpu_semaphore; struct channel_gk20a; struct gk20a_fence_ops; @@ -38,7 +38,7 @@ struct gk20a_fence { const struct gk20a_fence_ops *ops; /* Valid for fences created from semaphores: */ - struct gk20a_semaphore *semaphore; + struct nvgpu_semaphore *semaphore; wait_queue_head_t *semaphore_wq; /* Valid for fences created from syncpoints: */ @@ -54,7 +54,7 @@ struct gk20a_fence { int gk20a_fence_from_semaphore( struct gk20a_fence *fence_out, struct sync_timeline *timeline, - struct gk20a_semaphore *semaphore, + struct nvgpu_semaphore *semaphore, wait_queue_head_t *semaphore_wq, struct sync_fence *dependency, bool wfi, bool need_sync_fence); -- cgit v1.2.2