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/core Import the part ...
details: https://anonhg.NetBSD.org/src/rev/e82cf36c4a97
branches: trunk
changeset: 330652:e82cf36c4a97
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jul 17 01:50:57 2014 +0000
description:
Import the part of Nouveau that got eaten by CVS default ignore patterns.
No, this is *not* a core file. This is a directory with most of the
source code!
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/fuc/nva3.fuc | 872 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/copy/fuc/nva3.fuc.h | 620 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/copy/fuc/nvc0.fuc.h | 606 +
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/fuc/nv98.fuc.h | 584 +
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/device/priv.h | 8 +
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/dport.h | 78 +
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/nv50.h | 202 +
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/priv.h | 10 +
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/nv04.h | 178 +
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/nv50.h | 36 +
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/fifo/nve0.h | 17 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/ctx.h | 129 +
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/ctxnvc0.h | 170 +
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/fuc/com.fuc | 335 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpc.fuc | 378 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcgm107.fuc5 | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcgm107.fuc5.h | 473 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnv108.fuc5 | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnv108.fuc5.h | 473 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvc0.fuc | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvc0.fuc.h | 530 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvd7.fuc | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvd7.fuc.h | 537 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnve0.fuc.h | 537 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvf0.fuc | 42 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/gpcnvf0.fuc.h | 537 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hub.fuc | 684 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubgm107.fuc5 | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubgm107.fuc5.h | 916 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnv108.fuc5 | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnv108.fuc5.h | 916 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc.h | 983 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvd7.fuc | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvd7.fuc.h | 983 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnve0.fuc | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnve0.fuc.h | 980 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvf0.fuc | 40 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/hubnvf0.fuc.h | 980 ++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/macros.fuc | 223 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/fuc/os.h | 7 +
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/nv20.h | 31 +
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/nv40.h | 24 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv50.c | 1011 +++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nv50.h | 7 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc0.c | 1383 ++++
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/graph/nvc0.h | 230 +
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/graph/regs.h | 274 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv31.c | 310 +
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/mpeg/nv31.h | 15 +
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/nv40.h | 26 +
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/nvc0.h | 17 +
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/perfmon/priv.h | 91 +
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/nv50.h | 47 +
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/include/core/class.h | 466 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/client.h | 46 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/debug.h | 20 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/device.h | 174 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/engctx.h | 54 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/engine.h | 57 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/enum.h | 24 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/event.h | 46 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/gpuobj.h | 71 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/handle.h | 31 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/mm.h | 36 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/namedb.h | 56 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/object.h | 202 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/option.h | 20 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/parent.h | 61 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/printk.h | 31 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/ramht.h | 23 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/subdev.h | 118 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/bsp.h | 9 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/copy.h | 13 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/crypt.h | 7 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/device.h | 33 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/disp.h | 50 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/dmaobj.h | 48 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/falcon.h | 83 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/fifo.h | 117 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/graph.h | 84 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/mpeg.h | 63 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/perfmon.h | 39 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/ppp.h | 7 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/software.h | 51 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/vp.h | 9 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/engine/xtensa.h | 38 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bar.h | 34 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios.h | 35 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/P0260.h | 23 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/bit.h | 13 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/bmp.h | 39 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/boost.h | 29 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/conn.h | 28 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/cstep.h | 28 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/dcb.h | 69 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/disp.h | 48 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/dp.h | 34 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/extdev.h | 30 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/gpio.h | 48 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/i2c.h | 25 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/init.h | 22 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/mxm.h | 9 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/perf.h | 47 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/pll.h | 79 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/ramcfg.h | 66 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/rammap.h | 25 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/therm.h | 69 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/timing.h | 14 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/vmap.h | 25 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/volt.h | 27 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bios/xpio.h | 19 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/bus.h | 53 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/clock.h | 151 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/devinit.h | 34 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/fb.h | 161 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/gpio.h | 53 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/i2c.h | 158 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/ibus.h | 34 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/instmem.h | 52 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/ltcg.h | 41 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/mc.h | 58 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/mxm.h | 37 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/pwr.h | 80 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/therm.h | 82 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/timer.h | 64 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/vga.h | 30 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/vm.h | 135 +
sys/external/bsd/drm2/dist/drm/nouveau/core/include/subdev/volt.h | 60 +
sys/external/bsd/drm2/dist/drm/nouveau/core/os.h | 41 +
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/bar/priv.h | 26 +
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/hwsq.h | 113 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv04.c | 95 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bus/nv04.h | 23 +
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/nv50.h | 31 +
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/nva3.h | 14 +
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/pll.h | 9 +
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/clock/seq.h | 17 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/base.c | 101 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/fbmem.h | 100 +
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/nv04.h | 23 +
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/nv50.h | 21 +
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/devinit/priv.h | 38 +
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/nv04.h | 55 +
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/nv40.h | 17 +
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/nv50.h | 33 +
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/nvc0.h | 31 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/nve0.c | 38 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/priv.h | 73 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/ramfuc.h | 118 +
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/ramseq.h | 18 +
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/gpio/priv.h | 17 +
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/nv50.h | 32 +
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/nv04.h | 40 +
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/instmem/priv.h | 56 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ltcg/gf100.c | 226 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/ltcg/gf100.h | 21 +
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/nv04.h | 22 +
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/mxms.h | 22 +
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/fuc/host.fuc | 151 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/i2c_.fuc | 393 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/idle.fuc | 84 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/kernel.fuc | 454 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/macros.fuc | 252 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/memx.fuc | 219 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc | 66 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h | 1460 ++++
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nva3.fuc | 66 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nva3.fuc.h | 1589 ++++
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc | 66 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h | 1589 ++++
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc | 66 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h | 1524 ++++
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/os.h | 46 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/perf.fuc | 57 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/pwr/fuc/test.fuc | 64 +
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/priv.h | 156 +
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/timer/nv04.h | 27 +
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/timer/priv.h | 6 +
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/nv04.h | 19 +
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 +
467 files changed, 99476 insertions(+), 0 deletions(-)
diffs (truncated from 101344 to 300 lines):
diff -r 05f607864038 -r e82cf36c4a97 sys/external/bsd/drm2/dist/drm/nouveau/core/core/client.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/core/core/client.c Thu Jul 17 01:50:57 2014 +0000
@@ -0,0 +1,112 @@
+/*
+ * 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 05f607864038 -r e82cf36c4a97 sys/external/bsd/drm2/dist/drm/nouveau/core/core/engctx.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/core/core/engctx.c Thu Jul 17 01:50:57 2014 +0000
@@ -0,0 +1,251 @@
+/*
+ * 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