Skip to content

drm/nouveau: replace "ioctl" interface between drm/nvkm

Ben Skeggs nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest156 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/156drm/nouveau: add nouveau_drm.device/mmudrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/nouveau/nouveau_drv.h+27 -10 replies
2/156drm/nouveau: alias nouveau_drm.client to nouveau_drm.clidrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/nouveau/nouveau_drv.h+7 -40 replies
3/156drm/nouveau: pass drm to nouveau_mem_new(), instead of clidrivers/gpu/drm/nouveau/nouveau_mem.c drivers/gpu/drm/nouveau/nouveau_mem.h drivers/gpu/drm/nouveau/nouveau_sgdma.c +1 more+17 -170 replies
4/156drm/nouveau: pass drm to nv50_dmac_create(), rather than device+dispdrivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/core507d.c drivers/gpu/drm/nouveau/dispnv50/disp.c +4 more+10 -111 reply
5/156drm/nouveau: pass cli to nouveau_channel_new() instead of drm+devicedrivers/gpu/drm/nouveau/nouveau_abi16.c drivers/gpu/drm/nouveau/nouveau_chan.c drivers/gpu/drm/nouveau/nouveau_chan.h +1 more+14 -120 replies
6/156drm/nouveau: remove nouveau_chan.devicedrivers/gpu/drm/nouveau/nouveau_chan.c drivers/gpu/drm/nouveau/nouveau_chan.h+1 -30 replies
7/156drm/nouveau: remove chan->drmdrivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/nouveau_bo0039.c drivers/gpu/drm/nouveau/nouveau_bo5039.c +8 more+35 -390 replies
8/156drm/nouveau: replace some void casts with chan->clidrivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_chan.c+4 -40 replies
9/156drm/nouveau: remove nouveau_drm.masterdrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/nouveau/nouveau_drv.h drivers/gpu/drm/nouveau/nouveau_mem.c+56 -580 replies
10/156drm/nouveau: always map devicedrivers/gpu/drm/nouveau/dispnv04/disp.c drivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/nouveau_drm.c +1 more+16 -50 replies
11/156drm/nouveau: add nouveau_cli to nouveau_abi16drivers/gpu/drm/nouveau/nouveau_abi16.c drivers/gpu/drm/nouveau/nouveau_abi16.h+6 -40 replies
12/156drm/nouveau: handle limited nvif in abi16drivers/gpu/drm/nouveau/Kbuild drivers/gpu/drm/nouveau/nouveau_abi16.c drivers/gpu/drm/nouveau/nouveau_abi16.h +4 more+242 -2490 replies
13/156drm/nouveau: remove abi16->devicedrivers/gpu/drm/nouveau/nouveau_abi16.c drivers/gpu/drm/nouveau/nouveau_abi16.h+2 -230 replies
14/156drm/nouveau: remove abi16->handlesdrivers/gpu/drm/nouveau/nouveau_abi16.h+0 -10 replies
15/156drm/nouveau: store nvkm_device pointer in nouveau_drmdrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/nouveau/nouveau_drv.h+6 -80 replies
16/156drm/nouveau: create pci device oncedrivers/gpu/drm/nouveau/nouveau_drm.c+2 -90 replies
17/156drm/nouveau: remove push pointer from nouveau_channeldrivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/nouveau_bo0039.c drivers/gpu/drm/nouveau/nouveau_bo5039.c +15 more+53 -540 replies
18/156drm/nouveau/kms: remove a few unused struct members and fn declsdrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/dispnv50/disp.h+0 -120 replies
19/156drm/nouveau/kms: remove push pointer from nv50_dmacdrivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/base827c.c drivers/gpu/drm/nouveau/dispnv50/base907c.c +27 more+122 -1240 replies
20/156drm/nouveau/kms: move hw ring tracking vars into nvif_pushdrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/dispnv50/disp.h drivers/gpu/drm/nouveau/include/nvif/push.h+28 -230 replies
21/156drm/nouveau/kms: move dmac sync/vram ctxdmas to core+wndwsdrivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/core.c drivers/gpu/drm/nouveau/dispnv50/core.h +12 more+104 -490 replies
22/156drm/nouveau/nvkm: remove detect/mmio/subdev_mask from device argsdrivers/gpu/drm/nouveau/include/nvkm/core/pci.h drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h drivers/gpu/drm/nouveau/nouveau_drm.c +4 more+209 -2310 replies
23/156drm/nouveau/nvkm: move nouveau_nvif.c to nvkm/core/driver.cdrivers/gpu/drm/nouveau/Kbuild drivers/gpu/drm/nouveau/nvkm/core/Kbuild drivers/gpu/drm/nouveau/nvkm/core/driver.c+18 -200 replies
24/156drm/nouveau/nvkm: move nvkm/engine/device/ to nvkm/device/drivers/gpu/drm/nouveau/nvkm/Kbuild drivers/gpu/drm/nouveau/nvkm/device/Kbuild drivers/gpu/drm/nouveau/nvkm/device/acpi.c +10 more+8 -80 replies
25/156drm/nouveau/nvkm: remove perfmondrivers/gpu/drm/nouveau/include/nvif/class.h drivers/gpu/drm/nouveau/include/nvif/if0002.h drivers/gpu/drm/nouveau/include/nvif/if0003.h +20 more+1 -25410 replies
26/156drm/nouveau/nvkm: remove nvkm_client_search()drivers/gpu/drm/nouveau/include/nvkm/core/client.h drivers/gpu/drm/nouveau/nvkm/core/client.c+0 -140 replies
27/156drm/nouveau/nvif: remove support for userspace backendsdrivers/gpu/drm/nouveau/include/nvif/driver.h drivers/gpu/drm/nouveau/nvif/driver.c+7 -280 replies
28/156drm/nouveau/nvif: remove route/tokendrivers/gpu/drm/nouveau/include/nvif/client.h drivers/gpu/drm/nouveau/include/nvkm/core/object.h drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h +7 more+6 -380 replies
29/156drm/nouveau/nvif: remove nvxx_object()drivers/gpu/drm/nouveau/include/nvif/object.h drivers/gpu/drm/nouveau/include/nvif/os.h drivers/gpu/drm/nouveau/include/nvkm/core/os.h+19 -260 replies
30/156drm/nouveau/nvif: remove nvxx_client()drivers/gpu/drm/nouveau/include/nvif/client.h drivers/gpu/drm/nouveau/nouveau_chan.c drivers/gpu/drm/nouveau/nouveau_drm.c +1 more+2 -100 replies
31/156drm/nouveau/nvif: remove driver keep/finidrivers/gpu/drm/nouveau/include/nvif/driver.h drivers/gpu/drm/nouveau/nvif/client.c drivers/gpu/drm/nouveau/nvkm/core/driver.c+1 -80 replies
32/156drm/nouveau/nvif: remove client versiondrivers/gpu/drm/nouveau/include/nvif/client.h drivers/gpu/drm/nouveau/include/nvif/ioctl.h drivers/gpu/drm/nouveau/nvif/client.c +1 more+2 -400 replies
33/156drm/nouveau/nvif: remove client devlistdrivers/gpu/drm/nouveau/include/nvif/if0000.h drivers/gpu/drm/nouveau/include/nvkm/core/device.h drivers/gpu/drm/nouveau/nvkm/core/client.c +1 more+0 -640 replies
34/156drm/nouveau/nvif: remove client finidrivers/gpu/drm/nouveau/nvkm/core/client.c+0 -70 replies
35/156drm/nouveau/nvif: remove device argsdrivers/gpu/drm/nouveau/include/nvif/cl0080.h drivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/nouveau_drm.c +2 more+10 -590 replies
36/156drm/nouveau/nvif: remove device rd/wrdrivers/gpu/drm/nouveau/include/nvkm/core/object.h drivers/gpu/drm/nouveau/nvkm/core/ioctl.c drivers/gpu/drm/nouveau/nvkm/core/object.c +2 more+0 -1320 replies
37/156drm/nouveau/nvif: remove disp chan rd/wrdrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/include/nvif/ioctl.h drivers/gpu/drm/nouveau/include/nvif/object.h +6 more+10 -1780 replies
38/156drm/nouveau/nvkm: rename struct nvkm_ueventdrivers/gpu/drm/nouveau/include/nvkm/core/os.h drivers/gpu/drm/nouveau/nvkm/core/uevent.c+10 -90 replies
39/156drm/nouveau/nvkm: remove nvkm_client()drivers/gpu/drm/nouveau/include/nvkm/core/client.h drivers/gpu/drm/nouveau/nvkm/core/client.c+1 -20 replies
40/156drm/nouveau/nvkm: rename struct nvkm_udevicedrivers/gpu/drm/nouveau/nvkm/device/user.c+10 -90 replies
41/156drm/nouveau/nvkm: rename struct nvkm_controldrivers/gpu/drm/nouveau/nvkm/device/ctrl.c drivers/gpu/drm/nouveau/nvkm/device/ctrl.h+9 -90 replies
42/156drm/nouveau/nvkm: rename struct nvkm_uvfndrivers/gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.c+3 -40 replies
43/156drm/nouveau/nvkm: rename struct nvkm_ummudrivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.h +1 more+8 -70 replies
44/156drm/nouveau/nvkm: rename struct nvkm_umemdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.h+23 -240 replies
45/156drm/nouveau/nvkm: rename struct nvkm_uvmmdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h+13 -120 replies
46/156drm/nouveau/nvkm: detach user handling from nvkm_fault_bufferdrivers/gpu/drm/nouveau/nvkm/subdev/fault/priv.h drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c+23 -90 replies
47/156drm/nouveau/nvkm: detach user handling from nvkm_dispdrivers/gpu/drm/nouveau/include/nvkm/engine/disp.h drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c +7 more+66 -420 replies
48/156drm/nouveau/nvkm: detach user handling from nvkm_conndrivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.h+58 -410 replies
49/156drm/nouveau/nvkm: detach user handling from nvkm_outpdrivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.h+78 -620 replies
50/156drm/nouveau/nvkm: detach user handling from nvkm_uheaddrivers/gpu/drm/nouveau/nvkm/engine/disp/head.h drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.c drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.h+34 -160 replies
51/156drm/nouveau/nvkm: detach user handling from nvkm_disp_chandrivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.h drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c +1 more+58 -430 replies
52/156drm/nouveau/nvkm: rename struct nvkm_ucgrpdrivers/gpu/drm/nouveau/nvkm/engine/fifo/ucgrp.c+5 -60 replies
53/156drm/nouveau/nvkm: rename struct nvkm_uchandrivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c+10 -110 replies
54/156drm/nouveau/nvkm: move umem list to mmudrivers/gpu/drm/nouveau/include/nvkm/core/client.h drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h drivers/gpu/drm/nouveau/nvkm/core/client.c +5 more+19 -190 replies
55/156drm/nouveau/disp: simplify hw user definitiondrivers/gpu/drm/nouveau/nvkm/engine/disp/ad102.c drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c +21 more+194 -1610 replies
56/156drm/nouveau/nvif: output oclass id in object dbg messagesdrivers/gpu/drm/nouveau/include/nvif/printf.h+5 -40 replies
57/156drm/nouveau/nvif: add alternate version of nvif_object_ctor()drivers/gpu/drm/nouveau/dispnv50/core.c drivers/gpu/drm/nouveau/dispnv50/crc.c drivers/gpu/drm/nouveau/dispnv50/wndw.c +5 more+44 -220 replies
58/156drm/nouveau/nvif: add alternate version of nvif_event_ctor()drivers/gpu/drm/nouveau/include/nvif/event.h+16 -20 replies
59/156drm/nouveau/nvif: move nvif<->nvkm interface definitions to driverif.hdrivers/gpu/drm/nouveau/include/nvif/driver.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/client.c +3 more+19 -130 replies
60/156drm/nouveau/nvif: rework "new driver" apidrivers/gpu/drm/nouveau/include/nvif/client.h drivers/gpu/drm/nouveau/include/nvif/driver.h drivers/gpu/drm/nouveau/include/nvif/driverif.h +10 more+112 -610 replies
61/156drm/nouveau/nvkm: remove device listdrivers/gpu/drm/nouveau/include/nvkm/core/device.h drivers/gpu/drm/nouveau/nvkm/device/base.c+0 -370 replies
62/156drm/nouveau/nvif: rework driver "new client" apidrivers/gpu/drm/nouveau/include/nvif/class.h drivers/gpu/drm/nouveau/include/nvif/client.h drivers/gpu/drm/nouveau/include/nvif/driverif.h +6 more+72 -930 replies
63/156drm/nouveau/nvif: rework client "new device" apidrivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvkm/core/device.h +4 more+99 -450 replies
64/156drm/nouveau/nvif: remove client from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/client.c drivers/gpu/drm/nouveau/nvkm/core/client.c+5 -70 replies
65/156drm/nouveau/nvif: rework device "sclass" apidrivers/gpu/drm/nouveau/include/nvif/disp.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_abi16.c +10 more+217 -1560 replies
66/156drm/nouveau/nvif: rework device "map" apidrivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/object.h +3 more+74 -140 replies
67/156drm/nouveau/nvif: rework device "info v0" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/device.c drivers/gpu/drm/nouveau/nvkm/device/user.c+106 -740 replies
68/156drm/nouveau/nvif: rework device "info v1" apidrivers/gpu/drm/nouveau/include/nvif/cl0080.h drivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/include/nvif/driverif.h +12 more+174 -3140 replies
69/156drm/nouveau/nvif: rework device "time" apidrivers/gpu/drm/nouveau/include/nvif/cl0080.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/device.c +1 more+8 -510 replies
70/156drm/nouveau/nvif: rework device "new ctrl" apidrivers/gpu/drm/nouveau/include/nvif/class.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_debugfs.c +4 more+66 -260 replies
71/156drm/nouveau/nvif: rework ctrl "pstate info" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0001.h drivers/gpu/drm/nouveau/nouveau_debugfs.c +1 more+32 -460 replies
72/156drm/nouveau/nvif: rework ctrl "pstate attr" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0001.h drivers/gpu/drm/nouveau/nouveau_debugfs.c +1 more+39 -550 replies
73/156drm/nouveau/nvif: rework ctrl "pstate user" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0001.h drivers/gpu/drm/nouveau/nouveau_debugfs.c +1 more+24 -610 replies
74/156drm/nouveau/nvif: remove ctrl from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_debugfs.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -60 replies
75/156drm/nouveau/nvif: rework device "new usermode" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/user.h drivers/gpu/drm/nouveau/nouveau_dma.c +7 more+73 -210 replies
76/156drm/nouveau/nvif: rework usermode "map" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/user.h drivers/gpu/drm/nouveau/nvif/user.c +2 more+18 -190 replies
77/156drm/nouveau/nvif: remove usermode from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/user.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -60 replies
78/156drm/nouveau/nvif: rework device "new mmu" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0008.h drivers/gpu/drm/nouveau/include/nvif/mmu.h +7 more+94 -520 replies
79/156drm/nouveau/nvif: rework mmu "sclass" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/mem.h drivers/gpu/drm/nouveau/include/nvif/mmu.h +14 more+60 -740 replies
80/156drm/nouveau/nvif: rework mmu "heap" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0008.h drivers/gpu/drm/nouveau/include/nvif/mmu.h +2 more+7 -510 replies
81/156drm/nouveau/nvif: rework mmu "type" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0008.h drivers/gpu/drm/nouveau/include/nvif/mmu.h +6 more+40 -980 replies
82/156drm/nouveau/nvif: rework mmu "kind" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0008.h drivers/gpu/drm/nouveau/include/nvif/mmu.h +4 more+13 -1000 replies
83/156drm/nouveau/nvif: rework mmu "new mem" apidrivers/gpu/drm/nouveau/dispnv50/crc.c drivers/gpu/drm/nouveau/dispnv50/lut.c drivers/gpu/drm/nouveau/include/nvif/driverif.h +8 more+92 -770 replies
84/156drm/nouveau/nvif: rework mem "map"/"unmap" apisdrivers/gpu/drm/nouveau/dispnv50/crc.c drivers/gpu/drm/nouveau/dispnv50/crc.h drivers/gpu/drm/nouveau/dispnv50/crc907d.c +15 more+132 -700 replies
85/156drm/nouveau/nvif: rework mmu "new vmm" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/include/nvif/vmm.h +12 more+94 -1010 replies
86/156drm/nouveau/nvif: remove mmu from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/mmu.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -60 replies
87/156drm/nouveau/nvif: rework vmm "page" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/include/nvif/vmm.h +3 more+29 -910 replies
88/156drm/nouveau/nvif: rework vmm "get"/"put" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/include/nvif/vmm.h +5 more+39 -970 replies
89/156drm/nouveau/nvif: rework vmm "map"/"unmap" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/nvif/vmm.c +3 more+24 -770 replies
90/156drm/nouveau/nvif: rework vmm "pfnmap"/"pfnclr" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/nouveau_dmem.c +2 more+50 -980 replies
91/156drm/nouveau/nvif: rework vmm "raw get"/"raw put" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/nvif/vmm.c +1 more+17 -340 replies
92/156drm/nouveau/nvif: rework vmm "raw map"/"raw unmap" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/nvif/vmm.c +1 more+19 -530 replies
93/156drm/nouveau/nvif: rework vmm "raw sparse" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/nvif/vmm.c +1 more+6 -540 replies
94/156drm/nouveau/nvif: rework vmm "fault replay"/"fault cancel" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if000c.h drivers/gpu/drm/nouveau/include/nvif/if000d.h +14 more+60 -1030 replies
95/156drm/nouveau/nvif: rework device "new fault buffer" apidrivers/gpu/drm/nouveau/include/nvif/clb069.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_svm.c +5 more+91 -450 replies
96/156drm/nouveau/nvif: rework fault buffer "map" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_svm.c drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c+19 -240 replies
97/156drm/nouveau/nvif: rework fault buffer "new event" apidrivers/gpu/drm/nouveau/include/nvif/clb069.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/event.h +5 more+126 -320 replies
98/156drm/nouveau/nvif: remove fault buffer from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_svm.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -70 replies
99/156drm/nouveau/nvif: rework device "new disp" apidrivers/gpu/drm/nouveau/include/nvif/disp.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0010.h +7 more+97 -890 replies
100/156drm/nouveau/nvif: rework disp "sclass" apidrivers/gpu/drm/nouveau/dispnv50/base.c drivers/gpu/drm/nouveau/dispnv50/core.c drivers/gpu/drm/nouveau/dispnv50/curs.c +7 more+129 -1680 replies
101/156drm/nouveau/nvif: rework disp "new caps" apidrivers/gpu/drm/nouveau/dispnv50/corec37d.c drivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/dispnv50/disp.h +12 more+161 -620 replies
102/156drm/nouveau/nvif: rework disp "new conn" apidrivers/gpu/drm/nouveau/include/nvif/conn.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0011.h +6 more+87 -830 replies
103/156drm/nouveau/nvif: rework conn "new event" apidrivers/gpu/drm/nouveau/include/nvif/conn.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/conn.c +1 more+35 -460 replies
104/156drm/nouveau/nvif: remove conn from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/conn.c drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c+5 -70 replies
105/156drm/nouveau/nvif: rework disp "new outp" apidrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h +6 more+152 -1940 replies
106/156drm/nouveau/nvif: rework outp "detect" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/include/nvif/outp.h +4 more+53 -480 replies
107/156drm/nouveau/nvif: rework outp "edid get" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+19 -310 replies
108/156drm/nouveau/nvif: rework outp "load detect" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+14 -250 replies
109/156drm/nouveau/nvif: rework outp "inherit" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+45 -710 replies
110/156drm/nouveau/nvif: rework outp "acquire" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+31 -530 replies
111/156drm/nouveau/nvif: rework outp "release" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+10 -150 replies
112/156drm/nouveau/nvif: rework outp "bl get"/"bl set" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+29 -540 replies
113/156drm/nouveau/nvif: rework outp "lvds config" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+14 -260 replies
114/156drm/nouveau/nvif: rework outp "hdmi config" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+39 -480 replies
115/156drm/nouveau/nvif: rework outp "infoframe" apidrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h +3 more+40 -460 replies
116/156drm/nouveau/nvif: rework outp "hda eld" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+32 -410 replies
117/156drm/nouveau/nvif: rework outp "dp aux pwr" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+12 -240 replies
118/156drm/nouveau/nvif: rework outp "dp aux xfer" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+12 -330 replies
119/156drm/nouveau/nvif: rework outp "dp rates" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/include/nvif/outp.h +2 more+20 -600 replies
120/156drm/nouveau/nvif: rework outp "dp train" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+25 -420 replies
121/156drm/nouveau/nvif: rework outp "dp drive" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+14 -300 replies
122/156drm/nouveau/nvif: rework outp "dp sst" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+25 -330 replies
123/156drm/nouveau/nvif: rework outp "dp mst id get"/"dp mst id put" apisdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h drivers/gpu/drm/nouveau/nvif/outp.c +1 more+29 -480 replies
124/156drm/nouveau/nvif: rework outp "dp mst vcpi" apidrivers/gpu/drm/nouveau/dispnv50/disp.c drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0012.h +3 more+17 -700 replies
125/156drm/nouveau/nvif: remove outp from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/outp.c drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c+5 -60 replies
126/156drm/nouveau/nvif: rework disp "new head" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/head.h drivers/gpu/drm/nouveau/include/nvif/if0013.h +5 more+63 -330 replies
127/156drm/nouveau/nvif: rework head "scanoutpos" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0013.h drivers/gpu/drm/nouveau/nouveau_display.c +1 more+30 -550 replies
128/156drm/nouveau/nvif: rework head "new event" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0013.h drivers/gpu/drm/nouveau/nouveau_display.c +2 more+18 -290 replies
129/156drm/nouveau/nvif: remove head from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/head.c drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c+5 -70 replies
130/156drm/nouveau/nvif: rework disp "new chan" apisdrivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/core.c drivers/gpu/drm/nouveau/dispnv50/core.h +24 more+528 -4680 replies
131/156drm/nouveau/nvif: remove disp from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/disp.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -70 replies
132/156drm/nouveau/nvif: rework disp chan "new ctxdma" apidrivers/gpu/drm/nouveau/dispnv50/core.c drivers/gpu/drm/nouveau/dispnv50/core.h drivers/gpu/drm/nouveau/dispnv50/core507d.c +22 more+181 -1440 replies
133/156drm/nouveau/nvif: remove disp chans from object rbdrivers/gpu/drm/nouveau/dispnv50/base507c.c drivers/gpu/drm/nouveau/dispnv50/core507d.c drivers/gpu/drm/nouveau/dispnv50/ovly507e.c +4 more+20 -340 replies
134/156drm/nouveau/nvif: rework device "new cgrp" apidrivers/gpu/drm/nouveau/include/nvif/cgrp.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0021.h +9 more+163 -540 replies
135/156drm/nouveau/nvif: rework device "new ctxdma" apidrivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_chan.c +3 more+73 -90 replies
136/156drm/nouveau/nvif: rework device/cgrp "new chan" apisdrivers/gpu/drm/nouveau/include/nvif/chan.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/if0020.h +16 more+268 -2110 replies
137/156drm/nouveau/nvif: remove mem from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h drivers/gpu/drm/nouveau/nvif/mem.c +3 more+5 -470 replies
138/156drm/nouveau/nvif: remove vmm from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h drivers/gpu/drm/nouveau/nvif/vmm.c +2 more+5 -210 replies
139/156drm/nouveau/nvif: remove ctxdma from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h drivers/gpu/drm/nouveau/nvif/device.c +2 more+5 -210 replies
140/156drm/nouveau/nvif: remove device from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nvif/device.c drivers/gpu/drm/nouveau/nvkm/core/client.c+5 -70 replies
141/156drm/nouveau/nvif: rework chan "map" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/ioctl.h drivers/gpu/drm/nouveau/include/nvif/object.h +7 more+12 -2340 replies
142/156drm/nouveau/nvif: rework chan "sclass" apidrivers/gpu/drm/nouveau/include/nvif/fifo.h drivers/gpu/drm/nouveau/include/nvif/object.h drivers/gpu/drm/nouveau/nouveau_abi16.c +3 more+40 -1520 replies
143/156drm/nouveau/nvif: rework chan "new event" apisdrivers/gpu/drm/nouveau/include/nvif/chan.h drivers/gpu/drm/nouveau/include/nvif/class.h drivers/gpu/drm/nouveau/include/nvif/driverif.h +6 more+60 -710 replies
144/156drm/nouveau/nvif: rework chan "new ctxdma" apidrivers/gpu/drm/nouveau/include/nvif/chan.h drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_abi16.c +14 more+125 -450 replies
145/156drm/nouveau/nvif: rework chan "new engobj" apisdrivers/gpu/drm/nouveau/dispnv04/disp.c drivers/gpu/drm/nouveau/include/nvif/chan.h drivers/gpu/drm/nouveau/include/nvif/driverif.h +11 more+200 -820 replies
146/156drm/nouveau/nvif: remove chan from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nouveau_chan.c drivers/gpu/drm/nouveau/nvkm/device/user.c+5 -60 replies
147/156drm/nouveau/nvif: rework engobj "mthd" apidrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/nv04_fence.c drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c +1 more+15 -30 replies
148/156drm/nouveau/nvif: rework engobj "new event" apidrivers/gpu/drm/nouveau/dispnv04/disp.c drivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/event.h +12 more+36 -2440 replies
149/156drm/nouveau/nvif: remove engobj from object rbdrivers/gpu/drm/nouveau/include/nvif/driverif.h drivers/gpu/drm/nouveau/include/nvif/object.h drivers/gpu/drm/nouveau/include/nvkm/core/client.h +11 more+8 -4120 replies
150/156drm/nouveau/nvkm: switch nvkm_object to non-irqsafe spinlockdrivers/gpu/drm/nouveau/nvkm/core/object.c+4 -40 replies
151/156drm/nouveau: remove client_mutexdrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/nouveau/nouveau_drv.h drivers/gpu/drm/nouveau/nouveau_mem.c+0 -140 replies
152/156drm/nouveau: move nvxx_* definitions to nouveau_drv.hdrivers/gpu/drm/nouveau/include/nvif/device.h drivers/gpu/drm/nouveau/nouveau_bios.h drivers/gpu/drm/nouveau/nouveau_drv.h+33 -330 replies
153/156drm/nouveau: pass nouveau_drm to nvxx_*drivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/dispnv04/dac.c drivers/gpu/drm/nouveau/dispnv04/dfp.c +18 more+56 -620 replies
154/156drm/nouveau: remove remaining usage of nvif_device.infodrivers/gpu/drm/nouveau/dispnv04/arb.c drivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/dispnv04/cursor.c +26 more+224 -2370 replies
155/156drm/nouveau: remove remaining usage of nvif_device.object.mapdrivers/gpu/drm/nouveau/dispnv04/dac.c drivers/gpu/drm/nouveau/dispnv04/dfp.c drivers/gpu/drm/nouveau/dispnv04/hw.c +14 more+51 -610 replies
156/156drm/nouveau: remove remaining usage of nouveau_drm.clientdrivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/dispnv50/crc.c drivers/gpu/drm/nouveau/dispnv50/disp.c +11 more+31 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 000/156] drm/nouveau: replace "ioctl" interface between drm/nvkm

