]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: make formatting compatible with rust tree
authorAlice Ryhl <aliceryhl@google.com>
Mon, 17 Nov 2025 10:39:17 +0000 (10:39 +0000)
committerAlice Ryhl <aliceryhl@google.com>
Mon, 17 Nov 2025 12:56:36 +0000 (12:56 +0000)
commit77b686f688126a5f758b51441a03186e9eb1b0f1
tree021755b003263df403ffb9866dd300ef7d4843f6
parentce89e3e019f1ec4b11356f35feb8bd8c0f2c6bf7
gpu: nova-core: make formatting compatible with rust tree

Commit 38b7cc448a5b ("gpu: nova-core: implement Display for Spec") in
drm-rust-next introduced some usage of the Display trait, but the
Display trait is being modified in the rust tree this cycle. Thus, to
avoid conflicts with the Rust tree, tweak how the formatting machinery
is used in a way where it works both with and without the changes in the
Rust tree.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20251117-nova-fmt-rust-v1-1-651ca28cd98f@google.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/gsp/fw.rs