blob: a990df4d6c049d263087d3567ab4d24a24e01aef [file] [log] [blame]
Ben Skeggs6ee73862009-12-11 19:24:15 +10001#
2# Makefile for the drm device driver. This driver provides support for the
3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
4
Ben Skeggs59999332012-08-03 14:58:10 +10005ccflags-y := -Iinclude/drm
Ben Skeggs02a841d2012-07-04 23:44:54 +10006ccflags-y += -I$(src)/core/include
Ben Skeggsebb945a2012-07-20 08:17:34 +10007ccflags-y += -I$(src)/core
Ben Skeggs02a841d2012-07-04 23:44:54 +10008ccflags-y += -I$(src)
9
Ben Skeggs9274f4a2012-07-06 07:36:43 +100010nouveau-y := core/core/client.o
Ben Skeggsebb945a2012-07-20 08:17:34 +100011nouveau-y += core/core/engctx.o
Ben Skeggs9274f4a2012-07-06 07:36:43 +100012nouveau-y += core/core/engine.o
Ben Skeggs861d2102012-07-11 19:05:01 +100013nouveau-y += core/core/enum.o
Ben Skeggs3863c9b2012-07-14 19:09:17 +100014nouveau-y += core/core/gpuobj.o
Ben Skeggs9274f4a2012-07-06 07:36:43 +100015nouveau-y += core/core/handle.o
16nouveau-y += core/core/mm.o
17nouveau-y += core/core/namedb.o
18nouveau-y += core/core/object.o
19nouveau-y += core/core/option.o
20nouveau-y += core/core/parent.o
21nouveau-y += core/core/printk.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100022nouveau-y += core/core/ramht.o
Ben Skeggs9274f4a2012-07-06 07:36:43 +100023nouveau-y += core/core/subdev.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100024
Ben Skeggs3863c9b2012-07-14 19:09:17 +100025nouveau-y += core/subdev/bar/base.o
26nouveau-y += core/subdev/bar/nv50.o
27nouveau-y += core/subdev/bar/nvc0.o
Ben Skeggs70c0f262012-07-10 10:49:22 +100028nouveau-y += core/subdev/bios/base.o
29nouveau-y += core/subdev/bios/bit.o
Ben Skeggscb75d972012-07-11 10:44:20 +100030nouveau-y += core/subdev/bios/conn.o
Ben Skeggse0996ae2012-07-10 12:20:17 +100031nouveau-y += core/subdev/bios/dcb.o
Ben Skeggscb75d972012-07-11 10:44:20 +100032nouveau-y += core/subdev/bios/dp.o
Martin Peres32334cc2012-08-18 16:33:53 +020033nouveau-y += core/subdev/bios/extdev.o
Ben Skeggse0996ae2012-07-10 12:20:17 +100034nouveau-y += core/subdev/bios/gpio.o
Ben Skeggs4196faa2012-07-10 14:36:38 +100035nouveau-y += core/subdev/bios/i2c.o
Ben Skeggscb75d972012-07-11 10:44:20 +100036nouveau-y += core/subdev/bios/init.o
Ben Skeggsd38ac522012-07-22 16:41:26 +100037nouveau-y += core/subdev/bios/mxm.o
Martin Peresd46497d2012-08-30 02:31:59 +020038nouveau-y += core/subdev/bios/perf.o
Ben Skeggs70790f42012-07-10 17:26:46 +100039nouveau-y += core/subdev/bios/pll.o
Martin Peres7d70e9c2012-08-16 11:00:55 +020040nouveau-y += core/subdev/bios/therm.o
Ben Skeggs8aceb7d2012-07-10 16:45:24 +100041nouveau-y += core/subdev/clock/nv04.o
42nouveau-y += core/subdev/clock/nv40.o
43nouveau-y += core/subdev/clock/nv50.o
44nouveau-y += core/subdev/clock/nva3.o
45nouveau-y += core/subdev/clock/nvc0.o
Ben Skeggs70790f42012-07-10 17:26:46 +100046nouveau-y += core/subdev/clock/pllnv04.o
47nouveau-y += core/subdev/clock/pllnva3.o
Ben Skeggs9274f4a2012-07-06 07:36:43 +100048nouveau-y += core/subdev/device/base.o
49nouveau-y += core/subdev/device/nv04.o
50nouveau-y += core/subdev/device/nv10.o
51nouveau-y += core/subdev/device/nv20.o
52nouveau-y += core/subdev/device/nv30.o
53nouveau-y += core/subdev/device/nv40.o
54nouveau-y += core/subdev/device/nv50.o
55nouveau-y += core/subdev/device/nvc0.o
56nouveau-y += core/subdev/device/nve0.o
Ben Skeggscb75d972012-07-11 10:44:20 +100057nouveau-y += core/subdev/devinit/base.o
58nouveau-y += core/subdev/devinit/nv04.o
59nouveau-y += core/subdev/devinit/nv05.o
60nouveau-y += core/subdev/devinit/nv10.o
61nouveau-y += core/subdev/devinit/nv1a.o
62nouveau-y += core/subdev/devinit/nv20.o
63nouveau-y += core/subdev/devinit/nv50.o
Ben Skeggs861d2102012-07-11 19:05:01 +100064nouveau-y += core/subdev/fb/base.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100065nouveau-y += core/subdev/fb/nv04.o
66nouveau-y += core/subdev/fb/nv10.o
67nouveau-y += core/subdev/fb/nv20.o
68nouveau-y += core/subdev/fb/nv30.o
69nouveau-y += core/subdev/fb/nv40.o
70nouveau-y += core/subdev/fb/nv50.o
71nouveau-y += core/subdev/fb/nvc0.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100072nouveau-y += core/subdev/gpio/base.o
73nouveau-y += core/subdev/gpio/nv10.o
74nouveau-y += core/subdev/gpio/nv50.o
Ben Skeggse0996ae2012-07-10 12:20:17 +100075nouveau-y += core/subdev/gpio/nvd0.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100076nouveau-y += core/subdev/i2c/base.o
Ben Skeggs4196faa2012-07-10 14:36:38 +100077nouveau-y += core/subdev/i2c/aux.o
78nouveau-y += core/subdev/i2c/bit.o
Ben Skeggsc0abf5c2012-09-26 13:05:01 +100079nouveau-y += core/subdev/ibus/nvc0.o
Ben Skeggs2c1a4252012-08-22 23:55:42 -040080nouveau-y += core/subdev/ibus/nve0.o
Ben Skeggs3863c9b2012-07-14 19:09:17 +100081nouveau-y += core/subdev/instmem/base.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100082nouveau-y += core/subdev/instmem/nv04.o
Ben Skeggsaf7afbd2012-07-13 16:14:25 +100083nouveau-y += core/subdev/instmem/nv40.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100084nouveau-y += core/subdev/instmem/nv50.o
Ben Skeggs861d2102012-07-11 19:05:01 +100085nouveau-y += core/subdev/ltcg/nvc0.o
Ben Skeggs7d9115d2012-07-11 15:58:56 +100086nouveau-y += core/subdev/mc/base.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100087nouveau-y += core/subdev/mc/nv04.o
Ben Skeggs7d9115d2012-07-11 15:58:56 +100088nouveau-y += core/subdev/mc/nv44.o
Ben Skeggs02a841d2012-07-04 23:44:54 +100089nouveau-y += core/subdev/mc/nv50.o
Ben Skeggs7d9115d2012-07-11 15:58:56 +100090nouveau-y += core/subdev/mc/nv98.o
91nouveau-y += core/subdev/mc/nvc0.o
Ben Skeggsd38ac522012-07-22 16:41:26 +100092nouveau-y += core/subdev/mxm/base.o
93nouveau-y += core/subdev/mxm/mxms.o
94nouveau-y += core/subdev/mxm/nv50.o
Martin Peresaa1b9b42012-09-02 02:55:58 +020095nouveau-y += core/subdev/therm/base.o
96nouveau-y += core/subdev/therm/fan.o
97nouveau-y += core/subdev/therm/ic.o
98nouveau-y += core/subdev/therm/nv40.o
99nouveau-y += core/subdev/therm/nv50.o
100nouveau-y += core/subdev/therm/temp.o
Ben Skeggs5a5c7432012-07-11 16:08:25 +1000101nouveau-y += core/subdev/timer/base.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000102nouveau-y += core/subdev/timer/nv04.o
103nouveau-y += core/subdev/vm/base.o
Ben Skeggs3863c9b2012-07-14 19:09:17 +1000104nouveau-y += core/subdev/vm/nv04.o
105nouveau-y += core/subdev/vm/nv41.o
106nouveau-y += core/subdev/vm/nv44.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000107nouveau-y += core/subdev/vm/nv50.o
108nouveau-y += core/subdev/vm/nvc0.o
109
Ben Skeggsebb945a2012-07-20 08:17:34 +1000110nouveau-y += core/engine/dmaobj/base.o
111nouveau-y += core/engine/dmaobj/nv04.o
112nouveau-y += core/engine/dmaobj/nv50.o
113nouveau-y += core/engine/dmaobj/nvc0.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000114nouveau-y += core/engine/bsp/nv84.o
115nouveau-y += core/engine/copy/nva3.o
116nouveau-y += core/engine/copy/nvc0.o
Ben Skeggs4f326562012-08-06 19:28:02 +1000117nouveau-y += core/engine/copy/nve0.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000118nouveau-y += core/engine/crypt/nv84.o
119nouveau-y += core/engine/crypt/nv98.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000120nouveau-y += core/engine/disp/nv04.o
121nouveau-y += core/engine/disp/nv50.o
122nouveau-y += core/engine/disp/nvd0.o
Ben Skeggs4196faa2012-07-10 14:36:38 +1000123nouveau-y += core/engine/disp/vga.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000124nouveau-y += core/engine/fifo/base.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000125nouveau-y += core/engine/fifo/nv04.o
126nouveau-y += core/engine/fifo/nv10.o
127nouveau-y += core/engine/fifo/nv17.o
128nouveau-y += core/engine/fifo/nv40.o
129nouveau-y += core/engine/fifo/nv50.o
130nouveau-y += core/engine/fifo/nv84.o
131nouveau-y += core/engine/fifo/nvc0.o
132nouveau-y += core/engine/fifo/nve0.o
133nouveau-y += core/engine/graph/ctxnv40.o
134nouveau-y += core/engine/graph/ctxnv50.o
135nouveau-y += core/engine/graph/ctxnvc0.o
136nouveau-y += core/engine/graph/ctxnve0.o
137nouveau-y += core/engine/graph/nv04.o
138nouveau-y += core/engine/graph/nv10.o
139nouveau-y += core/engine/graph/nv20.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000140nouveau-y += core/engine/graph/nv25.o
141nouveau-y += core/engine/graph/nv2a.o
142nouveau-y += core/engine/graph/nv30.o
143nouveau-y += core/engine/graph/nv34.o
144nouveau-y += core/engine/graph/nv35.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000145nouveau-y += core/engine/graph/nv40.o
146nouveau-y += core/engine/graph/nv50.o
147nouveau-y += core/engine/graph/nvc0.o
148nouveau-y += core/engine/graph/nve0.o
149nouveau-y += core/engine/mpeg/nv31.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000150nouveau-y += core/engine/mpeg/nv40.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000151nouveau-y += core/engine/mpeg/nv50.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000152nouveau-y += core/engine/mpeg/nv84.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000153nouveau-y += core/engine/ppp/nv98.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000154nouveau-y += core/engine/software/nv04.o
155nouveau-y += core/engine/software/nv10.o
156nouveau-y += core/engine/software/nv50.o
157nouveau-y += core/engine/software/nvc0.o
Ben Skeggs02a841d2012-07-04 23:44:54 +1000158nouveau-y += core/engine/vp/nv84.o
159
Ben Skeggsebb945a2012-07-20 08:17:34 +1000160# drm/core
161nouveau-y += nouveau_drm.o nouveau_chan.o nouveau_dma.o nouveau_fence.o
Ben Skeggs77145f12012-07-31 16:16:21 +1000162nouveau-y += nouveau_irq.o nouveau_vga.o nouveau_agp.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000163nouveau-y += nouveau_ttm.o nouveau_sgdma.o nouveau_bo.o nouveau_gem.o
Ben Skeggs77145f12012-07-31 16:16:21 +1000164nouveau-y += nouveau_prime.o nouveau_abi16.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000165nouveau-y += nv04_fence.o nv10_fence.o nv50_fence.o nv84_fence.o nvc0_fence.o
166
Ben Skeggs77145f12012-07-31 16:16:21 +1000167# drm/kms
168nouveau-y += nouveau_bios.o nouveau_fbcon.o nouveau_display.o
169nouveau-y += nouveau_connector.o nouveau_hdmi.o nouveau_dp.o
170nouveau-y += nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000171
172# drm/kms/nv04:nv50
173nouveau-y += nouveau_hw.o nouveau_calc.o
174nouveau-y += nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o
175nouveau-y += nv04_crtc.o nv04_display.o nv04_cursor.o
176
177# drm/kms/nv50-
178nouveau-y += nv50_display.o nvd0_display.o
179nouveau-y += nv50_crtc.o nv50_dac.o nv50_sor.o nv50_cursor.o
180nouveau-y += nv50_evo.o
181
182# drm/pm
Martin Peresaa1b9b42012-09-02 02:55:58 +0200183nouveau-y += nouveau_pm.o nouveau_volt.o nouveau_perf.o
Ben Skeggsebb945a2012-07-20 08:17:34 +1000184nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o
185nouveau-y += nouveau_mem.o
186
Ben Skeggs77145f12012-07-31 16:16:21 +1000187# other random bits
188nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
189nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
190nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
191
Ben Skeggs6ee73862009-12-11 19:24:15 +1000192obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o