This is a series of cleanups that I intended on doing after posting the initial GSP-RM support several months ago, and have now had the opportunity to work on again.

The main intention here is to replace the ioctl-like interface that sits between NVKM and the nouveau DRM driver with more direct calls, to reduce the call-chain complexity (and overhead).

This is achieved by having NVKM return structs of info and function pointers specific to each class, along with an opaque pointer to its private data. These are stored in the NVIF structs and used to call directly into an implementation without handle lookups and multiple layers of indirection.

There's room for further cleanups and API changes from here, but for now most of the API usage is exactly as it was before, as the series has gotten quite large enough already.

The first part of the series starts out by cleaning up some of the interfaces within the DRM driver, and reimplementing the subset of "ioctl" interfaces needed by userspace directly.

A number of unused interfaces/function args are then removed so that they don't need to be ported, and some initial renames/preparations are made to the NVKM's user object implementations so that diffs of the next set of patches are more straightforward to read.

I then go through each class in turn, starting from the root of the object tree (client), and working up from there. The object ctors/ dtors are ported first, followed by sclass/map/etc, followed by the class's methods, and then repeating the process with each of their children.

Objects remain accessible with the "ioctl" interface throughout the changes (until their last use, after which they're removed from the object rb entirely) to allow each change to be done independently.

After all classes have been ported, some final cleanups are made to the DRM driver to complete the series.

Ben Skeggs (156):
drm/nouveau: add nouveau_drm.device/mmu
drm/nouveau: alias nouveau_drm.client to nouveau_drm.cli drm/nouveau: pass drm to nouveau_mem_new(), instead of cli drm/nouveau: pass drm to nv50_dmac_create(), rather than device+disp drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device drm/nouveau: remove nouveau_chan.device
drm/nouveau: remove chan->drm
drm/nouveau: replace some void casts with chan->cli drm/nouveau: remove nouveau_drm.master
drm/nouveau: always map device
drm/nouveau: add nouveau_cli to nouveau_abi16
drm/nouveau: handle limited nvif in abi16
drm/nouveau: remove abi16->device
drm/nouveau: remove abi16->handles
drm/nouveau: store nvkm_device pointer in nouveau_drm drm/nouveau: create pci device once
drm/nouveau: remove push pointer from nouveau_channel drm/nouveau/kms: remove a few unused struct members and fn decls drm/nouveau/kms: remove push pointer from nv50_dmac drm/nouveau/kms: move hw ring tracking vars into nvif_push drm/nouveau/kms: move dmac sync/vram ctxdmas to core+wndws drm/nouveau/nvkm: remove detect/mmio/subdev_mask from device args drm/nouveau/nvkm: move nouveau_nvif.c to nvkm/core/driver.c drm/nouveau/nvkm: move nvkm/engine/device/ to nvkm/device/ drm/nouveau/nvkm: remove perfmon
drm/nouveau/nvkm: remove nvkm_client_search() drm/nouveau/nvif: remove support for userspace backends drm/nouveau/nvif: remove route/token
drm/nouveau/nvif: remove nvxx_object()
drm/nouveau/nvif: remove nvxx_client()
drm/nouveau/nvif: remove driver keep/fini drm/nouveau/nvif: remove client version
drm/nouveau/nvif: remove client devlist
drm/nouveau/nvif: remove client fini
drm/nouveau/nvif: remove device args
drm/nouveau/nvif: remove device rd/wr
drm/nouveau/nvif: remove disp chan rd/wr
drm/nouveau/nvkm: rename struct nvkm_uevent drm/nouveau/nvkm: remove nvkm_client()
drm/nouveau/nvkm: rename struct nvkm_udevice drm/nouveau/nvkm: rename struct nvkm_control drm/nouveau/nvkm: rename struct nvkm_uvfn drm/nouveau/nvkm: rename struct nvkm_ummu drm/nouveau/nvkm: rename struct nvkm_umem drm/nouveau/nvkm: rename struct nvkm_uvmm drm/nouveau/nvkm: detach user handling from nvkm_fault_buffer drm/nouveau/nvkm: detach user handling from nvkm_disp drm/nouveau/nvkm: detach user handling from nvkm_conn drm/nouveau/nvkm: detach user handling from nvkm_outp drm/nouveau/nvkm: detach user handling from nvkm_uhead drm/nouveau/nvkm: detach user handling from nvkm_disp_chan drm/nouveau/nvkm: rename struct nvkm_ucgrp drm/nouveau/nvkm: rename struct nvkm_uchan drm/nouveau/nvkm: move umem list to mmu
drm/nouveau/disp: simplify hw user definition drm/nouveau/nvif: output oclass id in object dbg messages drm/nouveau/nvif: add alternate version of nvif_object_ctor() drm/nouveau/nvif: add alternate version of nvif_event_ctor() drm/nouveau/nvif: move nvif<->nvkm interface definitions to driverif.h drm/nouveau/nvif: rework "new driver" api drm/nouveau/nvkm: remove device list
drm/nouveau/nvif: rework driver "new client" api drm/nouveau/nvif: rework client "new device" api drm/nouveau/nvif: remove client from object rb drm/nouveau/nvif: rework device "sclass" api drm/nouveau/nvif: rework device "map" api drm/nouveau/nvif: rework device "info v0" api drm/nouveau/nvif: rework device "info v1" api drm/nouveau/nvif: rework device "time" api drm/nouveau/nvif: rework device "new ctrl" api drm/nouveau/nvif: rework ctrl "pstate info" api drm/nouveau/nvif: rework ctrl "pstate attr" api drm/nouveau/nvif: rework ctrl "pstate user" api drm/nouveau/nvif: remove ctrl from object rb drm/nouveau/nvif: rework device "new usermode" api drm/nouveau/nvif: rework usermode "map" api drm/nouveau/nvif: remove usermode from object rb drm/nouveau/nvif: rework device "new mmu" api drm/nouveau/nvif: rework mmu "sclass" api drm/nouveau/nvif: rework mmu "heap" api
drm/nouveau/nvif: rework mmu "type" api
drm/nouveau/nvif: rework mmu "kind" api
drm/nouveau/nvif: rework mmu "new mem" api drm/nouveau/nvif: rework mem "map"/"unmap" apis drm/nouveau/nvif: rework mmu "new vmm" api drm/nouveau/nvif: remove mmu from object rb drm/nouveau/nvif: rework vmm "page" api
drm/nouveau/nvif: rework vmm "get"/"put" apis drm/nouveau/nvif: rework vmm "map"/"unmap" apis drm/nouveau/nvif: rework vmm "pfnmap"/"pfnclr" apis drm/nouveau/nvif: rework vmm "raw get"/"raw put" apis drm/nouveau/nvif: rework vmm "raw map"/"raw unmap" apis drm/nouveau/nvif: rework vmm "raw sparse" api drm/nouveau/nvif: rework vmm "fault replay"/"fault cancel" apis drm/nouveau/nvif: rework device "new fault buffer" api drm/nouveau/nvif: rework fault buffer "map" api drm/nouveau/nvif: rework fault buffer "new event" api drm/nouveau/nvif: remove fault buffer from object rb drm/nouveau/nvif: rework device "new disp" api drm/nouveau/nvif: rework disp "sclass" api drm/nouveau/nvif: rework disp "new caps" api drm/nouveau/nvif: rework disp "new conn" api drm/nouveau/nvif: rework conn "new event" api drm/nouveau/nvif: remove conn from object rb drm/nouveau/nvif: rework disp "new outp" api drm/nouveau/nvif: rework outp "detect" api drm/nouveau/nvif: rework outp "edid get" api drm/nouveau/nvif: rework outp "load detect" api drm/nouveau/nvif: rework outp "inherit" apis drm/nouveau/nvif: rework outp "acquire" api drm/nouveau/nvif: rework outp "release" api drm/nouveau/nvif: rework outp "bl get"/"bl set" apis drm/nouveau/nvif: rework outp "lvds config" api drm/nouveau/nvif: rework outp "hdmi config" api drm/nouveau/nvif: rework outp "infoframe" api drm/nouveau/nvif: rework outp "hda eld" api drm/nouveau/nvif: rework outp "dp aux pwr" api drm/nouveau/nvif: rework outp "dp aux xfer" api drm/nouveau/nvif: rework outp "dp rates" api drm/nouveau/nvif: rework outp "dp train" api drm/nouveau/nvif: rework outp "dp drive" api drm/nouveau/nvif: rework outp "dp sst" api drm/nouveau/nvif: rework outp "dp mst id get"/"dp mst id put" apis drm/nouveau/nvif: rework outp "dp mst vcpi" api drm/nouveau/nvif: remove outp from object rb drm/nouveau/nvif: rework disp "new head" api drm/nouveau/nvif: rework head "scanoutpos" api drm/nouveau/nvif: rework head "new event" api drm/nouveau/nvif: remove head from object rb drm/nouveau/nvif: rework disp "new chan" apis drm/nouveau/nvif: remove disp from object rb drm/nouveau/nvif: rework disp chan "new ctxdma" api drm/nouveau/nvif: remove disp chans from object rb drm/nouveau/nvif: rework device "new cgrp" api drm/nouveau/nvif: rework device "new ctxdma" api drm/nouveau/nvif: rework device/cgrp "new chan" apis drm/nouveau/nvif: remove mem from object rb drm/nouveau/nvif: remove vmm from object rb drm/nouveau/nvif: remove ctxdma from object rb drm/nouveau/nvif: remove device from object rb drm/nouveau/nvif: rework chan "map" api
drm/nouveau/nvif: rework chan "sclass" api drm/nouveau/nvif: rework chan "new event" apis drm/nouveau/nvif: rework chan "new ctxdma" api drm/nouveau/nvif: rework chan "new engobj" apis drm/nouveau/nvif: remove chan from object rb drm/nouveau/nvif: rework engobj "mthd" api drm/nouveau/nvif: rework engobj "new event" api drm/nouveau/nvif: remove engobj from object rb drm/nouveau/nvkm: switch nvkm_object to non-irqsafe spinlock drm/nouveau: remove client_mutex
drm/nouveau: move nvxx_* definitions to nouveau_drv.h drm/nouveau: pass nouveau_drm to nvxx_*
drm/nouveau: remove remaining usage of nvif_device.info drm/nouveau: remove remaining usage of nvif_device.object.map drm/nouveau: remove remaining usage of nouveau_drm.client

 drivers/gpu/drm/nouveau/Kbuild                |   2 -
 drivers/gpu/drm/nouveau/dispnv04/arb.c        |   7 +-
 drivers/gpu/drm/nouveau/dispnv04/crtc.c       |  50 +-
 drivers/gpu/drm/nouveau/dispnv04/cursor.c     |   2 +-
 drivers/gpu/drm/nouveau/dispnv04/dac.c        |  18 +-
 drivers/gpu/drm/nouveau/dispnv04/dfp.c        |  12 +-
 drivers/gpu/drm/nouveau/dispnv04/disp.c       |  15 +-
 drivers/gpu/drm/nouveau/dispnv04/disp.h       |   6 +-
 drivers/gpu/drm/nouveau/dispnv04/hw.c         |  83 +-
 drivers/gpu/drm/nouveau/dispnv04/hw.h         |  45 +-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c    |  21 +-
 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c     |   4 +-
 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c     |  16 +-
 drivers/gpu/drm/nouveau/dispnv04/tvnv17.h     |  10 +-
 drivers/gpu/drm/nouveau/dispnv50/base.c       |  33 +-
 drivers/gpu/drm/nouveau/dispnv50/base507c.c   |  43 +-
 drivers/gpu/drm/nouveau/dispnv50/base827c.c   |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/base907c.c   |  10 +-
 drivers/gpu/drm/nouveau/dispnv50/core.c       |  84 +-
 drivers/gpu/drm/nouveau/dispnv50/core.h       |   9 +-
 drivers/gpu/drm/nouveau/dispnv50/core507d.c   |  34 +-
 drivers/gpu/drm/nouveau/dispnv50/core907d.c   |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/corec37d.c   |  19 +-
 drivers/gpu/drm/nouveau/dispnv50/corec57d.c   |   4 +-
 drivers/gpu/drm/nouveau/dispnv50/crc.c        |  34 +-
 drivers/gpu/drm/nouveau/dispnv50/crc.h        |   4 +-
 drivers/gpu/drm/nouveau/dispnv50/crc907d.c    |  12 +-
 drivers/gpu/drm/nouveau/dispnv50/crcc37d.c    |  12 +-
 drivers/gpu/drm/nouveau/dispnv50/crcc57d.c    |   4 +-
 drivers/gpu/drm/nouveau/dispnv50/curs.c       |  35 +-
 drivers/gpu/drm/nouveau/dispnv50/curs507a.c   |  41 +-
 drivers/gpu/drm/nouveau/dispnv50/cursc37a.c   |  12 +-
 drivers/gpu/drm/nouveau/dispnv50/dac507d.c    |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/dac907d.c    |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c       | 313 +------
 drivers/gpu/drm/nouveau/dispnv50/disp.h       |  37 +-
 drivers/gpu/drm/nouveau/dispnv50/head.c       |   4 +-
 drivers/gpu/drm/nouveau/dispnv50/head507d.c   |  26 +-
 drivers/gpu/drm/nouveau/dispnv50/head827d.c   |  10 +-
 drivers/gpu/drm/nouveau/dispnv50/head907d.c   |  26 +-
 drivers/gpu/drm/nouveau/dispnv50/head917d.c   |   6 +-
 drivers/gpu/drm/nouveau/dispnv50/headc37d.c   |  18 +-
 drivers/gpu/drm/nouveau/dispnv50/headc57d.c   |  12 +-
 drivers/gpu/drm/nouveau/dispnv50/lut.c        |  12 +-
 drivers/gpu/drm/nouveau/dispnv50/lut.h        |   5 +-
 drivers/gpu/drm/nouveau/dispnv50/oimm.c       |  29 +-
 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c   |  20 +-
 drivers/gpu/drm/nouveau/dispnv50/ovly.c       |  32 +-
 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c   |  28 +-
 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c   |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/ovly907e.c   |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/pior507d.c   |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/sor507d.c    |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/sor907d.c    |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/sorc37d.c    |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/wimm.c       |  25 +-
 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c   |  24 +-
 drivers/gpu/drm/nouveau/dispnv50/wndw.c       | 101 +-
 drivers/gpu/drm/nouveau/dispnv50/wndw.h       |  20 +-
 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c   |  46 +-
 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c   |  10 +-
 drivers/gpu/drm/nouveau/dispnv50/wndwc67e.c   |   2 +-
 drivers/gpu/drm/nouveau/include/nvif/cgrp.h   |  17 +
 drivers/gpu/drm/nouveau/include/nvif/chan.h   |  45 +
 drivers/gpu/drm/nouveau/include/nvif/cl0080.h |  60 --
 drivers/gpu/drm/nouveau/include/nvif/class.h  |   8 -
 drivers/gpu/drm/nouveau/include/nvif/clb069.h |  15 -
 drivers/gpu/drm/nouveau/include/nvif/client.h |  14 +-
 drivers/gpu/drm/nouveau/include/nvif/conn.h   |  24 +-
 drivers/gpu/drm/nouveau/include/nvif/ctxdma.h |  29 +
 drivers/gpu/drm/nouveau/include/nvif/device.h |  51 +-
 drivers/gpu/drm/nouveau/include/nvif/disp.h   |  19 +-
 .../gpu/drm/nouveau/include/nvif/dispchan.h   |  25 +
 drivers/gpu/drm/nouveau/include/nvif/driver.h |  27 +-
 .../gpu/drm/nouveau/include/nvif/driverif.h   | 643 +++++++++++++
 drivers/gpu/drm/nouveau/include/nvif/event.h  |  16 +-
 drivers/gpu/drm/nouveau/include/nvif/fifo.h   |  11 +-
 drivers/gpu/drm/nouveau/include/nvif/head.h   |   2 +
 drivers/gpu/drm/nouveau/include/nvif/if0000.h |  20 -
 drivers/gpu/drm/nouveau/include/nvif/if0001.h |  47 -
 drivers/gpu/drm/nouveau/include/nvif/if0002.h |  39 -
 drivers/gpu/drm/nouveau/include/nvif/if0003.h |  34 -
 drivers/gpu/drm/nouveau/include/nvif/if0008.h |  42 -
 drivers/gpu/drm/nouveau/include/nvif/if000c.h | 117 ---
 drivers/gpu/drm/nouveau/include/nvif/if000d.h |   1 -
 drivers/gpu/drm/nouveau/include/nvif/if000e.h |  26 -
 drivers/gpu/drm/nouveau/include/nvif/if0010.h |  14 -
 drivers/gpu/drm/nouveau/include/nvif/if0011.h |  18 -
 drivers/gpu/drm/nouveau/include/nvif/if0012.h | 294 ------
 drivers/gpu/drm/nouveau/include/nvif/if0013.h |  35 -
 drivers/gpu/drm/nouveau/include/nvif/if0014.h |  13 -
 drivers/gpu/drm/nouveau/include/nvif/if0020.h |  45 -
 drivers/gpu/drm/nouveau/include/nvif/if0021.h |  16 -
 drivers/gpu/drm/nouveau/include/nvif/if500d.h |   1 -
 drivers/gpu/drm/nouveau/include/nvif/if900d.h |   1 -
 drivers/gpu/drm/nouveau/include/nvif/ifb00d.h |   1 -
 drivers/gpu/drm/nouveau/include/nvif/ifc00d.h |   1 -
 drivers/gpu/drm/nouveau/include/nvif/ioctl.h  |  44 -
 drivers/gpu/drm/nouveau/include/nvif/mem.h    |  18 +-
 drivers/gpu/drm/nouveau/include/nvif/mmu.h    |  38 +-
 drivers/gpu/drm/nouveau/include/nvif/object.h | 105 +--
 drivers/gpu/drm/nouveau/include/nvif/os.h     |  19 +
 drivers/gpu/drm/nouveau/include/nvif/outp.h   |  58 +-
 drivers/gpu/drm/nouveau/include/nvif/printf.h |   9 +-
 drivers/gpu/drm/nouveau/include/nvif/push.h   |  18 +-
 drivers/gpu/drm/nouveau/include/nvif/user.h   |   6 +-
 drivers/gpu/drm/nouveau/include/nvif/vmm.h    |  30 +-
 .../drm/nouveau/include/nvkm/core/client.h    |  16 +-
 .../drm/nouveau/include/nvkm/core/device.h    |   6 -
 .../drm/nouveau/include/nvkm/core/driver.h    |   9 +
 .../gpu/drm/nouveau/include/nvkm/core/event.h |  10 +-
 .../gpu/drm/nouveau/include/nvkm/core/ioctl.h |   8 -
 .../drm/nouveau/include/nvkm/core/layout.h    |   1 -
 .../drm/nouveau/include/nvkm/core/object.h    |  43 +-
 .../drm/nouveau/include/nvkm/core/oclass.h    |   2 -
 .../gpu/drm/nouveau/include/nvkm/core/os.h    |  21 +-
 .../gpu/drm/nouveau/include/nvkm/core/pci.h   |   1 -
 .../drm/nouveau/include/nvkm/core/subdev.h    |   2 -
 .../gpu/drm/nouveau/include/nvkm/core/tegra.h |   1 -
 .../drm/nouveau/include/nvkm/engine/disp.h    |   4 +-
 .../gpu/drm/nouveau/include/nvkm/engine/dma.h |   2 -
 .../gpu/drm/nouveau/include/nvkm/engine/pm.h  |  29 -
 .../gpu/drm/nouveau/include/nvkm/subdev/mmu.h |   3 -
 drivers/gpu/drm/nouveau/nouveau_abi16.c       | 498 ++++++----
 drivers/gpu/drm/nouveau/nouveau_abi16.h       |  11 +-
 drivers/gpu/drm/nouveau/nouveau_backlight.c   |  30 +-
 drivers/gpu/drm/nouveau/nouveau_bios.c        |  22 +-
 drivers/gpu/drm/nouveau/nouveau_bios.h        |   1 +
 drivers/gpu/drm/nouveau/nouveau_bo.c          | 130 +--
 drivers/gpu/drm/nouveau/nouveau_bo0039.c      |   8 +-
 drivers/gpu/drm/nouveau/nouveau_bo5039.c      |  10 +-
 drivers/gpu/drm/nouveau/nouveau_bo74c1.c      |   2 +-
 drivers/gpu/drm/nouveau/nouveau_bo85b5.c      |   2 +-
 drivers/gpu/drm/nouveau/nouveau_bo9039.c      |   4 +-
 drivers/gpu/drm/nouveau/nouveau_bo90b5.c      |   2 +-
 drivers/gpu/drm/nouveau/nouveau_boa0b5.c      |   4 +-
 drivers/gpu/drm/nouveau/nouveau_chan.c        | 353 ++++---
 drivers/gpu/drm/nouveau/nouveau_chan.h        |  31 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c   |  30 +-
 drivers/gpu/drm/nouveau/nouveau_debugfs.c     |  47 +-
 drivers/gpu/drm/nouveau/nouveau_debugfs.h     |   2 +
 drivers/gpu/drm/nouveau/nouveau_display.c     |  50 +-
 drivers/gpu/drm/nouveau/nouveau_dma.c         |  10 +-
 drivers/gpu/drm/nouveau/nouveau_dma.h         |   2 +-
 drivers/gpu/drm/nouveau/nouveau_dmem.c        |  19 +-
 drivers/gpu/drm/nouveau/nouveau_dp.c          |   2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c         | 359 +++-----
 drivers/gpu/drm/nouveau/nouveau_drv.h         |  71 +-
 drivers/gpu/drm/nouveau/nouveau_fence.c       |  33 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c         |  34 +-
 drivers/gpu/drm/nouveau/nouveau_hwmon.c       |  46 +-
 drivers/gpu/drm/nouveau/nouveau_led.c         |   6 +-
 drivers/gpu/drm/nouveau/nouveau_mem.c         |  44 +-
 drivers/gpu/drm/nouveau/nouveau_mem.h         |   4 +-
 drivers/gpu/drm/nouveau/nouveau_prime.c       |   2 +-
 drivers/gpu/drm/nouveau/nouveau_sgdma.c       |   4 +-
 drivers/gpu/drm/nouveau/nouveau_svm.c         | 174 ++--
 drivers/gpu/drm/nouveau/nouveau_ttm.c         |  43 +-
 drivers/gpu/drm/nouveau/nouveau_usif.c        | 194 ----
 drivers/gpu/drm/nouveau/nouveau_usif.h        |  10 -
 drivers/gpu/drm/nouveau/nouveau_uvmm.c        |   4 +-
 drivers/gpu/drm/nouveau/nouveau_vga.c         |   8 +-
 drivers/gpu/drm/nouveau/nouveau_vmm.c         |  14 +-
 drivers/gpu/drm/nouveau/nouveau_vmm.h         |   2 +-
 drivers/gpu/drm/nouveau/nv04_fence.c          |   9 +-
 drivers/gpu/drm/nouveau/nv10_fence.c          |   6 +-
 drivers/gpu/drm/nouveau/nv10_fence.h          |   2 +-
 drivers/gpu/drm/nouveau/nv17_fence.c          |  25 +-
 drivers/gpu/drm/nouveau/nv50_fence.c          |  13 +-
 drivers/gpu/drm/nouveau/nv84_fence.c          |  20 +-
 drivers/gpu/drm/nouveau/nvc0_fence.c          |   4 +-
 drivers/gpu/drm/nouveau/nvif/Kbuild           |   3 +
 drivers/gpu/drm/nouveau/nvif/cgrp.c           |  52 ++
 drivers/gpu/drm/nouveau/nvif/chan.c           | 130 +++
 drivers/gpu/drm/nouveau/nvif/client.c         |  54 +-
 drivers/gpu/drm/nouveau/nvif/conn.c           |  53 +-
 drivers/gpu/drm/nouveau/nvif/device.c         |  67 +-
 drivers/gpu/drm/nouveau/nvif/disp.c           | 107 ++-
 drivers/gpu/drm/nouveau/nvif/dispchan.c       | 222 +++++
 drivers/gpu/drm/nouveau/nvif/driver.c         |  40 +-
 drivers/gpu/drm/nouveau/nvif/event.c          |  63 +-
 drivers/gpu/drm/nouveau/nvif/fifo.c           |  66 +-
 drivers/gpu/drm/nouveau/nvif/head.c           |  35 +-
 drivers/gpu/drm/nouveau/nvif/mem.c            | 102 ++-
 drivers/gpu/drm/nouveau/nvif/mmu.c            | 111 +--
 drivers/gpu/drm/nouveau/nvif/object.c         | 290 +-----
 drivers/gpu/drm/nouveau/nvif/outp.c           | 353 ++-----
 drivers/gpu/drm/nouveau/nvif/user.c           |  50 +-
 drivers/gpu/drm/nouveau/nvif/userc361.c       |   8 +-
 drivers/gpu/drm/nouveau/nvif/vmm.c            | 200 +---
 drivers/gpu/drm/nouveau/nvkm/Kbuild           |   1 +
 drivers/gpu/drm/nouveau/nvkm/core/Kbuild      |   2 +-
 drivers/gpu/drm/nouveau/nvkm/core/client.c    | 150 +--
 .../{nouveau_nvif.c => nvkm/core/driver.c}    |  69 +-
 drivers/gpu/drm/nouveau/nvkm/core/engine.c    |  12 -
 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c     | 390 --------
 drivers/gpu/drm/nouveau/nvkm/core/object.c    | 159 +---
 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c    |  76 --
 drivers/gpu/drm/nouveau/nvkm/core/subdev.c    |   8 -
 drivers/gpu/drm/nouveau/nvkm/core/uevent.c    |  88 +-
 drivers/gpu/drm/nouveau/nvkm/device/Kbuild    |   7 +
 .../nouveau/nvkm/{engine => }/device/acpi.c   |   0
 .../nouveau/nvkm/{engine => }/device/acpi.h   |   0
 .../nouveau/nvkm/{engine => }/device/base.c   | 552 +++++------
 drivers/gpu/drm/nouveau/nvkm/device/ctrl.c    | 172 ++++
 drivers/gpu/drm/nouveau/nvkm/device/ctrl.h    |   9 +
 .../nouveau/nvkm/{engine => }/device/pci.c    |   4 +-
 .../nouveau/nvkm/{engine => }/device/priv.h   |   2 -
 .../nouveau/nvkm/{engine => }/device/tegra.c  |   5 +-
 drivers/gpu/drm/nouveau/nvkm/device/user.c    | 434 +++++++++
 drivers/gpu/drm/nouveau/nvkm/device/user.h    |   9 +
 drivers/gpu/drm/nouveau/nvkm/engine/Kbuild    |   2 -
 .../gpu/drm/nouveau/nvkm/engine/device/Kbuild |   7 -
 .../gpu/drm/nouveau/nvkm/engine/device/ctrl.c | 212 -----
 .../gpu/drm/nouveau/nvkm/engine/device/ctrl.h |  13 -
 .../gpu/drm/nouveau/nvkm/engine/device/user.c | 431 ---------
 .../gpu/drm/nouveau/nvkm/engine/disp/Kbuild   |   1 +
 .../gpu/drm/nouveau/nvkm/engine/disp/ad102.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/base.c   |  29 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/chan.c   | 272 +++---
 .../gpu/drm/nouveau/nvkm/engine/disp/chan.h   |  15 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/conn.h   |   2 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/g84.c    |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/g94.c    |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/ga102.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gf119.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gk104.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gk110.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gm107.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gm200.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gp100.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gp102.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gt200.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gt215.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/gv100.c  |  52 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/head.h   |   2 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/mcp77.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/mcp89.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/nv04.c   |   5 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/nv50.c   |  20 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/outp.h   |   3 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/priv.h   |  31 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/r535.c   |  46 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/tu102.c  |  13 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/ucaps.c  |  70 ++
 .../gpu/drm/nouveau/nvkm/engine/disp/ucaps.h  |   9 +
 .../gpu/drm/nouveau/nvkm/engine/disp/uchan.h  |  10 +
 .../gpu/drm/nouveau/nvkm/engine/disp/uconn.c  | 176 ++--
 .../gpu/drm/nouveau/nvkm/engine/disp/uconn.h  |   9 +
 .../gpu/drm/nouveau/nvkm/engine/disp/udisp.c  | 288 ++++--
 .../gpu/drm/nouveau/nvkm/engine/disp/udisp.h  |  17 +
 .../gpu/drm/nouveau/nvkm/engine/disp/uhead.c  | 125 +--
 .../gpu/drm/nouveau/nvkm/engine/disp/uhead.h  |   9 +
 .../gpu/drm/nouveau/nvkm/engine/disp/uoutp.c  | 778 ++++++++--------
 .../gpu/drm/nouveau/nvkm/engine/disp/uoutp.h  |   9 +
 .../gpu/drm/nouveau/nvkm/engine/dma/user.c    |  19 -
 .../drm/nouveau/nvkm/engine/dma/usergf100.c   |   5 -
 .../drm/nouveau/nvkm/engine/dma/usergf119.c   |   5 -
 .../drm/nouveau/nvkm/engine/dma/usergv100.c   |   5 -
 .../drm/nouveau/nvkm/engine/dma/usernv50.c    |   6 -
 .../gpu/drm/nouveau/nvkm/engine/fifo/Kbuild   |   1 +
 .../gpu/drm/nouveau/nvkm/engine/fifo/base.c   | 126 ---
 .../gpu/drm/nouveau/nvkm/engine/fifo/chan.c   |   2 -
 .../gpu/drm/nouveau/nvkm/engine/fifo/priv.h   |   5 -
 .../gpu/drm/nouveau/nvkm/engine/fifo/ucgrp.c  | 108 ++-
 .../gpu/drm/nouveau/nvkm/engine/fifo/ucgrp.h  |   9 +
 .../gpu/drm/nouveau/nvkm/engine/fifo/uchan.c  | 388 +++++---
 .../gpu/drm/nouveau/nvkm/engine/fifo/uchan.h  |  11 +
 .../gpu/drm/nouveau/nvkm/engine/fifo/ufifo.c  | 129 +++
 .../gpu/drm/nouveau/nvkm/engine/fifo/ufifo.h  |   8 +
 .../gpu/drm/nouveau/nvkm/engine/gr/gf100.c    |   1 -
 drivers/gpu/drm/nouveau/nvkm/engine/pm/Kbuild |  11 -
 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c | 867 ------------------
 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c  | 165 ----
 .../gpu/drm/nouveau/nvkm/engine/pm/gf100.c    | 243 -----
 .../gpu/drm/nouveau/nvkm/engine/pm/gf100.h    |  20 -
 .../gpu/drm/nouveau/nvkm/engine/pm/gf108.c    |  66 --
 .../gpu/drm/nouveau/nvkm/engine/pm/gf117.c    |  80 --
 .../gpu/drm/nouveau/nvkm/engine/pm/gk104.c    | 184 ----
 .../gpu/drm/nouveau/nvkm/engine/pm/gt200.c    | 157 ----
 .../gpu/drm/nouveau/nvkm/engine/pm/gt215.c    | 138 ---
 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c | 123 ---
 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h |  15 -
 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c | 175 ----
 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h | 105 ---
 drivers/gpu/drm/nouveau/nvkm/engine/sw/nvsw.c |  14 +-
 .../gpu/drm/nouveau/nvkm/subdev/fault/base.c  |   1 -
 .../gpu/drm/nouveau/nvkm/subdev/fault/priv.h  |   5 -
 .../gpu/drm/nouveau/nvkm/subdev/fault/user.c  |  99 +-
 .../gpu/drm/nouveau/nvkm/subdev/fault/user.h  |   9 +
 .../gpu/drm/nouveau/nvkm/subdev/mmu/base.c    |   1 -
 .../gpu/drm/nouveau/nvkm/subdev/mmu/umem.c    | 125 ++-
 .../gpu/drm/nouveau/nvkm/subdev/mmu/umem.h    |  24 +-
 .../gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c    | 186 ++--
 .../gpu/drm/nouveau/nvkm/subdev/mmu/ummu.h    |  13 +-
 .../gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c    | 357 +++-----
 .../gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.h    |  12 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h |   8 +-
 .../drm/nouveau/nvkm/subdev/mmu/vmmgp100.c    |  68 +-
 .../drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c    |   2 +-
 .../drm/nouveau/nvkm/subdev/mmu/vmmgv100.c    |   2 +-
 .../drm/nouveau/nvkm/subdev/mmu/vmmtu102.c    |   2 +-
 .../gpu/drm/nouveau/nvkm/subdev/vfn/base.c    |   1 -
 .../gpu/drm/nouveau/nvkm/subdev/vfn/priv.h    |   3 -
 .../gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.c    |  44 +-
 .../gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.h    |   9 +
 306 files changed, 6653 insertions(+), 10697 deletions(-)
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/cgrp.h
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/chan.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/clb069.h
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/ctxdma.h
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/dispchan.h
 create mode 100644 drivers/gpu/drm/nouveau/include/nvif/driverif.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0000.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0001.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0002.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0003.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0008.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if000c.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if000e.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0010.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0012.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0013.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0014.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0020.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvif/if0021.h
 create mode 100644 drivers/gpu/drm/nouveau/include/nvkm/core/driver.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvkm/core/ioctl.h
 delete mode 100644 drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h
 delete mode 100644 drivers/gpu/drm/nouveau/nouveau_usif.c
 delete mode 100644 drivers/gpu/drm/nouveau/nouveau_usif.h
 create mode 100644 drivers/gpu/drm/nouveau/nvif/cgrp.c
 create mode 100644 drivers/gpu/drm/nouveau/nvif/chan.c
 create mode 100644 drivers/gpu/drm/nouveau/nvif/dispchan.c
 rename drivers/gpu/drm/nouveau/{nouveau_nvif.c => nvkm/core/driver.c} (65%)
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/device/Kbuild
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/acpi.c (100%)
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/acpi.h (100%)
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/base.c (89%)
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/device/ctrl.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/device/ctrl.h
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/pci.c (99%)
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/priv.h (95%)
 rename drivers/gpu/drm/nouveau/nvkm/{engine => }/device/tegra.c (97%)
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/device/user.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/device/user.h
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/device/Kbuild
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.h
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/ucaps.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/ucaps.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/uchan.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/uhead.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/ucgrp.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/ufifo.c
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/fifo/ufifo.h
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/Kbuild
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf108.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf117.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gk104.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt200.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt215.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c
 delete mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.h
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/vfn/uvfn.h
Signature · 1 line
2.41.0