[PATCH 0/4] gpu: nova-core: gsp: cmdq: preparatory changes for r000 support

From: Alexandre Courbot

Date: Fri Oct 30 2026 - 03:44:57 EST


This series contains patches 5, 6 and 8 from John's r000 series v3 [1]
that prepare the command queue so that the r000 switch applies more
cleanly. They are submitted separately to make review and merging
faster, and because they are also valuable even without the r000 switch.

Patch 1 is a drive-by fix of the `NV_PFSP` register declarations that is
included here as the `NV_PGSP` declarations mirror the `NV_PFSP` ones.

No functional change is introduced by this series.

Applies cleanly on `drm-rust-next`, and runtime-tested successfully on
Ampere.

[1] https://lore.kernel.org/20260918010719.1176945-1-jhubbard@xxxxxxxxxx

Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
---
Alexandre Courbot (1):
gpu: nova-core: fix stride of NV_PFSP_* registers

John Hubbard (3):
gpu: nova-core: regs: add msgq v2 BAR0 register declarations
gpu: nova-core: gsp: cmdq: ring the GSP doorbell from the queue memory
gpu: nova-core: gsp: cmdq: compute the queue regions from a count and a slot

drivers/gpu/nova-core/gsp/cmdq.rs | 146 +++++++++++++++++++-------------------
drivers/gpu/nova-core/gsp/regs.rs | 22 +++++-
drivers/gpu/nova-core/regs.rs | 8 +--
3 files changed, 99 insertions(+), 77 deletions(-)
---
base-commit: 9b840ed71d34ff545e3ada8be2ad5daaae542b50
change-id: 20261030-r000-cmdq-prep-6c5644619c11

Best regards,
--
Alexandre Courbot <acourbot@xxxxxxxxxx>