summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.nvgpu
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2017-09-22 16:31:26 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-29 14:00:55 -0400
commitf01fe2bb3954712935a5dd0ab1d2d02a779d2a2a (patch)
treef0394e41411bd9d0be7fc231ee26a91941e636ee /drivers/gpu/nvgpu/Makefile.nvgpu
parent0a93373364f8520e552f96b7e8fc22a5917f83ea (diff)
nvgpu: use kernel overlay features
Update all Kconfig files and Makefiles to rely on the kernel overlay feature. In particular, don't include any Kconfig files or Makefiles from other overlays. -I directives in CFLAGS are not yet cleaned up. Bug 1978395 Change-Id: I449ed2f07949785f2dd90a6833f4d8cd1711519a Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1566641 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit 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.nvgpu267
1 files changed, 0 insertions, 267 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu
deleted file mode 100644
index 1217fead..00000000
--- a/drivers/gpu/nvgpu/Makefile.nvgpu
+++ /dev/null
@@ -1,267 +0,0 @@
1GCOV_PROFILE := y
2
3ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include
4ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu
5ccflags-y += -I$(srctree)/../nvgpu/include
6ccflags-y += -I$(srctree)/../nvgpu/include/uapi
7
8ccflags-y += -I$(srctree)/drivers/devfreq
9
10ccflags-y += -Wno-multichar
11ccflags-y += -Werror
12ccflags-y += -Wno-error=cpp
13ifeq ($(VERSION),4)
14ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
15endif
16
17ifeq ($(CONFIG_TEGRA_19x_GPU),y)
18ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu
19ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/include
20ccflags-y += -I$(srctree)/../nvgpu-t19x/include
21ccflags-y += -I$(srctree)/../nvgpu-t19x/include/uapi
22ccflags-y += -I$(srctree)/../t19x/include
23endif
24
25obj-$(CONFIG_GK20A) := nvgpu.o
26
27nvgpu-y := \
28 common/linux/module.o \
29 common/linux/kmem.o \
30 common/linux/timers.o \
31 common/linux/ioctl.o \
32 common/linux/ioctl_ctrl.o \
33 common/linux/ioctl_as.o \
34 common/linux/ioctl_channel.o \
35 common/linux/ioctl_tsg.o \
36 common/linux/ioctl_dbg.o \
37 common/linux/log.o \
38 common/linux/cond.o \
39 common/linux/nvgpu_mem.o \
40 common/linux/dma.o \
41 common/linux/soc.o \
42 common/linux/fuse.o \
43 common/linux/driver_common.o \
44 common/linux/firmware.o \
45 common/linux/thread.o \
46 common/linux/vm.o \
47 common/linux/intr.o \
48 common/linux/sysfs.o \
49 common/linux/cde.o \
50 common/linux/io.o \
51 common/linux/rwsem.o \
52 common/linux/cde_gm20b.o \
53 common/linux/cde_gp10b.o \
54 common/linux/comptags.o \
55 common/linux/dmabuf.o \
56 common/linux/sched.o \
57 common/mm/nvgpu_allocator.o \
58 common/mm/bitmap_allocator.o \
59 common/mm/buddy_allocator.o \
60 common/mm/page_allocator.o \
61 common/mm/lockless_allocator.o \
62 common/mm/gmmu.o \
63 common/mm/pd_cache.o \
64 common/mm/vm.o \
65 common/mm/vm_area.o \
66 common/mm/nvgpu_mem.o \
67 common/mm/comptags.o \
68 common/mm/mm.o \
69 common/bus.o \
70 common/enabled.o \
71 common/pramin.o \
72 common/semaphore.o \
73 common/as.o \
74 common/rbtree.o \
75 common/vbios/bios.o \
76 common/falcon/falcon.o \
77 common/pmu/pmu.o \
78 common/pmu/pmu_ipc.o \
79 common/pmu/pmu_fw.o \
80 common/pmu/pmu_pg.o \
81 common/pmu/pmu_perfmon.o \
82 common/pmu/pmu_debug.o \
83 common/ltc.o \
84 gk20a/gk20a.o \
85 gk20a/bus_gk20a.o \
86 gk20a/pramin_gk20a.o \
87 gk20a/ce2_gk20a.o \
88 gk20a/fifo_gk20a.o \
89 gk20a/channel_gk20a.o \
90 gk20a/channel_sync_gk20a.o \
91 gk20a/dbg_gpu_gk20a.o \
92 gk20a/regops_gk20a.o \
93 gk20a/gr_gk20a.o \
94 gk20a/kind_gk20a.o \
95 gk20a/mm_gk20a.o \
96 gk20a/pmu_gk20a.o \
97 gk20a/flcn_gk20a.o \
98 gk20a/priv_ring_gk20a.o \
99 gk20a/fence_gk20a.o \
100 gk20a/therm_gk20a.o \
101 gk20a/gr_ctx_gk20a_sim.o \
102 gk20a/gr_ctx_gk20a.o \
103 gk20a/gk20a_gating_reglist.o \
104 gk20a/ltc_gk20a.o \
105 gk20a/fb_gk20a.o \
106 gk20a/hal.o \
107 gk20a/tsg_gk20a.o \
108 gk20a/ctxsw_trace_gk20a.o \
109 gk20a/fecs_trace_gk20a.o \
110 gk20a/mc_gk20a.o \
111 gk20a/sim_gk20a.o \
112 gm20b/hal_gm20b.o \
113 gm20b/bus_gm20b.o \
114 gm20b/ltc_gm20b.o \
115 gm20b/gr_gm20b.o \
116 gm20b/clk_gm20b.o \
117 gm20b/fb_gm20b.o \
118 gm20b/fifo_gm20b.o \
119 gm20b/gr_ctx_gm20b.o \
120 gm20b/gm20b_gating_reglist.o \
121 gm20b/acr_gm20b.o \
122 gm20b/pmu_gm20b.o \
123 gm20b/mm_gm20b.o \
124 gm20b/regops_gm20b.o \
125 gm20b/therm_gm20b.o \
126 boardobj/boardobj.o \
127 boardobj/boardobjgrp.o \
128 boardobj/boardobjgrpmask.o \
129 boardobj/boardobjgrp_e255.o \
130 boardobj/boardobjgrp_e32.o
131
132nvgpu-$(CONFIG_GK20A_VIDMEM) += \
133 common/mm/vidmem.o \
134 common/linux/vidmem.o
135
136nvgpu-$(CONFIG_DEBUG_FS) += \
137 common/linux/debug.o \
138 common/linux/debug_gr.o \
139 common/linux/debug_fifo.o \
140 common/linux/debug_cde.o \
141 common/linux/debug_ce.o \
142 common/linux/debug_pmu.o \
143 common/linux/debug_sched.o \
144 common/linux/debug_mm.o \
145 common/linux/debug_allocator.o \
146 common/linux/debug_hal.o \
147 common/linux/debug_clk.o \
148 common/linux/debug_xve.o
149
150ifeq ($(CONFIG_NVGPU_TRACK_MEM_USAGE),y)
151nvgpu-$(CONFIG_DEBUG_FS) += \
152 common/linux/debug_kmem.o
153endif
154
155nvgpu-$(CONFIG_TEGRA_GK20A) += common/linux/platform_gk20a_tegra.o
156nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o
157nvgpu-$(CONFIG_GK20A_PCI) += common/linux/pci.o
158nvgpu-$(CONFIG_TEGRA_GK20A_NVHOST) += common/linux/nvhost.o
159
160nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
161 gk20a/platform_vgpu_tegra.o \
162 vgpu/ltc_vgpu.o \
163 vgpu/gr_vgpu.o \
164 vgpu/fifo_vgpu.o \
165 vgpu/ce2_vgpu.o \
166 vgpu/mm_vgpu.o \
167 vgpu/vgpu.o \
168 vgpu/dbg_vgpu.o \
169 vgpu/fecs_trace_vgpu.o \
170 vgpu/tsg_vgpu.o \
171 vgpu/clk_vgpu.o \
172 vgpu/css_vgpu.o \
173 vgpu/gm20b/vgpu_hal_gm20b.o \
174 vgpu/gm20b/vgpu_gr_gm20b.o \
175 vgpu/sysfs_vgpu.o
176
177nvgpu-$(CONFIG_COMMON_CLK) += \
178 common/linux/clk.o
179
180nvgpu-$(CONFIG_GK20A_DEVFREQ) += \
181 gk20a/gk20a_scale.o
182
183nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \
184 gk20a/css_gr_gk20a.o
185
186ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
187nvgpu-y += \
188 gp10b/gr_gp10b.o \
189 gp10b/gr_ctx_gp10b.o \
190 gp10b/ce_gp10b.o \
191 gp10b/mc_gp10b.o \
192 gp10b/fifo_gp10b.o \
193 gp10b/ltc_gp10b.o \
194 gp10b/mm_gp10b.o \
195 gp10b/fb_gp10b.o \
196 gp10b/pmu_gp10b.o \
197 gp10b/hal_gp10b.o \
198 gp10b/rpfb_gp10b.o \
199 gp10b/gp10b_gating_reglist.o \
200 gp10b/regops_gp10b.o \
201 gp10b/therm_gp10b.o \
202 gp10b/fecs_trace_gp10b.o \
203 gp10b/priv_ring_gp10b.o \
204 gp10b/gp10b.o \
205 gp106/hal_gp106.o \
206 gp106/mm_gp106.o \
207 gp106/flcn_gp106.o \
208 gp106/pmu_gp106.o \
209 gp106/mclk_gp106.o \
210 gp106/gr_gp106.o \
211 gp106/gr_ctx_gp106.o \
212 gp106/acr_gp106.o \
213 gp106/sec2_gp106.o \
214 gp106/fifo_gp106.o \
215 gp106/fb_gp106.o \
216 gp106/regops_gp106.o \
217 gp106/bios_gp106.o \
218 pstate/pstate.o \
219 clk/clk_vin.o \
220 clk/clk_fll.o \
221 clk/clk_domain.o \
222 clk/clk_prog.o \
223 clk/clk_vf_point.o \
224 common/linux/clk_arb.o \
225 clk/clk_freq_controller.o \
226 perf/vfe_var.o \
227 perf/vfe_equ.o \
228 perf/perf.o \
229 clk/clk.o \
230 gp106/clk_gp106.o \
231 gp106/clk_arb_gp106.o \
232 gp106/gp106_gating_reglist.o \
233 gp106/xve_gp106.o \
234 gp106/therm_gp106.o \
235 gp106/xve_gp106.o \
236 pmgr/pwrdev.o \
237 pmgr/pmgr.o \
238 pmgr/pmgrpmu.o \
239 pmgr/pwrmonitor.o \
240 pmgr/pwrpolicy.o \
241 volt/volt_rail.o \
242 volt/volt_dev.o \
243 volt/volt_policy.o \
244 volt/volt_pmu.o \
245 therm/thrm.o \
246 therm/thrmdev.o \
247 therm/thrmchannel.o \
248 therm/thrmpmu.o \
249 lpwr/rppg.o \
250 lpwr/lpwr.o
251
252nvgpu-$(CONFIG_TEGRA_GK20A) += common/linux/platform_gp10b_tegra.o
253
254nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
255 vgpu/gp10b/vgpu_hal_gp10b.o \
256 vgpu/gp10b/vgpu_gr_gp10b.o \
257 vgpu/gp10b/vgpu_mm_gp10b.o
258endif
259
260ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y)
261ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),)
262include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile
263endif
264ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x),)
265include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x
266endif
267endif