All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] drm/nouveau: fix GA100 issues
@ 2026-04-30 22:38 Timur Tabi
  2026-04-30 22:38 ` [PATCH v2 01/10] Revert "drm/nouveau/gsp: add support for GA100" Timur Tabi
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Timur Tabi @ 2026-04-30 22:38 UTC (permalink / raw)
  To: Lyude Paul, Danilo Krummrich, David Airlie, nouveau

The previous commit that claimed to add GA100 support, 20e0c197802c
("drm/nouveau/gsp: add support for GA100"), actually had quite a
few problems.  It falsely claimed that there was no VBIOS.  GA100
does have a VBIOS, but it has no display engine, so it cannot use
the PRAMIN method the read VBIOS, so it has to fall back to PROM.
For whatever reason, the VBIOS on GA100 has an "Init-from-ROM"
(IFR) header where the PCI Expansion ROM would normally be found.
So to find that ROM, Nouveau needs to parse the IFR header.

The previous commit also claimed that there is no graphics (GR)
engine.  That is also false.

This patch set adds the IFR header parsing and a few other missing
pieces to allow GA100 to actually boot and shut down GSP-RM
properly.

Changes in v2:
1) Rebased to latest drm-misc-next
2) Added Lyude's reviewed-by
3) Reverted original commit and refactored on top
4) Added code for row remapping work-around

Timur Tabi (10):
  Revert "drm/nouveau/gsp: add support for GA100"
  drm/nouveau/gsp: add SEC2 to GA100 chip table
  drm/nouveau/gsp: use fb.bios.addr for gspFwWprEnd instead of
    vga_workspace.addr
  drm/nouveau/gsp: read MMU_LOCK to fix WPR placement on GA100
  drm/nouveau: only boot FRTS if its region is allocated
  drm/nouveau: GA100 has an FRTS region size of zero
  drm/nouveau/bios: specify correct display fuse register for Ampere and
    Ada
  drm/nouveau/bios: skip the IFR header if present
  drm/nouveau/gsp: require GSP-RM for GA100 support
  drm/nouveau/gsp: formally support GA100

 .../gpu/drm/nouveau/nvkm/engine/device/base.c |   1 +
 .../nouveau/nvkm/subdev/bios/shadowramin.c    |   3 +-
 .../drm/nouveau/nvkm/subdev/bios/shadowrom.c  | 110 ++++++++++++++++--
 .../gpu/drm/nouveau/nvkm/subdev/gsp/ga100.c   |   5 +-
 .../gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c   |  61 +++++++++-
 5 files changed, 163 insertions(+), 17 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-28 17:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 22:38 [PATCH v2 00/10] drm/nouveau: fix GA100 issues Timur Tabi
2026-04-30 22:38 ` [PATCH v2 01/10] Revert "drm/nouveau/gsp: add support for GA100" Timur Tabi
2026-04-30 22:38 ` [PATCH v2 02/10] drm/nouveau/gsp: add SEC2 to GA100 chip table Timur Tabi
2026-04-30 22:38 ` [PATCH v2 03/10] drm/nouveau/gsp: use fb.bios.addr for gspFwWprEnd instead of vga_workspace.addr Timur Tabi
2026-04-30 22:38 ` [PATCH v2 04/10] drm/nouveau/gsp: read MMU_LOCK to fix WPR placement on GA100 Timur Tabi
2026-04-30 22:38 ` [PATCH v2 05/10] drm/nouveau: only boot FRTS if its region is allocated Timur Tabi
2026-04-30 22:38 ` [PATCH v2 06/10] drm/nouveau: GA100 has an FRTS region size of zero Timur Tabi
2026-04-30 22:38 ` [PATCH v2 07/10] drm/nouveau/bios: specify correct display fuse register for Ampere and Ada Timur Tabi
2026-04-30 22:38 ` [PATCH v2 08/10] drm/nouveau/bios: skip the IFR header if present Timur Tabi
2026-04-30 22:38 ` [PATCH v2 09/10] drm/nouveau/gsp: require GSP-RM for GA100 support Timur Tabi
2026-04-30 22:38 ` [PATCH v2 10/10] drm/nouveau/gsp: formally support GA100 Timur Tabi
2026-04-30 23:10 ` (subset) [PATCH v2 00/10] drm/nouveau: fix GA100 issues Danilo Krummrich
2026-05-19 13:36   ` Timur Tabi
2026-05-20 21:07     ` Danilo Krummrich
2026-05-28 17:33 ` Danilo Krummrich

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.