Skip to contentSkip to conversation

DRM Rust changes for v7.1-rc1 (2nd)

GIT PULL Danilo Krummrich 1 participant 1 message Apr 7 Rust

lore
Share & tools
lore

Danilo Krummrich

author reviewer
#0 lore raw

Hi Dave and Sima,

Please pull these DRM Rust fixes.

All changes have been in linux-next for two rounds -- no conflicts expected.

- Danilo

The following changes since commit 7c50d748b4a635bc39802ea3f6b120e66b1b9067:

gpu: nova-core: firmware: factor out an elf_str() function (2026-03-30 14:01:53 +0900)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/rust/kernel.git tags/drm-rust-next-2026-04-06

for you to fetch changes up to a7a080bb4236ebe577b6776d940d1717912ff6dd:

gpu: nova-core: fix missing colon in SEC2 boot debug message (2026-04-06 10:06:39 +0900)

----------------------------------------------------------------
DRM Rust changes for v7.1-rc1 (2nd)

Nova (Core):
- Don't create intermediate (mutable) references to the whole command queue buffer, which is potential undefined behavior.

- Add missing padding to the falcon firmware DMA buffer to prevent DMA transfers going out of range of the DMA buffer.

- Actually set the default values in the bitfield Default implementation.

- Use u32::from_le_bytes() instead of manual bit shifts to parse the PCI ROM header.

- Fix a missing colon in the SEC2 boot debug message.

----------------------------------------------------------------
Alexandre Courbot (2):
gpu: nova-core: gsp: fix undefined behavior in command queue code
gpu: nova-core: falcon: pad firmware DMA object size to required block alignment

David Carlier (1):
gpu: nova-core: fix missing colon in SEC2 boot debug message

Eliot Courtney (1):
gpu: nova-core: bitfield: fix broken Default implementation

John Hubbard (1):
gpu: nova-core: vbios: use from_le_bytes() for PCI ROM header parsing

 drivers/gpu/nova-core/bitfield.rs |   5 ++---
 drivers/gpu/nova-core/falcon.rs   |  21 +++++++++++++++++++--
 drivers/gpu/nova-core/gsp/boot.rs |   2 +-
 drivers/gpu/nova-core/gsp/cmdq.rs | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------
 drivers/gpu/nova-core/vbios.rs    |   7 +------
 5 files changed, 91 insertions(+), 58 deletions(-)