gpu: nova-core: vbios: simplify device use
Get series with b4
b4 am [email protected] change-id 20250808-vbios_device-b0a912aff149Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpu: nova-core: vbios: replace pci::Device with device::Devicedrivers/ drivers/ | +57 | 1 reply | |
| 2/2 | gpu: nova-core: vbios: store reference to Device where relevantdrivers/ drivers/ | +46 | 1 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.
| Patch | Joel Fernandes | Danilo Krummrich |
|---|---|---|
| Series | A-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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]>