Skip to content

gpu: nova-core: vbios: simplify device use

Alexandre Courbot dri-devel lkml nouveau rust-for-linux 1 version In review

Get series with b4
b4 am [email protected] change-id 20250808-vbios_device-b0a912aff149

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpu: nova-core: vbios: replace pci::Device with device::Devicedrivers/gpu/nova-core/gpu.rs drivers/gpu/nova-core/vbios.rs+57 -801 reply
2/2gpu: nova-core: vbios: store reference to Device where relevantdrivers/gpu/nova-core/firmware/fwsec.rs drivers/gpu/nova-core/vbios.rs+46 -311 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoel FernandesDanilo Krummrich
SeriesA-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] gpu: nova-core: vbios: simplify device use

This small cleanup series simplifies the use of Device in vbios methods.

The device is used for logging purposes only; thus we don't need a pci::Device, neither do we need it to be bound. This latter property allows us to store an ARef to it into structures that require logging instead of having all their methods take an extra dev argument. Removing this argument streamlines the code a bit.

---
Alexandre Courbot (2):
gpu: nova-core: vbios: replace pci::Device with device::Device
gpu: nova-core: vbios: store reference to Device where relevant

 drivers/gpu/nova-core/firmware/fwsec.rs |   8 +-
 drivers/gpu/nova-core/gpu.rs            |   2 +-
 drivers/gpu/nova-core/vbios.rs          | 168 +++++++++++++++-----------------
 3 files changed, 85 insertions(+), 93 deletions(-)

---
base-commit: 14ae91a81ec8fa0bc23170d4aa16dd2a20d54105
change-id: 20250808-vbios_device-b0a912aff149

Best regards,

Signature · 1 line
Alexandre Courbot <[email protected]>