drm/nouveau: initial support for GSP-RM 535.54.04 (and Ada GPUs)
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest44 patches 4 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/44 | drm/nouveau/devinit/tu102-: remove attempt at loading PreOSdrivers/ | +2 | 0 replies | |
| 2/44 | drm/nouveau/imem: support allocations not preserved across suspenddrivers/ drivers/ drivers/ +2 more | +30 | 0 replies | |
| 3/44 | drm/nouveau/gr/gf100-: lose contents of global ctxbufs across suspenddrivers/ | +5 | 0 replies | |
| 4/44 | drm/nouveau/mmu/gp100-: always invalidate TLBs at CACHE_LEVEL_ALLdrivers/ drivers/ | +2 | 0 replies | |
| 5/44 | drm/nouveau/kms/nv50-: fix mst payload alloc fail crashing evodrivers/ | +7 | 0 replies | |
| 6/44 | drm/nouveau/disp: rearrange output methodsdrivers/ drivers/ | +17 | 0 replies | |
| 7/44 | drm/nouveau/disp: add output detect methoddrivers/ drivers/ drivers/ +10 more | +145 | 0 replies | |
| 8/44 | drm/nouveau/disp: add output method to fetch ediddrivers/ drivers/ drivers/ +3 more | +70 | 0 replies | |
| 9/44 | drm/nouveau/disp: rename internal output acquire/release functionsdrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 10/44 | drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR statedrivers/ drivers/ drivers/ +5 more | +291 | 0 replies | |
| 11/44 | drm/nouveau/disp: shuffle to make upcoming diffs prettierdrivers/ drivers/ | +91 | 0 replies | |
| 12/44 | drm/nouveau/disp: add acquire_dac()drivers/ drivers/ drivers/ +2 more | +19 | 0 replies | |
| 13/44 | drm/nouveau/disp: add acquire_sor/pior()drivers/ drivers/ drivers/ +2 more | +50 | 0 replies | |
| 14/44 | drm/nouveau/disp: update SOR routing immediately on acquire()drivers/ drivers/ | +3 | 0 replies | |
| 15/44 | drm/nouveau/kms/nv50-: pull some common init out of OR-specific codedrivers/ drivers/ | +38 | 0 replies | |
| 16/44 | drm/nouveau/kms/nv50-: remove nv_encoder.audio.connectordrivers/ drivers/ | +1 | 0 replies | |
| 17/44 | drm/nouveau/kms/nv50-: keep output state around until modeset completedrivers/ | +6 | 0 replies | |
| 18/44 | drm/nouveau/kms/nv50-: move audio enable post-modesetdrivers/ drivers/ | +34 | 0 replies | |
| 19/44 | drm/nouveau/disp: add output hdmi config methoddrivers/ drivers/ drivers/ +4 more | +74 | 0 replies | |
| 20/44 | drm/nouveau/disp: move hdmi disable out of release()drivers/ drivers/ drivers/ | +20 | 0 replies | |
| 21/44 | drm/nouveau/disp: release outputs post-modesetdrivers/ drivers/ drivers/ | +11 | 0 replies | |
| 22/44 | drm/nouveau/disp: remove SOR routing updates from supervisordrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 23/44 | drm/nouveau/disp: add output backlight control methodsdrivers/ drivers/ drivers/ +19 more | +233 | 1 reply | |
| 24/44 | drm/nouveau/disp: add output lvds config methoddrivers/ drivers/ drivers/ +2 more | +28 | 0 replies | |
| 25/44 | drm/nouveau/disp: add hdmi audio hal functiondrivers/ drivers/ | +10 | 0 replies | |
| 26/44 | drm/nouveau/disp: move dp aux pwr method to HALdrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 27/44 | drm/nouveau/disp: add dp aux xfer methoddrivers/ drivers/ drivers/ +6 more | +94 | 0 replies | |
| 28/44 | drm/nouveau/disp: add dp rates methoddrivers/ drivers/ drivers/ +5 more | +189 | 0 replies | |
| 29/44 | drm/nouveau/kms/nv50-: split DP disable+enable into two modesetsdrivers/ | +2 | 0 replies | |
| 30/44 | drm/nouveau/kms/nv50-: flush mst disables togetherdrivers/ drivers/ | +1 | 0 replies | |
| 31/44 | drm/nouveau/kms/nv50-: fixup sink D3 before tearing down linkdrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 32/44 | drm/nouveau/disp: add dp train methoddrivers/ drivers/ drivers/ +6 more | +143 | 0 replies | |
| 33/44 | drm/nouveau/disp: move link training out of supervisordrivers/ drivers/ drivers/ +6 more | +218 | 0 replies | |
| 34/44 | drm/nouveau/disp: add dp sst config methoddrivers/ drivers/ drivers/ +2 more | +54 | 0 replies | |
| 35/44 | drm/nouveau/disp: add dp mst id get/put methodsdrivers/ drivers/ drivers/ +6 more | +137 | 0 replies | |
| 36/44 | drm/nouveau/disp: move outp/conn construction to chipset codedrivers/ drivers/ | +121 | 0 replies | |
| 37/44 | drm/nouveau/disp: move outp init/fini paths to chipset codedrivers/ drivers/ drivers/ +3 more | +22 | 0 replies | |
| 38/44 | drm/nouveau/disp/nv50-: skip DCB_OUTPUT_TVdrivers/ | +1 | 0 replies | |
| 39/44 | drm/nouveau/kms/nv50-: create heads based on nvkm head maskdrivers/ | +3 | 0 replies | |
| 40/44 | drm/nouveau/kms/nv50-: create heads after outps/connsdrivers/ | +32 | 1 reply | |
| 41/44 | drm/nouveau/kms/nv50-: name aux channels after their connectordrivers/ | +9 | 0 replies | |
| 42/44 | drm/nouveau/kms/nv50-: create connectors based on nvkm infodrivers/ drivers/ drivers/ +5 more | +139 | 1 reply | |
| 43/44 | drm/nouveau/kms/nv50-: create outputs based on nvkm infodrivers/ drivers/ drivers/ +6 more | +223 | 0 replies | |
| 44/44 | drm/nouveau/kms/nv50-: disable dcb parsingdrivers/ drivers/ drivers/ | +10 | 0 replies |
Reviews trailers per patch
All 44 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Lyude Paul | Danilo Krummrich | Timur Tabi |
|---|---|---|---|
| Series | R-b | ||
| 1/44 | R-b | A-b | |
| 2/44 | R-b | A-b | |
| 3/44 | R-b | A-b | |
| 4/44 | R-b | A-b | |
| 5/44 | R-b | A-b | |
| 6/44 | R-b | A-b | |
| 7/44 | R-b | A-b | |
| 8/44 | R-b | A-b | |
| 9/44 | R-b | A-b | |
| 10/44 | A-b | ||
| 11/44 | R-b | A-b | |
| 12/44 | R-b | A-b | |
| 13/44 | R-b | A-b | |
| 14/44 | R-b | A-b | |
| 15/44 | R-b | A-b | |
| 16/44 | R-b | A-b | |
| 17/44 | R-b | A-b | |
| 18/44 | R-b | A-b | |
| 19/44 | R-b | A-b | |
| 20/44 | R-b | A-b | |
| 21/44 | R-b | A-b | |
| 22/44 | R-b | A-b | |
| 23/44 | R-b | A-b | |
| 24/44 | R-b | A-b | |
| 25/44 | R-b | A-b | |
| 26/44 | R-b | A-b | |
| 27/44 | R-b | A-b | |
| 28/44 | R-b | A-b | |
| 29/44 | R-b | A-b | |
| 30/44 | R-b | A-b | |
| 31/44 | R-b | A-b | |
| 32/44 | R-b | A-b | |
| 33/44 | R-b | A-b | |
| 34/44 | R-b | A-b | |
| 35/44 | R-b | A-b | |
| 36/44 | R-b | A-b | |
| 37/44 | R-b | A-b | |
| 38/44 | A-b | ||
| 39/44 | R-b | A-b | |
| 40/44 | R-b | A-b | |
| 41/44 | R-b | A-b | |
| 42/44 | R-b | A-b | |
| 43/44 | R-b | A-b | |
| 44/44 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 00/44] drm/nouveau: initial support for GSP-RM 535.54.04 (and Ada GPUs)
Hey everyone! I'm just going through and rebasing Ben's display patches so I can push them in just a moment :).
(*the rest of this email can be read in Ben Skegg's voice*)
The primary issue being tackled here is that, for historical reasons (we didn't know any better / couldn't make it work reliably otherwise), some operations (SOR routing, DP link training) were performed during the 2nd HW supervisor interrupt.
We don't have control of the display supervisor when running on top of RM, so this needed to be untangled and fixed - which, is one of the main aims of this patch series.
The ordering of this series is pretty important, so take care if/when backporting patches from it.
Beyond that main goal, various other interfaces have been added or extended to provide the information that RM will need for its version of similar interfaces.
Ben Skeggs (43):
drm/nouveau/devinit/tu102-: remove attempt at loading PreOS drm/nouveau/imem: support allocations not preserved across suspend drm/nouveau/gr/gf100-: lose contents of global ctxbufs across suspend drm/nouveau/mmu/gp100-: always invalidate TLBs at CACHE_LEVEL_ALL drm/nouveau/kms/nv50-: fix mst payload alloc fail crashing evo drm/nouveau/disp: rearrange output methods drm/nouveau/disp: add output detect method drm/nouveau/disp: add output method to fetch edid drm/nouveau/disp: rename internal output acquire/release functions drm/nouveau/disp: shuffle to make upcoming diffs prettier drm/nouveau/disp: add acquire_dac()
drm/nouveau/disp: add acquire_sor/pior()
drm/nouveau/disp: update SOR routing immediately on acquire() drm/nouveau/kms/nv50-: pull some common init out of OR-specific code drm/nouveau/kms/nv50-: remove nv_encoder.audio.connector drm/nouveau/kms/nv50-: keep output state around until modeset complete drm/nouveau/kms/nv50-: move audio enable post-modeset drm/nouveau/disp: add output hdmi config method drm/nouveau/disp: move hdmi disable out of release() drm/nouveau/disp: release outputs post-modeset drm/nouveau/disp: remove SOR routing updates from supervisor drm/nouveau/disp: add output backlight control methods drm/nouveau/disp: add output lvds config method drm/nouveau/disp: add hdmi audio hal function drm/nouveau/disp: move dp aux pwr method to HAL drm/nouveau/disp: add dp aux xfer method
drm/nouveau/disp: add dp rates method drm/nouveau/kms/nv50-: split DP disable+enable into two modesets drm/nouveau/kms/nv50-: flush mst disables together drm/nouveau/kms/nv50-: fixup sink D3 before tearing down link drm/nouveau/disp: add dp train method
drm/nouveau/disp: move link training out of supervisor drm/nouveau/disp: add dp sst config method drm/nouveau/disp: add dp mst id get/put methods drm/nouveau/disp: move outp/conn construction to chipset code drm/nouveau/disp: move outp init/fini paths to chipset code drm/nouveau/disp/nv50-: skip DCB_OUTPUT_TV drm/nouveau/kms/nv50-: create heads based on nvkm head mask drm/nouveau/kms/nv50-: create heads after outps/conns drm/nouveau/kms/nv50-: name aux channels after their connector drm/nouveau/kms/nv50-: create connectors based on nvkm info drm/nouveau/kms/nv50-: create outputs based on nvkm info drm/nouveau/kms/nv50-: disable dcb parsing
Lyude Paul (1):
drm/nouveau/kms: Add INHERIT ioctl to nvkm/nvif for reading IOR state
drivers/gpu/drm/nouveau/dispnv04/disp.c | 2 +- drivers/gpu/drm/nouveau/dispnv50/disp.c | 511 +++++++++++------- drivers/gpu/drm/nouveau/dispnv50/disp.h | 6 +- drivers/gpu/drm/nouveau/dispnv50/head.h | 1 + drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 14 + drivers/gpu/drm/nouveau/include/nvif/conn.h | 20 +- drivers/gpu/drm/nouveau/include/nvif/if0011.h | 21 +- drivers/gpu/drm/nouveau/include/nvif/if0012.h | 249 +++++++-- drivers/gpu/drm/nouveau/include/nvif/outp.h | 96 +++- .../drm/nouveau/include/nvkm/core/memory.h | 1 + .../drm/nouveau/include/nvkm/subdev/instmem.h | 2 +- drivers/gpu/drm/nouveau/nouveau_backlight.c | 90 +-- drivers/gpu/drm/nouveau/nouveau_bios.c | 8 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 252 ++++----- drivers/gpu/drm/nouveau/nouveau_connector.h | 3 +- drivers/gpu/drm/nouveau/nouveau_display.c | 8 +- drivers/gpu/drm/nouveau/nouveau_dp.c | 345 ++++++++++-- drivers/gpu/drm/nouveau/nouveau_encoder.h | 30 +- drivers/gpu/drm/nouveau/nvif/conn.c | 36 +- drivers/gpu/drm/nouveau/nvif/disp.c | 2 +- drivers/gpu/drm/nouveau/nvif/outp.c | 412 ++++++++++++-- drivers/gpu/drm/nouveau/nvkm/core/memory.c | 15 +- .../gpu/drm/nouveau/nvkm/engine/disp/base.c | 146 +---- .../gpu/drm/nouveau/nvkm/engine/disp/conn.c | 10 - .../gpu/drm/nouveau/nvkm/engine/disp/conn.h | 2 - drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 362 ++++--------- .../gpu/drm/nouveau/nvkm/engine/disp/g84.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/g94.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/ga102.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/gf119.c | 2 +- .../gpu/drm/nouveau/nvkm/engine/disp/gk104.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/gm107.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/gm200.c | 17 +- .../gpu/drm/nouveau/nvkm/engine/disp/gp100.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/gt215.c | 38 ++ .../gpu/drm/nouveau/nvkm/engine/disp/gv100.c | 2 +- .../gpu/drm/nouveau/nvkm/engine/disp/ior.h | 15 +- .../gpu/drm/nouveau/nvkm/engine/disp/mcp89.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 182 ++++++- .../gpu/drm/nouveau/nvkm/engine/disp/outp.c | 144 ++++- .../gpu/drm/nouveau/nvkm/engine/disp/outp.h | 43 +- .../gpu/drm/nouveau/nvkm/engine/disp/tu102.c | 1 + .../gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 67 +-- .../gpu/drm/nouveau/nvkm/engine/disp/uoutp.c | 460 +++++++++++++--- .../gpu/drm/nouveau/nvkm/engine/gr/gf100.c | 10 +- .../drm/nouveau/nvkm/subdev/devinit/tu102.c | 12 +- .../drm/nouveau/nvkm/subdev/instmem/base.c | 19 +- .../drm/nouveau/nvkm/subdev/instmem/priv.h | 1 + .../drm/nouveau/nvkm/subdev/mmu/vmmgp100.c | 2 +- .../drm/nouveau/nvkm/subdev/mmu/vmmtu102.c | 2 +- 50 files changed, 2461 insertions(+), 1207 deletions(-)
Signature · 1 line
2.41.0