Makefile 6.5 KB
Newer Older
1 2 3 4
#
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

5
ccflags-y := -Iinclude/drm -DCONFIG_NOUVEAU_DEBUG=7 -DCONFIG_NOUVEAU_DEBUG_DEFAULT=3
6
ccflags-y += -I$(src)/core/include
7
ccflags-y += -I$(src)/core
8 9
ccflags-y += -I$(src)

10
nouveau-y := core/core/client.o
11
nouveau-y += core/core/engctx.o
12
nouveau-y += core/core/engine.o
13
nouveau-y += core/core/enum.o
14
nouveau-y += core/core/gpuobj.o
15 16 17 18 19 20 21
nouveau-y += core/core/handle.o
nouveau-y += core/core/mm.o
nouveau-y += core/core/namedb.o
nouveau-y += core/core/object.o
nouveau-y += core/core/option.o
nouveau-y += core/core/parent.o
nouveau-y += core/core/printk.o
22
nouveau-y += core/core/ramht.o
23
nouveau-y += core/core/subdev.o
24

25 26 27
nouveau-y += core/subdev/bar/base.o
nouveau-y += core/subdev/bar/nv50.o
nouveau-y += core/subdev/bar/nvc0.o
28 29
nouveau-y += core/subdev/bios/base.o
nouveau-y += core/subdev/bios/bit.o
30
nouveau-y += core/subdev/bios/conn.o
31
nouveau-y += core/subdev/bios/dcb.o
32
nouveau-y += core/subdev/bios/dp.o
33
nouveau-y += core/subdev/bios/gpio.o
34
nouveau-y += core/subdev/bios/i2c.o
35
nouveau-y += core/subdev/bios/init.o
36
nouveau-y += core/subdev/bios/pll.o
37 38 39 40 41
nouveau-y += core/subdev/clock/nv04.o
nouveau-y += core/subdev/clock/nv40.o
nouveau-y += core/subdev/clock/nv50.o
nouveau-y += core/subdev/clock/nva3.o
nouveau-y += core/subdev/clock/nvc0.o
42 43
nouveau-y += core/subdev/clock/pllnv04.o
nouveau-y += core/subdev/clock/pllnva3.o
44 45 46 47 48 49 50 51 52
nouveau-y += core/subdev/device/base.o
nouveau-y += core/subdev/device/nv04.o
nouveau-y += core/subdev/device/nv10.o
nouveau-y += core/subdev/device/nv20.o
nouveau-y += core/subdev/device/nv30.o
nouveau-y += core/subdev/device/nv40.o
nouveau-y += core/subdev/device/nv50.o
nouveau-y += core/subdev/device/nvc0.o
nouveau-y += core/subdev/device/nve0.o
53 54 55 56 57 58 59
nouveau-y += core/subdev/devinit/base.o
nouveau-y += core/subdev/devinit/nv04.o
nouveau-y += core/subdev/devinit/nv05.o
nouveau-y += core/subdev/devinit/nv10.o
nouveau-y += core/subdev/devinit/nv1a.o
nouveau-y += core/subdev/devinit/nv20.o
nouveau-y += core/subdev/devinit/nv50.o
60
nouveau-y += core/subdev/fb/base.o
61 62 63 64 65 66 67 68 69 70
nouveau-y += core/subdev/fb/nv04.o
nouveau-y += core/subdev/fb/nv10.o
nouveau-y += core/subdev/fb/nv20.o
nouveau-y += core/subdev/fb/nv30.o
nouveau-y += core/subdev/fb/nv40.o
nouveau-y += core/subdev/fb/nv50.o
nouveau-y += core/subdev/fb/nvc0.o
nouveau-y += core/subdev/gpio/base.o
nouveau-y += core/subdev/gpio/nv10.o
nouveau-y += core/subdev/gpio/nv50.o
71
nouveau-y += core/subdev/gpio/nvd0.o
72
nouveau-y += core/subdev/i2c/base.o
73 74
nouveau-y += core/subdev/i2c/aux.o
nouveau-y += core/subdev/i2c/bit.o
75
nouveau-y += core/subdev/instmem/base.o
76
nouveau-y += core/subdev/instmem/nv04.o
77
nouveau-y += core/subdev/instmem/nv40.o
78
nouveau-y += core/subdev/instmem/nv50.o
79
nouveau-y += core/subdev/ltcg/nvc0.o
80
nouveau-y += core/subdev/mc/base.o
81
nouveau-y += core/subdev/mc/nv04.o
82
nouveau-y += core/subdev/mc/nv44.o
83
nouveau-y += core/subdev/mc/nv50.o
84 85
nouveau-y += core/subdev/mc/nv98.o
nouveau-y += core/subdev/mc/nvc0.o
86
nouveau-y += core/subdev/timer/base.o
87 88
nouveau-y += core/subdev/timer/nv04.o
nouveau-y += core/subdev/vm/base.o
89 90 91
nouveau-y += core/subdev/vm/nv04.o
nouveau-y += core/subdev/vm/nv41.o
nouveau-y += core/subdev/vm/nv44.o
92 93 94
nouveau-y += core/subdev/vm/nv50.o
nouveau-y += core/subdev/vm/nvc0.o

