diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.nvgpu | 85 |
1 files changed, 73 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu index b6420dac..93629eff 100644 --- a/drivers/gpu/nvgpu/Makefile.nvgpu +++ b/drivers/gpu/nvgpu/Makefile.nvgpu | |||
@@ -13,12 +13,6 @@ ifeq ($(VERSION),4) | |||
13 | ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers | 13 | ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers |
14 | endif | 14 | endif |
15 | 15 | ||
16 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | ||
17 | ccflags-y += -I$(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu | ||
18 | ccflags-y += -I$(srctree)/../nvgpu-t18x/include | ||
19 | ccflags-y += -I$(srctree)/../nvgpu-t18x/include/uapi | ||
20 | endif | ||
21 | |||
22 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) | 16 | ifeq ($(CONFIG_TEGRA_19x_GPU),y) |
23 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu | 17 | ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu |
24 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include | 18 | ccflags-y += -I$(srctree)/../nvgpu-t19x/include |
@@ -135,12 +129,79 @@ nvgpu-$(CONFIG_GK20A_CYCLE_STATS) += \ | |||
135 | gk20a/css_gr_gk20a.o | 129 | gk20a/css_gr_gk20a.o |
136 | 130 | ||
137 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 131 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
138 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile),) | 132 | nvgpu-y += \ |
139 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile | 133 | gp10b/gr_gp10b.o \ |
140 | endif | 134 | gp10b/gr_ctx_gp10b.o \ |
141 | ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x),) | 135 | gp10b/ce_gp10b.o \ |
142 | include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x | 136 | gp10b/mc_gp10b.o \ |
143 | endif | 137 | gp10b/fifo_gp10b.o \ |
138 | gp10b/ltc_gp10b.o \ | ||
139 | gp10b/mm_gp10b.o \ | ||
140 | gp10b/fb_gp10b.o \ | ||
141 | gp10b/pmu_gp10b.o \ | ||
142 | gp10b/hal_gp10b.o \ | ||
143 | gp10b/rpfb_gp10b.o \ | ||
144 | gp10b/gp10b_gating_reglist.o \ | ||
145 | gp10b/regops_gp10b.o \ | ||
146 | gp10b/cde_gp10b.o \ | ||
147 | gp10b/therm_gp10b.o \ | ||
148 | gp10b/fecs_trace_gp10b.o \ | ||
149 | gp10b/gp10b_sysfs.o \ | ||
150 | gp10b/gp10b.o \ | ||
151 | gp106/hal_gp106.o \ | ||
152 | gp106/mm_gp106.o \ | ||
153 | gp106/pmu_gp106.o \ | ||
154 | gp106/gr_gp106.o \ | ||
155 | gp106/gr_ctx_gp106.o \ | ||
156 | gp106/acr_gp106.o \ | ||
157 | gp106/sec2_gp106.o \ | ||
158 | gp106/fifo_gp106.o \ | ||
159 | gp106/ltc_gp106.o \ | ||
160 | gp106/fb_gp106.o \ | ||
161 | gp106/bios_gp106.o \ | ||
162 | gp106/regops_gp106.o \ | ||
163 | clk/clk_mclk.o \ | ||
164 | pstate/pstate.o \ | ||
165 | clk/clk_vin.o \ | ||
166 | clk/clk_fll.o \ | ||
167 | clk/clk_domain.o \ | ||
168 | clk/clk_prog.o \ | ||
169 | clk/clk_vf_point.o \ | ||
170 | clk/clk_arb.o \ | ||
171 | clk/clk_freq_controller.o \ | ||
172 | perf/vfe_var.o \ | ||
173 | perf/vfe_equ.o \ | ||
174 | perf/perf.o \ | ||
175 | clk/clk.o \ | ||
176 | gp106/clk_gp106.o \ | ||
177 | gp106/clk_arb_gp106.o \ | ||
178 | gp106/gp106_gating_reglist.o \ | ||
179 | gp106/xve_gp106.o \ | ||
180 | gp106/therm_gp106.o \ | ||
181 | gp106/xve_gp106.o \ | ||
182 | pmgr/pwrdev.o \ | ||
183 | pmgr/pmgr.o \ | ||
184 | pmgr/pmgrpmu.o \ | ||
185 | pmgr/pwrmonitor.o \ | ||
186 | pmgr/pwrpolicy.o \ | ||
187 | volt/volt_rail.o \ | ||
188 | volt/volt_dev.o \ | ||
189 | volt/volt_policy.o \ | ||
190 | volt/volt_pmu.o \ | ||
191 | therm/thrm.o \ | ||
192 | therm/thrmdev.o \ | ||
193 | therm/thrmchannel.o \ | ||
194 | therm/thrmpmu.o \ | ||
195 | lpwr/rppg.o \ | ||
196 | lpwr/lpwr.o | ||
197 | |||
198 | nvgpu-$(CONFIG_TEGRA_GK20A) += gp10b/platform_gp10b_tegra.o | ||
199 | |||
200 | nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \ | ||
201 | vgpu/gp10b/vgpu_hal_gp10b.o \ | ||
202 | vgpu/gp10b/vgpu_gr_gp10b.o \ | ||
203 | vgpu/gp10b/vgpu_mm_gp10b.o \ | ||
204 | vgpu/gp10b/vgpu_fifo_gp10b.o | ||
144 | endif | 205 | endif |
145 | 206 | ||
146 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) | 207 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) |