summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.nvgpu
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-01-12 21:50:34 -0500
committerVarun Colbert <vcolbert@nvidia.com>2017-02-13 21:14:45 -0500
commitaa36d3786aeed6755b9744fed37aad000b582322 (patch)
treed68d71632a01062e00fc2b057c5a0c37dfda4fb8 /drivers/gpu/nvgpu/Makefile.nvgpu
parentb9194a1c3300e505d22fba97136dd305300397f0 (diff)
gpu: nvgpu: Organize semaphore_gk20a.[ch]
Move semaphore_gk20a.c drivers/gpu/nvgpu/common/ since the semaphore code is common to all chips. Move the semaphore_gk20a.h header file to drivers/gpu/nvgpu/include/nvgpu and rename it to semaphore.h. Also update all places where the header is inluced to use the new path. This revealed an odd location for the enum gk20a_mem_rw_flag. This should be in the mm headers. As a result many places that did not need anything semaphore related had to include the semaphore header file. Fixing this oddity allowed the semaphore include to be removed from many C files that did not need it. Bug 1799159 Change-Id: Ie017219acf34c4c481747323b9f3ac33e76e064c Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1284627 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r--drivers/gpu/nvgpu/Makefile.nvgpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu
index 0f8f5bc1..5c2bbb79 100644
--- a/drivers/gpu/nvgpu/Makefile.nvgpu
+++ b/drivers/gpu/nvgpu/Makefile.nvgpu
@@ -32,6 +32,7 @@ nvgpu-y := \
32 common/mm/page_allocator.o \ 32 common/mm/page_allocator.o \
33 common/mm/lockless_allocator.o \ 33 common/mm/lockless_allocator.o \
34 common/nvgpu_common.o \ 34 common/nvgpu_common.o \
35 common/semaphore.o \
35 gk20a/gk20a.o \ 36 gk20a/gk20a.o \
36 gk20a/sched_gk20a.o \ 37 gk20a/sched_gk20a.o \
37 gk20a/as_gk20a.o \ 38 gk20a/as_gk20a.o \
@@ -48,7 +49,6 @@ nvgpu-y := \
48 gk20a/mm_gk20a.o \ 49 gk20a/mm_gk20a.o \
49 gk20a/pmu_gk20a.o \ 50 gk20a/pmu_gk20a.o \
50 gk20a/priv_ring_gk20a.o \ 51 gk20a/priv_ring_gk20a.o \
51 gk20a/semaphore_gk20a.o \
52 gk20a/fence_gk20a.o \ 52 gk20a/fence_gk20a.o \
53 gk20a/therm_gk20a.o \ 53 gk20a/therm_gk20a.o \
54 gk20a/gr_ctx_gk20a_sim.o \ 54 gk20a/gr_ctx_gk20a_sim.o \