dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] gpu: nova-core: convert to kernel bitfield macro and remove local variant
@ 2026-06-17 14:02 Alexandre Courbot
  2026-06-17 14:02 ` [PATCH 1/2] gpu: nova-core: convert to kernel bitfield macro Alexandre Courbot
  2026-06-17 14:02 ` [PATCH 2/2] gpu: nova-core: remove local " Alexandre Courbot
  0 siblings, 2 replies; 5+ messages in thread
From: Alexandre Courbot @ 2026-06-17 14:02 UTC (permalink / raw)
  To: Danilo Krummrich, Alice Ryhl, David Airlie, Simona Vetter,
	Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Trevor Gross, Daniel Almeida,
	Tamir Duberstein, Onur Özkan
  Cc: John Hubbard, Alistair Popple, Timur Tabi, Eliot Courtney,
	Zhi Wang, nova-gpu, dri-devel, linux-kernel, rust-for-linux,
	Alexandre Courbot

Now that the kernel-wide bitfield macro is available, it is time for the
Nova-local version to be removed.

The first patch converts all uses of the local macro to the global one.
This involves redefining all bitfields since the syntax has changed, and
taking into account the use of `Bounded`.

The second patch removes the now unused Nova-local bitfield macro.

This is a follow-up to [1] containing the Nova patches that have been
dropped after [2].

This series applies on top of a merge of `drm-rust-next` and today's
`master`. It is to be applied after `-rc1` is tagged and merged into
`drm-rust-next`.

[1] https://lore.kernel.org/all/20260606-bitfield-v5-0-b92188820914@nvidia.com/
[2] https://lore.kernel.org/all/20260527-bitfield-v4-0-e8821d4efbde@nvidia.com/

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
Alexandre Courbot (2):
      gpu: nova-core: convert to kernel bitfield macro
      gpu: nova-core: remove local bitfield macro

 drivers/gpu/nova-core/bitfield.rs  | 329 -------------------------------------
 drivers/gpu/nova-core/fsp.rs       |   8 +-
 drivers/gpu/nova-core/gsp/fw.rs    |  11 +-
 drivers/gpu/nova-core/mctp.rs      |  86 +++++-----
 drivers/gpu/nova-core/nova_core.rs |   3 -
 5 files changed, 56 insertions(+), 381 deletions(-)
---
base-commit: 31686e06c0342de47f40a0278bfe8126de86c3ec
change-id: 20260617-nova-bitfield-be4bbb298a00

Best regards,
--  
Alexandre Courbot <acourbot@nvidia.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-22  5:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-17 14:02 [PATCH 0/2] gpu: nova-core: convert to kernel bitfield macro and remove local variant Alexandre Courbot
2026-06-17 14:02 ` [PATCH 1/2] gpu: nova-core: convert to kernel bitfield macro Alexandre Courbot
2026-06-17 14:11   ` sashiko-bot
2026-06-22  5:23   ` Eliot Courtney
2026-06-17 14:02 ` [PATCH 2/2] gpu: nova-core: remove local " Alexandre Courbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox