Skip to content

bitfield initial refactor within nova-core (RESEND)

Joel Fernandes dri-devel lkml nouveau rust-for-linux 1 version Applied

Status from this message: Pushed to drm-rust-next after fixing the checkpatch errors and

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4gpu: nova-core: register: use field type for Into implementationdrivers/gpu/nova-core/falcon.rs drivers/gpu/nova-core/regs/macros.rs+32 -160 replies
2/4gpu: nova-core: bitfield: Move bitfield-specific code from register! into new macrodrivers/gpu/nova-core/bitfield.rs drivers/gpu/nova-core/nova_core.rs drivers/gpu/nova-core/regs/macros.rs+332 -24913 replies
3/4gpu: nova-core: bitfield: Add support for different storage widthsdrivers/gpu/nova-core/bitfield.rs drivers/gpu/nova-core/regs/macros.rs+46 -350 replies
4/4gpu: nova-core: bitfield: Add support for custom visiblitydrivers/gpu/nova-core/bitfield.rs drivers/gpu/nova-core/regs/macros.rs+34 -310 replies

Reviews trailers per patch

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

PatchJoel FernandesAlexandre CourbotElle RhumsaaEdwin PeerDanilo Krummrich
SeriesA-b
1/4R-b
2/4R-b R-b R-b
3/4R-b R-b R-b
4/4R-b R-b R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH v7.1 0/4] bitfield initial refactor within nova-core (RESEND)

(Resending due to some commit message mistakes (missing SOB etc). Thanks!).

These patches implement the initial refactoring and few improvements to the register and bitfield macros. Rebased on drm-rust-next.

Main difference from the previous series [1] is dropped the moving out of nova-core pending BoundedInt changes:
https://lore.kernel.org/all/[email protected]/
Other than that, added tags, resolved conflict with kernel::fmt changes and rebased on drm-rust-next.

Alexandre Courbot (1):
gpu: nova-core: register: use field type for Into implementation

Joel Fernandes (3):
gpu: nova-core: bitfield: Move bitfield-specific code from register!
into new macro
gpu: nova-core: bitfield: Add support for different storage widths
gpu: nova-core: bitfield: Add support for custom visiblity

 drivers/gpu/nova-core/bitfield.rs    | 333 +++++++++++++++++++++++++++
 drivers/gpu/nova-core/falcon.rs      |  38 ++-
 drivers/gpu/nova-core/nova_core.rs   |   3 +
 drivers/gpu/nova-core/regs/macros.rs | 259 +--------------------
 4 files changed, 373 insertions(+), 260 deletions(-)
 create mode 100644 drivers/gpu/nova-core/bitfield.rs

base-commit: 1d5cffebd930d61588c32198f85fbe541ab97b8f

Signature · 1 line
2.34.1