summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.nvgpu
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-03-24 12:39:12 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-18 18:04:34 -0400
commit03e7ef2657b4de22eff521b3e44fc4ed5cdf4dca (patch)
tree365bd18b7f633a3fa1139a00eea6da926846fa0e /drivers/gpu/nvgpu/Makefile.nvgpu
parentcb283956b88b312e6621fb22d0a36bf1870d9d21 (diff)
gpu: nvgpu: Move Linux kernel driver code to module.c
Move Linux driver specific code to common/linux/module.c. This includes module initialization, power management, and interrupt functions. Move pci.c, pci.h and nvgpu_common.c under common/linux as they're Linux only files. JIRA NVGPU-16 Change-Id: If92b4dd78ebc0c2bbfa9fbca258e9552e4979b4b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1456162 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r--drivers/gpu/nvgpu/Makefile.nvgpu5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu
index 658f8b7f..983df242 100644
--- a/drivers/gpu/nvgpu/Makefile.nvgpu
+++ b/drivers/gpu/nvgpu/Makefile.nvgpu
@@ -23,6 +23,7 @@ endif
23obj-$(CONFIG_GK20A) := nvgpu.o 23obj-$(CONFIG_GK20A) := nvgpu.o
24 24
25nvgpu-y := \ 25nvgpu-y := \
26 common/linux/module.o \
26 common/linux/kmem.o \ 27 common/linux/kmem.o \
27 common/linux/timers.o \ 28 common/linux/timers.o \
28 common/linux/ioctl.o \ 29 common/linux/ioctl.o \
@@ -34,13 +35,13 @@ nvgpu-y := \
34 common/linux/nvgpu_mem.o \ 35 common/linux/nvgpu_mem.o \
35 common/linux/dma.o \ 36 common/linux/dma.o \
36 common/linux/soc.o \ 37 common/linux/soc.o \
38 common/linux/driver_common.o \
37 common/mm/nvgpu_allocator.o \ 39 common/mm/nvgpu_allocator.o \
38 common/mm/bitmap_allocator.o \ 40 common/mm/bitmap_allocator.o \
39 common/mm/buddy_allocator.o \ 41 common/mm/buddy_allocator.o \
40 common/mm/page_allocator.o \ 42 common/mm/page_allocator.o \
41 common/mm/lockless_allocator.o \ 43 common/mm/lockless_allocator.o \
42 common/pramin.o \ 44 common/pramin.o \
43 common/nvgpu_common.o \
44 common/semaphore.o \ 45 common/semaphore.o \
45 common/as.o \ 46 common/as.o \
46 common/rbtree.o \ 47 common/rbtree.o \
@@ -105,7 +106,7 @@ nvgpu-y := \
105 106
106nvgpu-$(CONFIG_TEGRA_GK20A) += tegra/linux/platform_gk20a_tegra.o 107nvgpu-$(CONFIG_TEGRA_GK20A) += tegra/linux/platform_gk20a_tegra.o
107nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o 108nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o
108nvgpu-$(CONFIG_GK20A_PCI) += pci.o 109nvgpu-$(CONFIG_GK20A_PCI) += common/linux/pci.o
109 110
110nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \ 111nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
111 gk20a/platform_vgpu_tegra.o \ 112 gk20a/platform_vgpu_tegra.o \