]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: make Chipset::arch() const
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 6 Mar 2026 04:52:47 +0000 (13:52 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Mon, 9 Mar 2026 01:39:10 +0000 (10:39 +0900)
commit349b6dbca0acd8a6a27969f712227c36d681b1d0
treecd2533c3d1fe7667a78e4c6a392b83c6174d78e5
parent192125e0909e106ae37c2447ec43ee2653909d17
gpu: nova-core: make Chipset::arch() const

We will use this method from const context.

Also take `self` by value since it is the size of a primitive type and
implements `Copy`.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260306-turing_prep-v11-10-8f0042c5d026@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gpu.rs