The struct itself lives in nv50_dmac already, just use that.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/base507c.c | 18 +--
drivers/gpu/drm/nouveau/dispnv50/base827c.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/base907c.c | 10 +++---
drivers/gpu/drm/nouveau/dispnv50
The struct itself lives in nouveau_channel already, just use that.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 +--
drivers/gpu/drm/nouveau/nouveau_bo0039.c | 4 +--
drivers/gpu/drm/nouveau/nouveau_bo5039.c | 4 +--
drivers/gpu/drm/nouveau/nouveau_bo74c1.c | 2
Left-overs from the past that are completely unused now.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 ---
drivers/gpu/drm/nouveau/dispnv50/disp.h | 9 -
2 files changed, 12 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c
b/drivers/gpu
.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 42 +++
drivers/gpu/drm/nouveau/nouveau_drv.h | 3 +-
drivers/gpu/drm/nouveau/nouveau_mem.c | 12
3 files changed, 25 insertions(+), 32 deletions(-)
diff --git a/drivers/gpu/drm/nouveau
Both of these are stored in nouveau_cli already, and also allows the
removal of some void casts.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_abi16.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_bo.c| 2 +-
drivers/gpu/drm
The nouveau_cli that owns the channel is now stored in nouveau_chan, and
it has a pointer to the drm device already.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 ++--
drivers/gpu/drm/nouveau/nouveau_bo0039.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_bo5039.c | 2
Both of these are stored in nouveau_drm already.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/base507c.c | 3 +--
drivers/gpu/drm/nouveau/dispnv50/core507d.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 8
drivers/gpu/drm/nouveau/dispnv50/disp.h | 2
nouveau_chan.device is always the same as nouveau_chan.cli.device,
so there's no need to store it separately.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_chan.c | 6 +++---
drivers/gpu/drm/nouveau/nouveau_chan.h | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
diff
There's no good reason the ioremap() that results from nvif_object_map()
should fail, so add a check that the map succeeded, and remove the rd/wr
methods from display channel objects.
As this was the last user of rd/wr methods, the nvif plumbing is removed
at the same time.
Signed-off-by: Ben
These were once used by used by userspace tools (with nvkm built as a
library), to access multiple GPUs from a single nvif_client.
The DRM code just uses the driver's default device, so we can remove
the arguments.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/cl0080.h
The device is always mapped now, so these are unneeded.
Signed-off-by: Ben Skeggs
---
.../drm/nouveau/include/nvkm/core/object.h| 8 ---
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c | 10
drivers/gpu/drm/nouveau/nvkm/core/object.c| 32 ---
drivers/gpu/drm/nouveau/nvkm
The nouveau_cli pointer is only ever used to eventually access
nouveau_drm, so just store it directly.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_mem.c | 18 --
drivers/gpu/drm/nouveau/nouveau_mem.h | 4 ++--
drivers/gpu/drm/nouveau/nouveau_sgdma.c | 2
a new nvif_device (which will replace the usage
of nouveau_drm.master.device later on), and replicates this pointer to
all other possible users.
This will be cleaned up by the end of another patch series, after it's
been made safe to do so.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau
These are some dodgy "convenience" macros for the DRM driver to peek
into NVKM state. They're still used in a few places, but don't belong
in nvif/device.h in any case.
Move them to nouveau_drv.h, and modify callers to pass a nouveau_drm
instead of an nvif_device.
Signed-off-by:
Does nothing. Remove it.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nvkm/core/client.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c
b/drivers/gpu/drm/nouveau/nvkm/core/client.c
index 5c87146b8508..72c88db627a5 100644
This is not, and has never, been used for anything. Remove it.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/client.h | 2 --
drivers/gpu/drm/nouveau/include/nvif/ioctl.h | 7 ---
drivers/gpu/drm/nouveau/nvif/client.c | 20 +--
drivers/gpu
This allocates a new nvif_mmu in nouveau_drm, and uses it for TTM
backend memory allocations instead of nouveau_drm.master.mmu,
which will be removed in a later commit.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 36 ---
drivers/gpu/drm/nouveau
These are remnants of code long gone. Remove them.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driver.h | 2 --
drivers/gpu/drm/nouveau/nouveau_nvif.c| 1 -
drivers/gpu/drm/nouveau/nvif/client.c | 6 +-
3 files changed, 1 insertion(+), 8 deletions
This was once used by userspace tools (with nvkm built as a library),
but is now unused.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/if.h | 9 -
.../drm/nouveau/include/nvkm/core/device.h| 1 -
drivers/gpu/drm/nouveau/nvkm/core/client.c| 40
This was once used by userspace tools (with nvkm built as a library), as
a way to select a "default device".
The DRM code doesn't need this at all as clients only have access to a
single device already, so the value can be inherited from its parent.
Signed-off-by: Ben Skeggs
---
d
Make use of nouveau_cli.name instead of nvkm_client.name.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/client.h | 5 -
drivers/gpu/drm/nouveau/nouveau_chan.c| 2 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 3 ---
drivers/gpu/drm/nouveau/nouveau_fence.c
These were a cludge used to prevent userspace's nvif ioctl from
accessing objects created by the kernel for the same client.
That interface was removed in a previous patch, so these are no
longer useful for anything.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/client.h
This hasn't been used in a while.
Moves some io accessors to another include at the same time to
fix a compile issue that resulted from no
longer being included.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/object.h | 7 ---
drivers/gpu/drm/nouveau/include/nvif/os.h
Has been unused for a while now.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvkm/core/client.h | 1 -
drivers/gpu/drm/nouveau/nvkm/core/client.c | 13 -
2 files changed, 14 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/client.h
b
The tools that used libnvkm no longer exist.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driver.h | 3 --
drivers/gpu/drm/nouveau/nvif/driver.c | 32 ---
2 files changed, 7 insertions(+), 28 deletions(-)
diff --git a/drivers/gpu/drm/nouveau
This has never really been used for anything, in part due to never
having reclocking stable enough in general to attempt to implement
dynamic clock changes based on load, etc.
To avoid having to rework its interfaces, remove it entirely.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau
All callers now pass "detect=true, mmio=true, subdev_mask=~0ULL",
so remove the function arguments, and associated code.
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvkm/core/pci.h | 1 -
.../gpu/drm/nouveau/include/nvkm/core/tegra.h | 1 -
drivers/gpu/d
some of this.
Fortunately, userspace only ever ended up using a fraction of the APIs,
so I've reimplemented those in a more direct manner, and return -EINVAL
to userspace for everything else.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/Kbuild | 1 -
drivers/gpu/drm/nouveau
Removes some dubious void casts.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_abi16.c | 9 +
drivers/gpu/drm/nouveau/nouveau_abi16.h | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c
b/drivers/gpu/drm/nouveau
Hasn't been needed since 2015...
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_abi16.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.h
b/drivers/gpu/drm/nouveau/nouveau_abi16.h
index 4743459ea14c..af6b4e1cefd2 100644
--- a/drivers/gpu
The previous commit removes the last remnants of userspace's own nvif
instance, so this isn't needed anymore to hide the abi16 objects from
userspace and we can use nouveau_cli.device instead.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_abi16.c | 25
HW isn't touched anymore (aside from detection) until the first
nvif_device has been allocated, so we no longer need a separate
probe-only step before kicking efifb (etc) off the HW.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 11 ++-
1 file changed, 2
tch series will remove the need for the above-mentioned hack
entirely.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c
b/drivers/gpu/drm/nouv
, and that field will no
longer exist.
This provides a safer replacement for accessing the nvkm_device,
and will used more in upcoming patches to cleanup other cases.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 13 +
drivers/gpu/drm/nouveau/nouveau_drv.h | 1 +
2 files
, but not this one, are available at [2].
[1] https://gitlab.freedesktop.org/bskeggs/nouveau/-/tree/00.00-cleanup
[2] https://gitlab.freedesktop.org/bskeggs/nouveau/-/tree/00.01-remove-ioctl
Ben Skeggs (34):
drm/nouveau: create pci device once
drm/nouveau: store nvkm_device pointer in nouveau_drm
. For both
patches:
Reviewed-by: Ben Skeggs
Ben.
---
.../gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c| 77 ---
2 files changed, 54 insertions(+), 27 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev
On 19/4/24 08:14, David Airlie wrote:
On Fri, Apr 19, 2024 at 6:27 AM Lyude Paul wrote:
So - first some context here for Ben and anyone else who hasn't been
following. A little while ago I got a Slimbook Executive 16 with a
Nvidia RTX 4060 in it, and I've unfortunately been running into a
On 19/4/24 06:27, Lyude Paul wrote:
So - first some context here for Ben and anyone else who hasn't been
following. A little while ago I got a Slimbook Executive 16 with a
Nvidia RTX 4060 in it, and I've unfortunately been running into a kind
of annoying issue. Currently this laptop only has 16
This has never really been used for anything, in part due to never
having reclocking stable enough in general to attempt to implement
dynamic clock changes based on load, etc.
To avoid having to rework its interfaces, remove it entirely.
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau
On 18/4/24 08:24, Danilo Krummrich wrote:
Hi Ben,
Welcome back from my side as well!
Hey Danilo,
Thanks!
On Wed, Apr 17, 2024 at 09:37:26AM +1000, Ben Skeggs wrote:
This is a series of cleanups that I intended on doing after posting
the initial GSP-RM support several months ago
On 17/4/24 14:15, Dave Airlie wrote:
On Wed, 17 Apr 2024 at 10:57, Ben Skeggs wrote:
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
- accesses to PRI are now via nvif_device.map
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/dac.c| 10 +-
drivers/gpu/drm/nouveau/dispnv04/dfp.c| 2 +-
drivers/gpu/drm/nouveau/dispnv04/hw.c | 8
drivers/gpu/drm/nouveau/dispnv04/hw.h
- removes usage of nvif_object.priv
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 4 +-
drivers/gpu/drm/nouveau/dispnv04/dac.c| 2 +-
drivers/gpu/drm/nouveau/dispnv04/dfp.c| 2 +-
drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +-
drivers
- move out of nvif
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/device.h | 33 ---
drivers/gpu/drm/nouveau/nouveau_bios.h| 1 +
drivers/gpu/drm/nouveau/nouveau_drv.h | 32 ++
3 files changed, 33 insertions(+), 33 deletions
- this protected the drm.master object rb, which no longer exists
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nouveau_drm.c | 7 ---
drivers/gpu/drm/nouveau/nouveau_drv.h | 1 -
drivers/gpu/drm/nouveau/nouveau_mem.c | 6 --
3 files changed, 14 deletions(-)
diff --git
- no more users
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 4 +-
drivers/gpu/drm/nouveau/include/nvif/object.h | 13 +-
.../drm/nouveau/include/nvkm/core/client.h| 1 -
.../gpu/drm/nouveau/include/nvkm/core/ioctl.h | 8 -
.../drm/nouveau/include
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 1 +
drivers/gpu/drm/nouveau/nv04_fence.c | 7 +--
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c | 9 +
drivers/gpu/drm/nouveau/nvkm/engine/
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/nouveau_chan.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/device/user.c | 5 +++--
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu
- complete the switch to nvif_device.impl
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/arb.c| 7 +-
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 34 +-
drivers/gpu/drm/nouveau/dispnv04/cursor.c | 2 +-
drivers/gpu/drm/nouveau/dispnv04/dac.c| 6
- complete the switch to nouveau_drm.cli
- renames drm._client to drm.client
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/crc.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/head.c
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/chan.h | 4 ++
.../gpu/drm/nouveau/include/nvif/driverif.h | 5 ++
drivers/gpu/drm/nouveau/nouveau_abi16.c | 15 +++---
drivers/gpu/drm/nouveau/nouveau_abi16.h
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/fifo.h | 2 +
drivers/gpu/drm/nouveau/include/nvif/object.h | 8 --
drivers/gpu/drm/nouveau/nouveau_abi16.c | 91 +--
drivers/gpu/drm/nouveau/n
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +-
drivers/gpu/drm/nouveau/include/nvif/chan.h | 10 ++
.../gpu/drm/nouveau/include/nvif/driverif.h | 11 ++
drivers/gpu/drm/nouveau/nouveau_abi16.c
- also removes umem list hack
- no more users
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 +-
.../gpu/drm/nouveau/include/nvkm/subdev/mmu.h | 4 ---
drivers/gpu/drm/nouveau/nvif/mem.c| 3 +-
.../gpu/drm/nouveau/nvkm/subdev/mmu/base.c| 2
- nvkm_object_search() no longer exists to be called from irq context
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/nvkm/core/object.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/core/object.c
b/drivers/gpu/drm/nouveau/nvkm
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv04/disp.c | 8 ++-
.../gpu/drm/nouveau/include/nvif/driverif.h | 5 ++
drivers/gpu/drm/nouveau/include/nvif/event.h | 21 +--
drivers/gpu/drm/nouveau/include/nvif/if0
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h | 2 --
drivers/gpu/drm/nouveau/nvif/device.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/device/user.c| 6 +++---
drivers
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/core.c | 36
drivers/gpu/drm/nouveau/dispnv50/core.h | 5 +-
drivers/gpu/drm/nouveau/dispnv50/core507d.c | 2 +-
drivers/gpu/drm/nouveau/dispnv50/corec37
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h | 2 --
drivers/gpu/drm/nouveau/nvif/vmm.c| 3 +--
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c| 5 +++--
drivers
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/device.h | 4 ++
.../gpu/drm/nouveau/include/nvif/driverif.h | 6 +++
drivers/gpu/drm/nouveau/nouveau_chan.c| 11 +++--
drivers/gpu/drm/nouveau/nouveau_chan.h
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/chan.h | 6 +++
drivers/gpu/drm/nouveau/include/nvif/class.h | 1 -
.../gpu/drm/nouveau/include/nvif/driverif.h | 7 +++
drivers/gpu/drm/nouveau/include/nvif/if0
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 +
drivers/gpu/drm/nouveau/include/nvif/ioctl.h | 17
drivers/gpu/drm/nouveau/include/nvif/object.h | 5 --
.../drm/nouveau/include/nvkm/core/object.h| 11 --
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/base507c.c | 21 +-
drivers/gpu/drm/nouveau/dispnv50/core.c | 6 +-
drivers/gpu/drm/nouveau/dispnv50/core.h | 4 +-
drivers/gpu/drm/nouveau/dispnv50/core507d
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/chan.h | 25
.../gpu/drm/nouveau/include/nvif/driverif.h | 31 +
drivers/gpu/drm/nouveau/include/nvif/if0020.h | 32 -
drivers/gpu/drm/nouveau/nouveau_abi16.c
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/nvif/head.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c | 6 +++---
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 8 ++
drivers/gpu/drm/nouveau/include/nvif/head.h | 2 ++
drivers/gpu/drm/nouveau/include/nvif/if0013.h | 8 --
drivers/gpu/drm/nouveau/nvif/head.c
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/nvif/device.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/core/client.c | 6 +++---
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/cgrp.h | 17 +
.../gpu/drm/nouveau/include/nvif/driverif.h | 10 +++
drivers/gpu/drm/nouveau/include/nvif/if0021.h | 16 -
drivers/gpu/drm/nouveau/nvif/Kbuild
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 3 +++
drivers/gpu/drm/nouveau/include/nvif/if0013.h | 9 -
drivers/gpu/drm/nouveau/nouveau_display.c | 1 -
drivers/gpu/drm/nouveau/nvif/head.c
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 4 ++
drivers/gpu/drm/nouveau/include/nvif/if0013.h | 18
drivers/gpu/drm/nouveau/nouveau_display.c | 20 +
.../gpu/drm/nouveau/nvkm/engine/disp/uhe
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/base507c.c | 3 +-
drivers/gpu/drm/nouveau/dispnv50/core507d.c | 3 +-
drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 3 +-
drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c | 3 +-
drivers/gpu/drm/nouveau
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 18 -
drivers/gpu/drm/nouveau/nvif/outp.c | 19 +++---
.../gpu/drm/nouveau/nvkm/engine/di
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/nvif/disp.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/device/user.c | 6 +++---
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 2 +-
drivers/gpu/drm/nouveau/nvif/outp.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c | 6 +++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 12 ---
drivers/gpu/drm/nouveau/nvif/outp.c | 10 ++
.../gpu/drm/nouveau/nvkm/engine/disp/uou
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 -
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 17 --
drivers/gpu/drm/nouveau/include/nvif/outp.h | 1
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 4 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 11 -
drivers/gpu/drm/nouveau/nvif/outp.c | 13 +-
.../gpu/drm/nouveau/nvkm/engine/disp/uou
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 2 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 9 -
drivers/gpu/drm/nouveau/nvif/outp.c | 8 ++--
.../gpu/drm/nouveau/nvkm/engine/di
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h| 1 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 12
drivers/gpu/drm/nouveau/nvif/outp.c| 14 +++---
.../gpu/drm/nouveau/nvkm/e
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/disp.c | 18 +++--
.../gpu/drm/nouveau/include/nvif/driverif.h | 7
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 13 ---
drivers/gpu/drm/nouveau/include/nvif/out
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h| 1 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 13 -
drivers/gpu/drm/nouveau/nvif/outp.c| 12 +++-
.../gpu/drm/nouveau/nvkm/e
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 2 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 10 --
drivers/gpu/drm/nouveau/nvif/outp.c | 9 ++---
.../gpu/drm/nouveau/nvkm/engine/di
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 4 +++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 14
drivers/gpu/drm/nouveau/nvif/outp.c | 16 ++---
.../gpu/drm/nouveau/nvkm/engine/disp/uou
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 5 +++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 17
drivers/gpu/drm/nouveau/nvif/outp.c | 18 +++-
.../gpu/drm/nouveau/nvkm/engine/disp/uou
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 6 +++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 13 ---
drivers/gpu/drm/nouveau/include/nvif/outp.h | 5 ---
drivers/gpu/drm/nouveau/nvif/outp.c
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 6 +++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 16 ---
drivers/gpu/drm/nouveau/nvif/outp.c | 18 ++-
.../gpu/drm/nouveau/nvkm/engine/disp/uou
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 1 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h| 7 ---
drivers/gpu/drm/nouveau/nvif/outp.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/di
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 1 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 19 --
drivers/gpu/drm/nouveau/nvif/outp.c | 29 ++-
.../gpu/drm/nouveau/nvkm/engine/di
- transition from "ioctl" interfaces
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 3 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 23 -
drivers/gpu/drm/nouveau/nvif/outp.c | 40 +++
.../gpu/drm/nouveau/nvkm/e
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 8
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 11 -
drivers/gpu/drm/nouveau/include/nvif/outp.h | 6 ---
drivers/gpu/drm/nouveau/nouveau_connecto
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/conn.h | 6 ---
.../gpu/drm/nouveau/include/nvif/driverif.h | 3 ++
drivers/gpu/drm/nouveau/nvif/conn.c | 22
.../gpu/drm/nouveau/nvkm/engine/disp/uco
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 1 +
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 11 ---
drivers/gpu/drm/nouveau/nvif/outp.c | 19 +--
.../gpu/drm/nouveau/nvkm/e
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/disp.c | 40
.../gpu/drm/nouveau/include/nvif/driverif.h | 47 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h | 37
drivers/gpu/drm/nouveau/include/nvif/outp.h | 43 +
drivers/gpu/drm
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 2 ++
drivers/gpu/drm/nouveau/include/nvif/if0012.h| 11 ---
drivers/gpu/drm/nouveau/nvif/outp.c | 11 ---
drivers/gpu/drm/nouveau/n
- no more users
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/driverif.h | 3 +--
drivers/gpu/drm/nouveau/nvif/conn.c | 3 +--
drivers/gpu/drm/nouveau/nvkm/engine/disp/udisp.c | 6 +++---
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/base.c | 33 +
drivers/gpu/drm/nouveau/dispnv50/core.c | 49 ---
drivers/gpu/drm/nouveau/dispnv50/curs.c | 35 ++---
drivers/gpu/d
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/conn.h | 18 ++-
.../gpu/drm/nouveau/include/nvif/driverif.h | 20 +++
drivers/gpu/drm/nouveau/include/nvif/if0011.h | 18 ---
drivers/gpu/drm/nouveau/nouveau_c
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/dispnv50/corec37d.c | 11 +--
drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +-
drivers/gpu/drm/nouveau/dispnv50/disp.h | 2 +-
drivers/gpu/drm/nouveau/include/nvif/disp.h | 11 ++
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
drivers/gpu/drm/nouveau/include/nvif/disp.h | 5 ++
.../gpu/drm/nouveau/include/nvif/driverif.h | 20
drivers/gpu/drm/nouveau/include/nvif/if0010.h | 14 -
drivers/gpu/drm/nouveau/include/nvif/obj
- transition from "ioctl" interface
Signed-off-by: Ben Skeggs
---
.../gpu/drm/nouveau/include/nvif/driverif.h | 1 +
drivers/gpu/drm/nouveau/nouveau_svm.c | 26 +++
.../gpu/drm/nouveau/nvkm/subdev/fault/user.c | 16 +++-
3 files changed, 19 inserti
1 - 100 of 1027 matches
Mail list logo