Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 1 | # |
| 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 Skeggs | 5999933 | 2012-08-03 14:58:10 +1000 | [diff] [blame] | 5 | ccflags-y := -Iinclude/drm |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 6 | ccflags-y += -I$(src)/core/include |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 7 | ccflags-y += -I$(src)/core |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 8 | ccflags-y += -I$(src) |
| 9 | |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 10 | nouveau-y := core/core/client.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 11 | nouveau-y += core/core/engctx.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 12 | nouveau-y += core/core/engine.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame] | 13 | nouveau-y += core/core/enum.o |
Ben Skeggs | 3863c9b | 2012-07-14 19:09:17 +1000 | [diff] [blame] | 14 | nouveau-y += core/core/gpuobj.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 15 | nouveau-y += core/core/handle.o |
| 16 | nouveau-y += core/core/mm.o |
| 17 | nouveau-y += core/core/namedb.o |
| 18 | nouveau-y += core/core/object.o |
| 19 | nouveau-y += core/core/option.o |
| 20 | nouveau-y += core/core/parent.o |
| 21 | nouveau-y += core/core/printk.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 22 | nouveau-y += core/core/ramht.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 23 | nouveau-y += core/core/subdev.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 24 | |
Ben Skeggs | 3863c9b | 2012-07-14 19:09:17 +1000 | [diff] [blame] | 25 | nouveau-y += core/subdev/bar/base.o |
| 26 | nouveau-y += core/subdev/bar/nv50.o |
| 27 | nouveau-y += core/subdev/bar/nvc0.o |
Ben Skeggs | 70c0f26 | 2012-07-10 10:49:22 +1000 | [diff] [blame] | 28 | nouveau-y += core/subdev/bios/base.o |
| 29 | nouveau-y += core/subdev/bios/bit.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 30 | nouveau-y += core/subdev/bios/conn.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 31 | nouveau-y += core/subdev/bios/dcb.o |
Ben Skeggs | b6caea5 | 2012-11-02 11:02:47 +1000 | [diff] [blame] | 32 | nouveau-y += core/subdev/bios/disp.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 33 | nouveau-y += core/subdev/bios/dp.o |
Martin Peres | 32334cc | 2012-08-18 16:33:53 +0200 | [diff] [blame] | 34 | nouveau-y += core/subdev/bios/extdev.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 35 | nouveau-y += core/subdev/bios/gpio.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 36 | nouveau-y += core/subdev/bios/i2c.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 37 | nouveau-y += core/subdev/bios/init.o |
Ben Skeggs | d38ac52 | 2012-07-22 16:41:26 +1000 | [diff] [blame] | 38 | nouveau-y += core/subdev/bios/mxm.o |
Martin Peres | d46497d | 2012-08-30 02:31:59 +0200 | [diff] [blame] | 39 | nouveau-y += core/subdev/bios/perf.o |
Ben Skeggs | 70790f4 | 2012-07-10 17:26:46 +1000 | [diff] [blame] | 40 | nouveau-y += core/subdev/bios/pll.o |
Martin Peres | 7d70e9c | 2012-08-16 11:00:55 +0200 | [diff] [blame] | 41 | nouveau-y += core/subdev/bios/therm.o |
Ben Skeggs | 8aceb7d | 2012-07-10 16:45:24 +1000 | [diff] [blame] | 42 | nouveau-y += core/subdev/clock/nv04.o |
| 43 | nouveau-y += core/subdev/clock/nv40.o |
| 44 | nouveau-y += core/subdev/clock/nv50.o |
| 45 | nouveau-y += core/subdev/clock/nva3.o |
| 46 | nouveau-y += core/subdev/clock/nvc0.o |
Ben Skeggs | 70790f4 | 2012-07-10 17:26:46 +1000 | [diff] [blame] | 47 | nouveau-y += core/subdev/clock/pllnv04.o |
| 48 | nouveau-y += core/subdev/clock/pllnva3.o |
Ben Skeggs | 9274f4a | 2012-07-06 07:36:43 +1000 | [diff] [blame] | 49 | nouveau-y += core/subdev/device/base.o |
| 50 | nouveau-y += core/subdev/device/nv04.o |
| 51 | nouveau-y += core/subdev/device/nv10.o |
| 52 | nouveau-y += core/subdev/device/nv20.o |
| 53 | nouveau-y += core/subdev/device/nv30.o |
| 54 | nouveau-y += core/subdev/device/nv40.o |
| 55 | nouveau-y += core/subdev/device/nv50.o |
| 56 | nouveau-y += core/subdev/device/nvc0.o |
| 57 | nouveau-y += core/subdev/device/nve0.o |
Ben Skeggs | cb75d97 | 2012-07-11 10:44:20 +1000 | [diff] [blame] | 58 | nouveau-y += core/subdev/devinit/base.o |
| 59 | nouveau-y += core/subdev/devinit/nv04.o |
| 60 | nouveau-y += core/subdev/devinit/nv05.o |
| 61 | nouveau-y += core/subdev/devinit/nv10.o |
| 62 | nouveau-y += core/subdev/devinit/nv1a.o |
| 63 | nouveau-y += core/subdev/devinit/nv20.o |
| 64 | nouveau-y += core/subdev/devinit/nv50.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame] | 65 | nouveau-y += core/subdev/fb/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 66 | nouveau-y += core/subdev/fb/nv04.o |
| 67 | nouveau-y += core/subdev/fb/nv10.o |
Ben Skeggs | dac1558 | 2012-10-10 11:31:11 +1000 | [diff] [blame] | 68 | nouveau-y += core/subdev/fb/nv1a.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 69 | nouveau-y += core/subdev/fb/nv20.o |
Ben Skeggs | a8749af | 2012-10-09 15:48:11 +1000 | [diff] [blame] | 70 | nouveau-y += core/subdev/fb/nv25.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 71 | nouveau-y += core/subdev/fb/nv30.o |
Ben Skeggs | 11bac40 | 2012-10-09 15:56:16 +1000 | [diff] [blame] | 72 | nouveau-y += core/subdev/fb/nv35.o |
Ben Skeggs | d7da628 | 2012-10-11 15:46:30 +1000 | [diff] [blame] | 73 | nouveau-y += core/subdev/fb/nv36.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 74 | nouveau-y += core/subdev/fb/nv40.o |
Ben Skeggs | 4ae2074 | 2012-10-09 16:03:23 +1000 | [diff] [blame] | 75 | nouveau-y += core/subdev/fb/nv41.o |
| 76 | nouveau-y += core/subdev/fb/nv44.o |
| 77 | nouveau-y += core/subdev/fb/nv46.o |
| 78 | nouveau-y += core/subdev/fb/nv47.o |
| 79 | nouveau-y += core/subdev/fb/nv49.o |
| 80 | nouveau-y += core/subdev/fb/nv4e.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 81 | nouveau-y += core/subdev/fb/nv50.o |
| 82 | nouveau-y += core/subdev/fb/nvc0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 83 | nouveau-y += core/subdev/gpio/base.o |
| 84 | nouveau-y += core/subdev/gpio/nv10.o |
| 85 | nouveau-y += core/subdev/gpio/nv50.o |
Ben Skeggs | e0996ae | 2012-07-10 12:20:17 +1000 | [diff] [blame] | 86 | nouveau-y += core/subdev/gpio/nvd0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 87 | nouveau-y += core/subdev/i2c/base.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 88 | nouveau-y += core/subdev/i2c/aux.o |
| 89 | nouveau-y += core/subdev/i2c/bit.o |
Ben Skeggs | c0abf5c | 2012-09-26 13:05:01 +1000 | [diff] [blame] | 90 | nouveau-y += core/subdev/ibus/nvc0.o |
Ben Skeggs | 2c1a425 | 2012-08-22 23:55:42 -0400 | [diff] [blame] | 91 | nouveau-y += core/subdev/ibus/nve0.o |
Ben Skeggs | 3863c9b | 2012-07-14 19:09:17 +1000 | [diff] [blame] | 92 | nouveau-y += core/subdev/instmem/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 93 | nouveau-y += core/subdev/instmem/nv04.o |
Ben Skeggs | af7afbd | 2012-07-13 16:14:25 +1000 | [diff] [blame] | 94 | nouveau-y += core/subdev/instmem/nv40.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 95 | nouveau-y += core/subdev/instmem/nv50.o |
Ben Skeggs | 861d210 | 2012-07-11 19:05:01 +1000 | [diff] [blame] | 96 | nouveau-y += core/subdev/ltcg/nvc0.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 97 | nouveau-y += core/subdev/mc/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 98 | nouveau-y += core/subdev/mc/nv04.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 99 | nouveau-y += core/subdev/mc/nv44.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 100 | nouveau-y += core/subdev/mc/nv50.o |
Ben Skeggs | 7d9115d | 2012-07-11 15:58:56 +1000 | [diff] [blame] | 101 | nouveau-y += core/subdev/mc/nv98.o |
| 102 | nouveau-y += core/subdev/mc/nvc0.o |
Ben Skeggs | d38ac52 | 2012-07-22 16:41:26 +1000 | [diff] [blame] | 103 | nouveau-y += core/subdev/mxm/base.o |
| 104 | nouveau-y += core/subdev/mxm/mxms.o |
| 105 | nouveau-y += core/subdev/mxm/nv50.o |
Martin Peres | aa1b9b4 | 2012-09-02 02:55:58 +0200 | [diff] [blame] | 106 | nouveau-y += core/subdev/therm/base.o |
| 107 | nouveau-y += core/subdev/therm/fan.o |
| 108 | nouveau-y += core/subdev/therm/ic.o |
| 109 | nouveau-y += core/subdev/therm/nv40.o |
| 110 | nouveau-y += core/subdev/therm/nv50.o |
| 111 | nouveau-y += core/subdev/therm/temp.o |
Ben Skeggs | 5a5c743 | 2012-07-11 16:08:25 +1000 | [diff] [blame] | 112 | nouveau-y += core/subdev/timer/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 113 | nouveau-y += core/subdev/timer/nv04.o |
| 114 | nouveau-y += core/subdev/vm/base.o |
Ben Skeggs | 3863c9b | 2012-07-14 19:09:17 +1000 | [diff] [blame] | 115 | nouveau-y += core/subdev/vm/nv04.o |
| 116 | nouveau-y += core/subdev/vm/nv41.o |
| 117 | nouveau-y += core/subdev/vm/nv44.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 118 | nouveau-y += core/subdev/vm/nv50.o |
| 119 | nouveau-y += core/subdev/vm/nvc0.o |
| 120 | |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 121 | nouveau-y += core/engine/dmaobj/base.o |
| 122 | nouveau-y += core/engine/dmaobj/nv04.o |
| 123 | nouveau-y += core/engine/dmaobj/nv50.o |
| 124 | nouveau-y += core/engine/dmaobj/nvc0.o |
Ben Skeggs | 344e107 | 2012-10-08 14:11:35 +1000 | [diff] [blame] | 125 | nouveau-y += core/engine/dmaobj/nvd0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 126 | nouveau-y += core/engine/bsp/nv84.o |
| 127 | nouveau-y += core/engine/copy/nva3.o |
| 128 | nouveau-y += core/engine/copy/nvc0.o |
Ben Skeggs | 4f32656 | 2012-08-06 19:28:02 +1000 | [diff] [blame] | 129 | nouveau-y += core/engine/copy/nve0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 130 | nouveau-y += core/engine/crypt/nv84.o |
| 131 | nouveau-y += core/engine/crypt/nv98.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 132 | nouveau-y += core/engine/disp/nv04.o |
| 133 | nouveau-y += core/engine/disp/nv50.o |
Ben Skeggs | 70cabe4 | 2012-08-14 10:04:04 +1000 | [diff] [blame] | 134 | nouveau-y += core/engine/disp/nv84.o |
| 135 | nouveau-y += core/engine/disp/nv94.o |
| 136 | nouveau-y += core/engine/disp/nva0.o |
| 137 | nouveau-y += core/engine/disp/nva3.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 138 | nouveau-y += core/engine/disp/nvd0.o |
Ben Skeggs | 4665406 | 2012-08-28 14:10:39 +1000 | [diff] [blame] | 139 | nouveau-y += core/engine/disp/nve0.o |
Ben Skeggs | 6c5a042 | 2012-11-07 16:43:00 +1000 | [diff] [blame^] | 140 | nouveau-y += core/engine/disp/sornv50.o |
| 141 | nouveau-y += core/engine/disp/sornvd0.o |
Ben Skeggs | 4196faa | 2012-07-10 14:36:38 +1000 | [diff] [blame] | 142 | nouveau-y += core/engine/disp/vga.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 143 | nouveau-y += core/engine/fifo/base.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 144 | nouveau-y += core/engine/fifo/nv04.o |
| 145 | nouveau-y += core/engine/fifo/nv10.o |
| 146 | nouveau-y += core/engine/fifo/nv17.o |
| 147 | nouveau-y += core/engine/fifo/nv40.o |
| 148 | nouveau-y += core/engine/fifo/nv50.o |
| 149 | nouveau-y += core/engine/fifo/nv84.o |
| 150 | nouveau-y += core/engine/fifo/nvc0.o |
| 151 | nouveau-y += core/engine/fifo/nve0.o |
| 152 | nouveau-y += core/engine/graph/ctxnv40.o |
| 153 | nouveau-y += core/engine/graph/ctxnv50.o |
| 154 | nouveau-y += core/engine/graph/ctxnvc0.o |
| 155 | nouveau-y += core/engine/graph/ctxnve0.o |
| 156 | nouveau-y += core/engine/graph/nv04.o |
| 157 | nouveau-y += core/engine/graph/nv10.o |
| 158 | nouveau-y += core/engine/graph/nv20.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 159 | nouveau-y += core/engine/graph/nv25.o |
| 160 | nouveau-y += core/engine/graph/nv2a.o |
| 161 | nouveau-y += core/engine/graph/nv30.o |
| 162 | nouveau-y += core/engine/graph/nv34.o |
| 163 | nouveau-y += core/engine/graph/nv35.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 164 | nouveau-y += core/engine/graph/nv40.o |
| 165 | nouveau-y += core/engine/graph/nv50.o |
| 166 | nouveau-y += core/engine/graph/nvc0.o |
| 167 | nouveau-y += core/engine/graph/nve0.o |
| 168 | nouveau-y += core/engine/mpeg/nv31.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 169 | nouveau-y += core/engine/mpeg/nv40.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 170 | nouveau-y += core/engine/mpeg/nv50.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 171 | nouveau-y += core/engine/mpeg/nv84.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 172 | nouveau-y += core/engine/ppp/nv98.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 173 | nouveau-y += core/engine/software/nv04.o |
| 174 | nouveau-y += core/engine/software/nv10.o |
| 175 | nouveau-y += core/engine/software/nv50.o |
| 176 | nouveau-y += core/engine/software/nvc0.o |
Ben Skeggs | 02a841d | 2012-07-04 23:44:54 +1000 | [diff] [blame] | 177 | nouveau-y += core/engine/vp/nv84.o |
| 178 | |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 179 | # drm/core |
| 180 | nouveau-y += nouveau_drm.o nouveau_chan.o nouveau_dma.o nouveau_fence.o |
Ben Skeggs | 77145f1 | 2012-07-31 16:16:21 +1000 | [diff] [blame] | 181 | nouveau-y += nouveau_irq.o nouveau_vga.o nouveau_agp.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 182 | nouveau-y += nouveau_ttm.o nouveau_sgdma.o nouveau_bo.o nouveau_gem.o |
Ben Skeggs | 77145f1 | 2012-07-31 16:16:21 +1000 | [diff] [blame] | 183 | nouveau-y += nouveau_prime.o nouveau_abi16.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 184 | nouveau-y += nv04_fence.o nv10_fence.o nv50_fence.o nv84_fence.o nvc0_fence.o |
| 185 | |
Ben Skeggs | 77145f1 | 2012-07-31 16:16:21 +1000 | [diff] [blame] | 186 | # drm/kms |
| 187 | nouveau-y += nouveau_bios.o nouveau_fbcon.o nouveau_display.o |
| 188 | nouveau-y += nouveau_connector.o nouveau_hdmi.o nouveau_dp.o |
| 189 | nouveau-y += nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 190 | |
| 191 | # drm/kms/nv04:nv50 |
| 192 | nouveau-y += nouveau_hw.o nouveau_calc.o |
| 193 | nouveau-y += nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o |
| 194 | nouveau-y += nv04_crtc.o nv04_display.o nv04_cursor.o |
| 195 | |
| 196 | # drm/kms/nv50- |
| 197 | nouveau-y += nv50_display.o nvd0_display.o |
| 198 | nouveau-y += nv50_crtc.o nv50_dac.o nv50_sor.o nv50_cursor.o |
| 199 | nouveau-y += nv50_evo.o |
| 200 | |
| 201 | # drm/pm |
Martin Peres | aa1b9b4 | 2012-09-02 02:55:58 +0200 | [diff] [blame] | 202 | nouveau-y += nouveau_pm.o nouveau_volt.o nouveau_perf.o |
Ben Skeggs | ebb945a | 2012-07-20 08:17:34 +1000 | [diff] [blame] | 203 | nouveau-y += nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o |
| 204 | nouveau-y += nouveau_mem.o |
| 205 | |
Ben Skeggs | 77145f1 | 2012-07-31 16:16:21 +1000 | [diff] [blame] | 206 | # other random bits |
| 207 | nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o |
| 208 | nouveau-$(CONFIG_ACPI) += nouveau_acpi.o |
| 209 | nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o |
| 210 | |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 211 | obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o |