All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/19] drm/nouveau: Enable the GV11B GPU on Tegra194
@ 2026-12-02  5:24 Mikko Perttunen
  2026-12-02  5:24 ` [PATCH 01/19] drm/nouveau/fault: Widen engine field Mikko Perttunen
                   ` (18 more replies)
  0 siblings, 19 replies; 24+ messages in thread
From: Mikko Perttunen @ 2026-12-02  5:24 UTC (permalink / raw)
  To: Lyude Paul, Danilo Krummrich, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Thierry Reding,
	Jonathan Hunter
  Cc: dri-devel, nouveau, linux-tegra, Mikko Perttunen, Thierry Reding

Hello all,

This series adds support for the GV11B GPU on the Tegra194 SoC.

- Patches 1-2 fix GV100 fault decoding.
- Patches 3-5 address programming of non-VRAM aperture IDs.
- Patches 6-10 update CPU coherency setup and allow use of coherent
  memory for USERD.
- Patches 11-13 are related to GV11B having no CPU-visible BAR2.  
- Patch 14 adds the GV11B chipset and MMU configuration and lets the
  Tegra suspend and resume callbacks skip devfreq on GV11B.
- Patches 15-17 boot the ACR loader and PMU firmware, and have the
  FECS/GPCCS/GR setup.
- Patches 18-19 complete the Tegra platform configuration for GV11B.

Tested on Jetson AGX Xavier with vkcube.

The series has a runtime dependency on Sasha Levin's Nouveau fuse-clock
patch (6/6):

  https://lore.kernel.org/r/20261016160700.3831336-7-sashal@kernel.org/

For now firmware is available at

  https://gitlab.com/cyndis/linux-firmware/-/commit/d8f2e44ba9ab4902eaf50adcaee5f0716bb08c5f

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---
Mikko Perttunen (17):
      drm/nouveau/fault: Mask off instance aperture bits in GV100 fault-buffer entries
      drm/nouveau: Add helpers for getting memory target's aperture
      drm/nouveau: Supply aperture to FECS context methods
      drm/nouveau/mmu: Set cpu_coherent flag at runtime for Tegra
      drm/nouveau/instmem: Use the coherent aperture for DMA-coherent Tegra allocations
      drm/nouveau: Use coherent firmware mappings on coherent Tegra devices
      drm/nouveau/fifo: Allow coherent host pages for USERD
      drm/nouveau: Allocate Volta USERD in host memory on VRAM-less GPUs
      drm/nouveau/bar: Add a GPU-only BAR2 address space for GV11B
      drm/nouveau/fifo: Map Volta copy-engine method buffers in GPU-only BAR2
      drm/nouveau/fault: Support physical addresses for GV100 fault buffers
      drm/nouveau: Add GV11B chipset/MMU/devfreq configuration data
      drm/nouveau: Add ACR loader and PMU firmware boot on GV11B
      drm/nouveau/gr: Wait for FECS watchdog timeout init completion
      drm/nouveau: Add GR firmware and context support for GV11B
      drm/nouveau/tegra: Separate DMA mask width from the IOMMU address bit
      drm/nouveau/tegra: Add device tree compatible for GV11B

Thierry Reding (2):
      drm/nouveau/fault: Widen engine field
      drm/nouveau: Program aperture field where necessary

 drivers/gpu/drm/nouveau/include/nvkm/core/device.h |   2 +-
 drivers/gpu/drm/nouveau/include/nvkm/core/memory.h |   6 +
 drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h  |   1 +
 drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h   |   1 +
 drivers/gpu/drm/nouveau/include/nvkm/subdev/acr.h  |   1 +
 drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h  |   1 +
 .../gpu/drm/nouveau/include/nvkm/subdev/fault.h    |   2 +-
 drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h  |   1 +
 drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h  |   1 +
 drivers/gpu/drm/nouveau/nouveau_chan.c             |   4 +-
 drivers/gpu/drm/nouveau/nouveau_platform.c         |  11 ++
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c       |   4 +-
 drivers/gpu/drm/nouveau/nvkm/core/memory.c         |  25 +++
 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c  |  28 +++-
 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c   |   2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c |  11 +-
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c    |   4 +
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.h    |   1 +
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c   |   8 +-
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c   |  15 +-
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c   |  28 +++-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/Kbuild      |   1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c  |   5 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h  |   1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c  |   2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c     |  15 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h     |   1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv11b.c     | 113 +++++++++++++
 drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c        |  11 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/Kbuild     |   1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c    |  11 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/gv11b.c    |  71 ++++++++
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/priv.h     |   1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c    |  15 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h    |   2 +
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c    |   2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm20b.c    |  28 ++++
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h     |   1 +
 .../drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.c    |  12 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c   |   1 -
 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c  |  19 ++-
 .../gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c    |  17 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c     |   3 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gv100.c    |  17 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c      |  63 +++++++
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c |  35 +---
 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c  |  42 ++---
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/Kbuild     |   1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c    |   6 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c    |   3 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gv11b.c    | 185 +++++++++++++++++++++
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h     |   5 +
 52 files changed, 726 insertions(+), 121 deletions(-)
