Skip to content

drm/nova: make unstable uAPI use explicit

Danilo Krummrich dri-devel nova-gpu rust-for-linux 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3drm/nova: mark the uAPI header as unstabledrivers/gpu/drm/nova/nova_drm_unstable.h include/uapi/drm/nova_drm.h rust/uapi/uapi_helper.h+217 -2012 replies
2/3rust: add kernel taint abstractionrust/bindings/bindings_helper.h rust/kernel/lib.rs rust/kernel/panic.rs+52 -01 reply
3/3drm/nova: require explicit opt-in to unstable uAPIdrivers/gpu/drm/nova/Kconfig drivers/gpu/drm/nova/nova.rs+63 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchFaith EkstrandMel Henning
1/3A-b A-b
2/3
3/3

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/3] drm/nova: make unstable uAPI use explicit

Nova and its uAPI are under active upstream development. We want to develop these interfaces upstream while making clear that they are not yet stable and may change incompatibly.

This series makes that status more explicit and requires users to acknowledge it before enabling the driver, tainting the kernel when they do.

Introduce a minimal Rust abstraction for kernel tainting in order to support this.

As individual interfaces stabilize, they should move from nova_drm_unstable.h to the stable nova_drm.h header. Once all interfaces have moved and all stakeholders agree that the uAPI is stable, the acknowledgment requirement and kernel tainting can be removed.

(Compile-tested only, as I'm currently travelling.)

Danilo Krummrich (3):
drm/nova: mark the uAPI header as unstable
rust: add kernel taint abstraction drm/nova: require explicit opt-in to unstable uAPI

 drivers/gpu/drm/nova/Kconfig             |  11 +-
 drivers/gpu/drm/nova/nova.rs             |  55 +++++-
 drivers/gpu/drm/nova/nova_drm_unstable.h | 212 +++++++++++++++++++++++
 include/uapi/drm/nova_drm.h              | 204 +---------------------
 rust/bindings/bindings_helper.h          |   1 +
 rust/kernel/lib.rs                       |   1 +
 rust/kernel/panic.rs                     |  50 ++++++
 rust/uapi/uapi_helper.h                  |   2 +
 8 files changed, 332 insertions(+), 204 deletions(-)
 create mode 100644 drivers/gpu/drm/nova/nova_drm_unstable.h
 create mode 100644 rust/kernel/panic.rs

base-commit: 3497a403264b094ebd61b8b755165d56e7d9dc37

Signature · 1 line
2.56.0