Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau merge re-imported nou...
details: https://anonhg.NetBSD.org/src/rev/24f6554300a8
branches: trunk
changeset: 331238:24f6554300a8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Aug 06 12:52:19 2014 +0000
description:
merge re-imported nouveau
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/core/core/client.c | 112 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/engctx.c | 251 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/engine.c | 68 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/enum.c | 68 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/event.c | 163 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/gpuobj.c | 323 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/handle.c | 226 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/mm.c | 254 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/namedb.c | 203 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/object.c | 474 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/option.c | 122 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/parent.c | 128 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/printk.c | 98 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/ramht.c | 108 -
sys/external/bsd/drm2/dist/drm/nouveau/core/core/subdev.c | 112 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/bsp/nv84.c | 92 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/bsp/nv98.c | 111 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/bsp/nvc0.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/bsp/nve0.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/copy/nva3.c | 157 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/copy/nvc0.c | 174 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/copy/nve0.c | 177 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/crypt/nv84.c | 189 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/crypt/nv98.c | 157 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/base.c | 566 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/ctrl.c | 144 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/gm100.c | 106 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv04.c | 89 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv10.c | 204 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv20.c | 131 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv30.c | 153 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv40.c | 427 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nv50.c | 460 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nvc0.c | 348 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nve0.c | 234 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/base.c | 52 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/dacnv50.c | 98 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/dport.c | 372 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/gm107.c | 101 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/hdanva3.c | 50 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/hdanvd0.c | 55 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/hdminv84.c | 70 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/hdminva3.c | 70 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/hdminvd0.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nv04.c | 150 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nv50.c | 1676 -----
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nv84.c | 284 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nv94.c | 144 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nva0.c | 146 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nva3.c | 118 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nvd0.c | 1372 ----
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nve0.c | 266 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nvf0.c | 101 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/piornv50.c | 140 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/sornv50.c | 79 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/sornv94.c | 131 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/sornvd0.c | 128 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/vga.c | 220 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/dmaobj/base.c | 120 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/dmaobj/nv04.c | 143 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/dmaobj/nv50.c | 161 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/dmaobj/nvc0.c | 143 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/dmaobj/nvd0.c | 128 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/falcon.c | 278 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/base.c | 208 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv04.c | 644 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv10.c | 171 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv108.c | 37 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv17.c | 208 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv40.c | 349 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv50.c | 517 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nv84.c | 450 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nvc0.c | 955 --
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nve0.c | 1091 ---
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxgm107.c | 991 --
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnv108.c | 597 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnv40.c | 695 --
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnv50.c | 3341 ----------
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvc0.c | 1319 ---
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvc1.c | 797 --
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvc4.c | 103 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvc8.c | 354 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvd7.c | 275 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvd9.c | 522 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnve4.c | 1021 ---
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctxnvf0.c | 885 --
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/gm107.c | 465 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv04.c | 1389 ----
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv10.c | 1320 ---
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv108.c | 223 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv20.c | 384 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv25.c | 167 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv2a.c | 134 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv30.c | 238 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv34.c | 168 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv35.c | 166 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv40.c | 537 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv50.c | 1011 ---
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc0.c | 1383 ----
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc1.c | 133 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc4.c | 128 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc8.c | 115 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvd7.c | 136 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvd9.c | 191 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nve4.c | 360 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvf0.c | 244 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv31.c | 310 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv40.c | 142 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv44.c | 194 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv50.c | 231 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv84.c | 103 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/base.c | 449 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/daemon.c | 109 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nv40.c | 143 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nv50.c | 70 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nv84.c | 78 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nva3.c | 96 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nvc0.c | 173 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nve0.c | 162 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/perfmon/nvf0.c | 71 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/ppp/nv98.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/ppp/nvc0.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/software/nv04.c | 147 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/software/nv10.c | 129 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/software/nv50.c | 243 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/software/nvc0.c | 149 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/vp/nv84.c | 92 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/vp/nv98.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/vp/nvc0.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/vp/nve0.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/xtensa.c | 176 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bar/base.c | 139 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bar/nv50.c | 273 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bar/nvc0.c | 217 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/P0260.c | 109 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/base.c | 551 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/bit.c | 52 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/boost.c | 127 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/conn.c | 56 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/cstep.c | 123 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/dcb.c | 231 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/disp.c | 178 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/dp.c | 208 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/extdev.c | 100 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/gpio.c | 150 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/i2c.c | 134 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/init.c | 2184 ------
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/mxm.c | 135 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/perf.c | 201 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/pll.c | 416 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/ramcfg.c | 68 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/rammap.c | 173 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/therm.c | 215 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/timing.c | 127 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/vmap.c | 112 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/volt.c | 137 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/xpio.c | 76 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/hwsq.c | 145 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv04.c | 95 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv31.c | 92 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv50.c | 105 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv94.c | 59 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nvc0.c | 81 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/base.c | 497 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nv04.c | 104 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nv40.c | 239 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nv50.c | 559 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nv84.c | 48 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nva3.c | 326 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nvaa.c | 445 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nvc0.c | 461 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/nve0.c | 497 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/pllnv04.c | 246 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/clock/pllnva3.c | 89 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/base.c | 101 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/gm107.c | 56 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv04.c | 467 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv05.c | 139 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv10.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv1a.c | 37 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv20.c | 74 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv50.c | 163 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv84.c | 63 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nv98.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nva3.c | 145 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nvaf.c | 63 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nvc0.c | 118 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/base.c | 166 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/gddr5.c | 122 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/gm107.c | 38 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv04.c | 89 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv10.c | 71 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv1a.c | 44 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv20.c | 95 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv25.c | 61 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv30.c | 139 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv35.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv36.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv40.c | 76 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv41.c | 69 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv44.c | 78 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv46.c | 58 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv47.c | 45 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv49.c | 45 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv4e.c | 44 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv50.c | 313 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nv84.c | 39 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nva3.c | 39 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nvaa.c | 39 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nvaf.c | 39 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nvc0.c | 116 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nve0.c | 38 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramgm107.c | 56 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv04.c | 95 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv10.c | 61 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv1a.c | 71 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv20.c | 63 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv40.c | 215 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv41.c | 67 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv44.c | 65 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv49.c | 67 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv4e.c | 55 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnv50.c | 472 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnva3.c | 439 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnvaa.c | 66 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnvc0.c | 732 --
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramnve0.c | 1391 ----
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/sddr3.c | 99 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/gpio/base.c | 158 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/gpio/nv10.c | 177 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/gpio/nv50.c | 213 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/gpio/nvd0.c | 107 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/gpio/nve0.c | 131 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/anx9805.c | 277 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/aux.c | 100 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/base.c | 384 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/bit.c | 232 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/nv04.c | 143 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/nv4e.c | 135 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/nv50.c | 149 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/nv94.c | 285 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/i2c/nvd0.c | 124 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ibus/nvc0.c | 123 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ibus/nve0.c | 123 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem/base.c | 157 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem/nv04.c | 182 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem/nv40.c | 137 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/instmem/nv50.c | 171 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ltcg/gf100.c | 226 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ltcg/gm107.c | 142 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/base.c | 159 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv04.c | 79 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv40.c | 45 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv44.c | 54 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv4c.c | 45 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv50.c | 70 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv94.c | 38 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nv98.c | 58 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nvc0.c | 69 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mc/nvc3.c | 38 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/base.c | 274 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/mxms.c | 193 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nv50.c | 233 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/base.c | 247 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/memx.c | 121 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/nv108.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/nva3.c | 71 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/nvc0.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/nvd0.c | 62 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/base.c | 374 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/fan.c | 282 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/fannil.c | 54 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/fanpwm.c | 107 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/fantog.c | 122 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/ic.c | 121 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nv40.c | 224 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nv50.c | 197 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nv84.c | 234 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nva3.c | 99 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/nvd0.c | 172 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/therm/temp.c | 264 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/timer/base.c | 94 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/timer/gk20a.c | 57 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/timer/nv04.c | 264 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/base.c | 483 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nv04.c | 151 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nv41.c | 159 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nv44.c | 249 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nv50.c | 240 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/vm/nvc0.c | 242 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/volt/base.c | 198 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/volt/gpio.c | 96 -
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/volt/nv40.c | 56 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/arb.c | 265 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/crtc.c | 1145 ---
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/cursor.c | 70 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/dac.c | 556 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/dfp.c | 722 --
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/disp.c | 208 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/hw.c | 829 --
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/overlay.c | 497 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvmodesnv17.c | 592 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvnv04.c | 250 -
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/tvnv17.c | 843 --
sys/external/bsd/drm2/dist/drm/nouveau/nv04_fbcon.c | 283 -
sys/external/bsd/drm2/dist/drm/nouveau/nv04_fence.c | 111 -
sys/external/bsd/drm2/dist/drm/nouveau/nv10_fence.c | 110 -
sys/external/bsd/drm2/dist/drm/nouveau/nv17_fence.c | 149 -
sys/external/bsd/drm2/dist/drm/nouveau/nv50_display.c | 2306 ------
sys/external/bsd/drm2/dist/drm/nouveau/nv50_fbcon.c | 259 -
sys/external/bsd/drm2/dist/drm/nouveau/nv50_fence.c | 123 -
sys/external/bsd/drm2/dist/drm/nouveau/nv84_fence.c | 276 -
sys/external/bsd/drm2/dist/drm/nouveau/nvc0_fbcon.c | 262 -
sys/external/bsd/drm2/dist/drm/nouveau/nvc0_fence.c | 90 -
314 files changed, 0 insertions(+), 80466 deletions(-)
diffs (truncated from 81722 to 300 lines):
diff -r bc64aafecc16 -r 24f6554300a8 sys/external/bsd/drm2/dist/drm/nouveau/core/core/client.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/core/core/client.c Wed Aug 06 12:47:13 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,112 +0,0 @@
-/*
- * Copyright 2012 Red Hat Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * Authors: Ben Skeggs
- */
-
-#include <core/object.h>
-#include <core/client.h>
-#include <core/handle.h>
-#include <core/option.h>
-
-#include <engine/device.h>
-
-static void
-nouveau_client_dtor(struct nouveau_object *object)
-{
- struct nouveau_client *client = (void *)object;
- nouveau_object_ref(NULL, &client->device);
- nouveau_handle_destroy(client->root);
- nouveau_namedb_destroy(&client->base);
-}
-
-static struct nouveau_oclass
-nouveau_client_oclass = {
- .ofuncs = &(struct nouveau_ofuncs) {
- .dtor = nouveau_client_dtor,
- },
-};
-
-int
-nouveau_client_create_(const char *name, u64 devname, const char *cfg,
- const char *dbg, int length, void **pobject)
-{
- struct nouveau_object *device;
- struct nouveau_client *client;
- int ret;
-
- device = (void *)nouveau_device_find(devname);
- if (!device)
- return -ENODEV;
-
- ret = nouveau_namedb_create_(NULL, NULL, &nouveau_client_oclass,
- NV_CLIENT_CLASS, NULL,
- (1ULL << NVDEV_ENGINE_DEVICE),
- length, pobject);
- client = *pobject;
- if (ret)
- return ret;
-
- ret = nouveau_handle_create(nv_object(client), ~0, ~0,
- nv_object(client), &client->root);
- if (ret)
- return ret;
-
- /* prevent init/fini being called, os in in charge of this */
- atomic_set(&nv_object(client)->usecount, 2);
-
- nouveau_object_ref(device, &client->device);
- snprintf(client->name, sizeof(client->name), "%s", name);
- client->debug = nouveau_dbgopt(dbg, "CLIENT");
- return 0;
-}
-
-int
-nouveau_client_init(struct nouveau_client *client)
-{
- int ret;
- nv_debug(client, "init running\n");
- ret = nouveau_handle_init(client->root);
- nv_debug(client, "init completed with %d\n", ret);
- return ret;
-}
-
-int
-nouveau_client_fini(struct nouveau_client *client, bool suspend)
-{
- const char *name[2] = { "fini", "suspend" };
- int ret;
-
- nv_debug(client, "%s running\n", name[suspend]);
- ret = nouveau_handle_fini(client->root, suspend);
- nv_debug(client, "%s completed with %d\n", name[suspend], ret);
- return ret;
-}
-
-const char *
-nouveau_client_name(void *obj)
-{
- const char *client_name = "unknown";
- struct nouveau_client *client = nouveau_client(obj);
- if (client)
- client_name = client->name;
- return client_name;
-}
diff -r bc64aafecc16 -r 24f6554300a8 sys/external/bsd/drm2/dist/drm/nouveau/core/core/engctx.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/core/core/engctx.c Wed Aug 06 12:47:13 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,251 +0,0 @@
-/*
- * Copyright 2012 Red Hat Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * Authors: Ben Skeggs
- */
-
-#include <core/object.h>
-#include <core/namedb.h>
-#include <core/handle.h>
-#include <core/client.h>
-#include <core/engctx.h>
-
-#include <subdev/vm.h>
-
-static inline int
-nouveau_engctx_exists(struct nouveau_object *parent,
- struct nouveau_engine *engine, void **pobject)
-{
- struct nouveau_engctx *engctx;
- struct nouveau_object *parctx;
-
- list_for_each_entry(engctx, &engine->contexts, head) {
- parctx = nv_pclass(nv_object(engctx), NV_PARENT_CLASS);
- if (parctx == parent) {
- atomic_inc(&nv_object(engctx)->refcount);
- *pobject = engctx;
- return 1;
- }
- }
-
- return 0;
-}
-
-int
-nouveau_engctx_create_(struct nouveau_object *parent,
- struct nouveau_object *engobj,
- struct nouveau_oclass *oclass,
- struct nouveau_object *pargpu,
- u32 size, u32 align, u32 flags,
- int length, void **pobject)
-{
- struct nouveau_client *client = nouveau_client(parent);
- struct nouveau_engine *engine = nv_engine(engobj);
- struct nouveau_object *engctx;
- unsigned long save;
- int ret;
-
- /* check if this engine already has a context for the parent object,
- * and reference it instead of creating a new one
- */
- spin_lock_irqsave(&engine->lock, save);
- ret = nouveau_engctx_exists(parent, engine, pobject);
- spin_unlock_irqrestore(&engine->lock, save);
- if (ret)
- return ret;
-
- /* create the new context, supports creating both raw objects and
- * objects backed by instance memory
- */
- if (size) {
- ret = nouveau_gpuobj_create_(parent, engobj, oclass,
- NV_ENGCTX_CLASS,
- pargpu, size, align, flags,
- length, pobject);
- } else {
- ret = nouveau_object_create_(parent, engobj, oclass,
- NV_ENGCTX_CLASS, length, pobject);
- }
-
- engctx = *pobject;
- if (ret)
- return ret;
-
- /* must take the lock again and re-check a context doesn't already
- * exist (in case of a race) - the lock had to be dropped before as
- * it's not possible to allocate the object with it held.
- */
- spin_lock_irqsave(&engine->lock, save);
- ret = nouveau_engctx_exists(parent, engine, pobject);
- if (ret) {
- spin_unlock_irqrestore(&engine->lock, save);
- nouveau_object_ref(NULL, &engctx);
- return ret;
- }
-
- if (client->vm)
- atomic_inc(&client->vm->engref[nv_engidx(engobj)]);
- list_add(&nv_engctx(engctx)->head, &engine->contexts);
- nv_engctx(engctx)->addr = ~0ULL;
- spin_unlock_irqrestore(&engine->lock, save);
- return 0;
-}
-
-void
-nouveau_engctx_destroy(struct nouveau_engctx *engctx)
-{
- struct nouveau_object *engobj = nv_object(engctx)->engine;
- struct nouveau_engine *engine = nv_engine(engobj);
- struct nouveau_client *client = nouveau_client(engctx);
- unsigned long save;
-
- nouveau_gpuobj_unmap(&engctx->vma);
- spin_lock_irqsave(&engine->lock, save);
- list_del(&engctx->head);
- spin_unlock_irqrestore(&engine->lock, save);
-
- if (client->vm)
- atomic_dec(&client->vm->engref[nv_engidx(engobj)]);
-
- if (engctx->base.size)
- nouveau_gpuobj_destroy(&engctx->base);
- else
- nouveau_object_destroy(&engctx->base.base);
-}
-
-int
-nouveau_engctx_init(struct nouveau_engctx *engctx)
-{
- struct nouveau_object *object = nv_object(engctx);
- struct nouveau_subdev *subdev = nv_subdev(object->engine);
- struct nouveau_object *parent;
- struct nouveau_subdev *pardev;
- int ret;
-
- ret = nouveau_gpuobj_init(&engctx->base);
- if (ret)
- return ret;
-
- parent = nv_pclass(object->parent, NV_PARENT_CLASS);
- pardev = nv_subdev(parent->engine);
- if (nv_parent(parent)->context_attach) {
- mutex_lock(&pardev->mutex);
- ret = nv_parent(parent)->context_attach(parent, object);
- mutex_unlock(&pardev->mutex);
- }
-
- if (ret) {
- nv_error(parent, "failed to attach %s context, %d\n",
- subdev->name, ret);
- return ret;
- }
-
- nv_debug(parent, "attached %s context\n", subdev->name);
- return 0;
-}
-
-int
-nouveau_engctx_fini(struct nouveau_engctx *engctx, bool suspend)
-{
- struct nouveau_object *object = nv_object(engctx);
- struct nouveau_subdev *subdev = nv_subdev(object->engine);
- struct nouveau_object *parent;
- struct nouveau_subdev *pardev;
- int ret = 0;
-
- parent = nv_pclass(object->parent, NV_PARENT_CLASS);
- pardev = nv_subdev(parent->engine);
- if (nv_parent(parent)->context_detach) {
- mutex_lock(&pardev->mutex);
- ret = nv_parent(parent)->context_detach(parent, suspend, object);
- mutex_unlock(&pardev->mutex);
- }
Home |
Main Index |
Thread Index |
Old Index