]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: register: use #[inline(always)] for all methods
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 18 Jul 2025 07:26:19 +0000 (16:26 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 15 Aug 2025 03:02:56 +0000 (12:02 +0900)
commitc6bc4225279d9a6eff8aafc94347183b2babc52a
tree0dd8dcb2168696358795333f32aa1355ccdbd37a
parentfcdce54d645a0779892faaed1209105350e15d92
gpu: nova-core: register: use #[inline(always)] for all methods

These methods should always be inlined, so use the strongest compiler
hint that exists to maximize the chance they will indeed be.

Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250718-nova-regs-v2-14-7b6a762aa1cd@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/regs/macros.rs