gpu: nvgpu: Add GPCPLL DVFS state to debug prints
[linux-3.10.git] / drivers / gpu / nvgpu / Makefile
1 GCOV_PROFILE := y
2
3 ccflags-y += -Idrivers/gpu/nvgpu
4 ccflags-y += -Idrivers/video/tegra/host
5 ccflags-y += -Idrivers/devfreq
6 ccflags-y += -Wno-multichar
7 ccflags-y += -Werror
8
9 ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
10 ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu
11 ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include
12 ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include/uapi
13 endif
14
15 obj-$(CONFIG_GK20A) := nvgpu.o
16
17 nvgpu-y := \
18         gk20a/gk20a.o \
19         gk20a/as_gk20a.o \
20         gk20a/ctrl_gk20a.o \
21         gk20a/fifo_gk20a.o \
22         gk20a/channel_gk20a.o \
23         gk20a/channel_sync_gk20a.o \
24         gk20a/debug_gk20a.o \
25         gk20a/dbg_gpu_gk20a.o \
26         gk20a/regops_gk20a.o \
27         gk20a/gr_gk20a.o \
28         gk20a/kind_gk20a.o \
29         gk20a/mm_gk20a.o \
30         gk20a/pmu_gk20a.o \
31         gk20a/priv_ring_gk20a.o \
32         gk20a/semaphore_gk20a.o \
33         gk20a/fence_gk20a.o \
34         gk20a/therm_gk20a.o \
35         gk20a/gr_ctx_gk20a_sim.o \
36         gk20a/gr_ctx_gk20a.o \
37         gk20a/gk20a_gating_reglist.o \
38         gk20a/gk20a_sysfs.o \
39         gk20a/ltc_gk20a.o \
40         gk20a/fb_gk20a.o \
41         gk20a/hal.o \
42         gk20a/hal_gk20a.o \
43         gk20a/gk20a_allocator.o \
44         gk20a/cde_gk20a.o \
45         gk20a/platform_gk20a_generic.o \
46         gk20a/tsg_gk20a.o \
47         gk20a/mc_gk20a.o \
48         gm20b/hal_gm20b.o \
49         gm20b/ltc_gm20b.o \
50         gm20b/gr_gm20b.o \
51         gm20b/gr_gm20b.o \
52         gm20b/fb_gm20b.o \
53         gm20b/fifo_gm20b.o \
54         gm20b/gr_ctx_gm20b.o \
55         gm20b/gm20b_gating_reglist.o \
56         gm20b/acr_gm20b.o \
57         gm20b/pmu_gm20b.o \
58         gm20b/mm_gm20b.o \
59         gm20b/regops_gm20b.o \
60         gm20b/mc_gm20b.o
61
62 nvgpu-$(CONFIG_TEGRA_GK20A) += gk20a/platform_gk20a_tegra.o
63 nvgpu-$(CONFIG_SYNC) += gk20a/sync_gk20a.o
64
65 nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
66         gk20a/platform_vgpu_tegra.o \
67         vgpu/ltc_vgpu.o \
68         vgpu/gr_vgpu.o \
69         vgpu/fifo_vgpu.o \
70         vgpu/mm_vgpu.o \
71         vgpu/vgpu.o
72
73 nvgpu-$(CONFIG_TEGRA_CLK_FRAMEWORK) += \
74         gm20b/clk_gm20b.o \
75         gk20a/clk_gk20a.o
76
77 nvgpu-$(CONFIG_GK20A_DEVFREQ) += \
78         gk20a/gk20a_scale.o
79
80 ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y)
81 ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu
82 ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include
83 obj-$(CONFIG_GK20A)     += ../../../../kernel-t18x/drivers/gpu/nvgpu/
84 endif