[PULL] nouveau: ampere modesetting
Ben Skeggs
skeggsb at gmail.com
Fri Jan 15 01:06:52 UTC 2021
Hey Dave,
This series of patches to add modesetting support for Ampere has been
pulled out of a larger, more invasive series. As there's currently no
firmware available for us to use, the rest of it isn't important right
now, and it'd be nice to have something non-invasive to provide what
support we currently can (and is possible to backport to earlier
kernels).
No other chipset should be impacted by these patches, as the changes
are largely confined to adding Ampere versions of the code handling
each IP block.
I'd like to extend thanks to NVIDIA for providing hardware, and for
their assistance with confirming/clarifying some of the changes.
Ben.
The following changes since commit caeb6ab899c3d36a74cda6e299c6e1c9c4e2a22e:
drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
(2021-01-15 10:25:17 +1000)
are available in the Git repository at:
git://github.com/skeggsb/linux 04.01-ampere-lite
for you to fetch changes up to 8ef23b6f6a79e6fa2a169081d2d76011fffa0482:
drm/nouveau/disp/ga10[24]: initial support (2021-01-15 10:25:24 +1000)
----------------------------------------------------------------
Ben Skeggs (15):
drm/nouveau/core: recognise GA10[024]
drm/nouveau/pci/ga10[024]: initial support
drm/nouveau/bios/ga10[024]: initial support
drm/nouveau/devinit/ga10[024]: initial support
drm/nouveau/mc/ga10[024]: initial support
drm/nouveau/privring/ga10[024]: initial support
drm/nouveau/imem/ga10[024]: initial support
drm/nouveau/fb/ga10[024]: initial support
drm/nouveau/timer/ga10[024]: initial support
drm/nouveau/mmu/ga10[024]: initial support
drm/nouveau/bar/ga10[024]: initial support
drm/nouveau/gpio/ga10[024]: initial support
drm/nouveau/i2c/ga10[024]: initial support
drm/nouveau/dmaobj/ga10[24]: initial support
drm/nouveau/disp/ga10[24]: initial support
drivers/gpu/drm/nouveau/dispnv50/Kbuild | 1 +
drivers/gpu/drm/nouveau/dispnv50/core.c | 1 +
drivers/gpu/drm/nouveau/dispnv50/curs.c | 1 +
drivers/gpu/drm/nouveau/dispnv50/wimm.c | 1 +
drivers/gpu/drm/nouveau/dispnv50/wndw.c | 1 +
drivers/gpu/drm/nouveau/dispnv50/wndw.h | 8 +++
drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c | 10 ++--
drivers/gpu/drm/nouveau/dispnv50/wndwc67e.c | 106
+++++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/nouveau/include/nvif/cl0080.h | 1 +
drivers/gpu/drm/nouveau/include/nvif/class.h | 5 ++
drivers/gpu/drm/nouveau/include/nvkm/core/device.h | 1 +
drivers/gpu/drm/nouveau/include/nvkm/engine/disp.h | 1 +
drivers/gpu/drm/nouveau/include/nvkm/subdev/devinit.h | 1 +
drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h | 2 +
drivers/gpu/drm/nouveau/include/nvkm/subdev/gpio.h | 1 +
drivers/gpu/drm/nouveau/include/nvkm/subdev/mc.h | 1 +
drivers/gpu/drm/nouveau/nouveau_backlight.c | 1 +
drivers/gpu/drm/nouveau/nvif/disp.c | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 75
++++++++++++++++++++++++++--
drivers/gpu/drm/nouveau/nvkm/engine/device/user.c | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/disp/Kbuild | 3 ++
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 33 ++++++++++---
drivers/gpu/drm/nouveau/nvkm/engine/disp/ga102.c | 46 +++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | 4 ++
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h | 2 +
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootga102.c | 52
+++++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.h | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorga102.c | 140
++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.c | 3 ++
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/Kbuild | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ga100.c | 76
++++++++++++++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/priv.h | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild | 3 ++
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.c | 40 +++++++++++++++
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga102.c | 40 +++++++++++++++
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h | 2 +
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramga102.c | 40 +++++++++++++++
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/Kbuild | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c | 118
+++++++++++++++++++++++++++++++++++++++++++
drivers/gpu/drm/nouveau/nvkm/subdev/mc/Kbuild | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c | 74
+++++++++++++++++++++++++++
46 files changed, 892 insertions(+), 18 deletions(-)
create mode 100644 drivers/gpu/drm/nouveau/dispnv50/wndwc67e.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/ga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ga100.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ga102.c
create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/mc/ga100.c
More information about the dri-devel
mailing list