---
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
change-id: 20261201-nouveau-gv11b-8de78df84c99
prerequisite-patch-id: 63109ac7ec03625c7ffdaf4ae9fbefa215a7a591


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2026-12-02  5:51 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  5:24 [PATCH 00/19] drm/nouveau: Enable the GV11B GPU on Tegra194 Mikko Perttunen
2026-12-02  5:24 ` [PATCH 01/19] drm/nouveau/fault: Widen engine field Mikko Perttunen
2026-12-02  5:43   ` sashiko-bot
2026-12-02  5:24 ` [PATCH 02/19] drm/nouveau/fault: Mask off instance aperture bits in GV100 fault-buffer entries Mikko Perttunen
2026-12-02  5:33   ` sashiko-bot
2026-12-02  5:24 ` [PATCH 03/19] drm/nouveau: Add helpers for getting memory target's aperture Mikko Perttunen
2026-12-02  5:24 ` [PATCH 04/19] drm/nouveau: Program aperture field where necessary Mikko Perttunen
2026-12-02  5:24 ` [PATCH 05/19] drm/nouveau: Supply aperture to FECS context methods Mikko Perttunen
2026-12-02  5:24 ` [PATCH 06/19] drm/nouveau/mmu: Set cpu_coherent flag at runtime for Tegra Mikko Perttunen
2026-12-02  5:47   ` sashiko-bot
2026-12-02  5:24 ` [PATCH 07/19] drm/nouveau/instmem: Use the coherent aperture for DMA-coherent Tegra allocations Mikko Perttunen
2026-12-02  5:24 ` [PATCH 08/19] drm/nouveau: Use coherent firmware mappings on coherent Tegra devices Mikko Perttunen
2026-12-02  5:24 ` [PATCH 09/19] drm/nouveau/fifo: Allow coherent host pages for USERD Mikko Perttunen
2026-12-02  5:24 ` [PATCH 10/19] drm/nouveau: Allocate Volta USERD in host memory on VRAM-less GPUs Mikko Perttunen
2026-12-02  5:24 ` [PATCH 11/19] drm/nouveau/bar: Add a GPU-only BAR2 address space for GV11B Mikko Perttunen
2026-12-02  5:24 ` [PATCH 12/19] drm/nouveau/fifo: Map Volta copy-engine method buffers in GPU-only BAR2 Mikko Perttunen
2026-12-02  5:24 ` [PATCH 13/19] drm/nouveau/fault: Support physical addresses for GV100 fault buffers Mikko Perttunen
2026-12-02  5:24 ` [PATCH 14/19] drm/nouveau: Add GV11B chipset/MMU/devfreq configuration data Mikko Perttunen
2026-12-02  5:24 ` [PATCH 15/19] drm/nouveau: Add ACR loader and PMU firmware boot on GV11B Mikko Perttunen
2026-12-02  5:24 ` [PATCH 16/19] drm/nouveau/gr: Wait for FECS watchdog timeout init completion Mikko Perttunen
2026-12-02  5:24 ` [PATCH 17/19] drm/nouveau: Add GR firmware and context support for GV11B Mikko Perttunen
2026-12-02  5:24 ` [PATCH 18/19] drm/nouveau/tegra: Separate DMA mask width from the IOMMU address bit Mikko Perttunen
2026-12-02  5:24 ` [PATCH 19/19] drm/nouveau/tegra: Add device tree compatible for GV11B Mikko Perttunen
2026-12-02  5:51   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.