95 96 97 98
nouveau-y += core/engine/dmaobj/base.o
nouveau-y += core/engine/dmaobj/nv04.o
nouveau-y += core/engine/dmaobj/nv50.o
nouveau-y += core/engine/dmaobj/nvc0.o
99 100 101 102 103
nouveau-y += core/engine/bsp/nv84.o
nouveau-y += core/engine/copy/nva3.o
nouveau-y += core/engine/copy/nvc0.o
nouveau-y += core/engine/crypt/nv84.o
nouveau-y += core/engine/crypt/nv98.o
104 105 106
nouveau-y += core/engine/disp/nv04.o
nouveau-y += core/engine/disp/nv50.o
nouveau-y += core/engine/disp/nvd0.o
107
nouveau-y += core/engine/disp/vga.o
108
nouveau-y += core/engine/fifo/base.o
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
nouveau-y += core/engine/fifo/nv04.o
nouveau-y += core/engine/fifo/nv10.o
nouveau-y += core/engine/fifo/nv17.o
nouveau-y += core/engine/fifo/nv40.o
nouveau-y += core/engine/fifo/nv50.o
nouveau-y += core/engine/fifo/nv84.o
nouveau-y += core/engine/fifo/nvc0.o
nouveau-y += core/engine/fifo/nve0.o
nouveau-y += core/engine/graph/ctxnv40.o
nouveau-y += core/engine/graph/ctxnv50.o
nouveau-y += core/engine/graph/ctxnvc0.o
nouveau-y += core/engine/graph/ctxnve0.o
nouveau-y += core/engine/graph/nv04.o
nouveau-y += core/engine/graph/nv10.o
nouveau-y += core/engine/graph/nv20.o
124 125 126 127 128
nouveau-y += core/engine/graph/nv25.o
nouveau-y += core/engine/graph/nv2a.o
nouveau-y += core/engine/graph/nv30.o
nouveau-y += core/engine/graph/nv34.o
nouveau-y += core/engine/graph/nv35.o
129 130 131 132 133
nouveau-y += core/engine/graph/nv40.o
nouveau-y += core/engine/graph/nv50.o
nouveau-y += core/engine/graph/nvc0.o
nouveau-y += core/engine/graph/nve0.o
nouveau-y += core/engine/mpeg/nv31.o
134
nouveau-y += core/engine/mpeg/nv40.o
135
nouveau-y += core/engine/mpeg/nv50.o
136
nouveau-y += core/engine/mpeg/nv84.o
137
nouveau-y += core/engine/ppp/nv98.o
138 139 140 141
nouveau-y += core/engine/software/nv04.o
nouveau-y += core/engine/software/nv10.o
nouveau-y += core/engine/software/nv50.o
nouveau-y += core/engine/software/nvc0.o
142 143
nouveau-y += core/engine/vp/nv84.o

144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
# drm/compat - will go away
nouveau-y += nouveau_compat.o nouveau_revcompat.o

# drm/core
nouveau-y += nouveau_drm.o nouveau_chan.o nouveau_dma.o nouveau_fence.o
nouveau-y += nouveau_agp.o
nouveau-y += nouveau_ttm.o nouveau_sgdma.o nouveau_bo.o nouveau_gem.o

nouveau-y += nouveau_abi16.o
nouveau-y += nv04_fence.o nv10_fence.o nv50_fence.o nv84_fence.o nvc0_fence.o

# drm/kms/common
nouveau-y += nouveau_fbcon.o

# drm/kms/nv04:nv50
nouveau-y += nv04_fbcon.o

# drm/kms/nv50:nvd9
nouveau-y += nv50_fbcon.o nvc0_fbcon.o

# drm/kms/nvd9-

##
## unported bits below
##

# drm/core
nouveau-y += nouveau_drv.o nouveau_state.o nouveau_irq.o
nouveau-y += nouveau_prime.o

# drm/kms/bios
nouveau-y += nouveau_mxm.o nouveau_bios.o

# drm/kms/common
nouveau-y += nouveau_display.o nouveau_connector.o
nouveau-y += nouveau_hdmi.o nouveau_dp.o

# drm/kms/nv04:nv50
nouveau-y += nouveau_hw.o nouveau_calc.o
nouveau-y += nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o
nouveau-y += nv04_crtc.o nv04_display.o nv04_cursor.o

# drm/kms/nv50-
nouveau-y += nv50_display.o nvd0_display.o
nouveau-y += nv50_crtc.o nv50_dac.o nv50_sor.o nv50_cursor.o
nouveau-y += nv50_evo.o

# drm/pm
nouveau-y += nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o
nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o
nouveau-y += nouveau_mem.o

# optional stuff
197 198 199 200
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
nouveau-$(CONFIG_ACPI) += nouveau_acpi.o

201

202
obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o