]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: register: split @io rule into fixed and relative versions
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 18 Jul 2025 07:26:18 +0000 (16:26 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 15 Aug 2025 03:02:56 +0000 (12:02 +0900)
commitfcdce54d645a0779892faaed1209105350e15d92
treeba1c61079d1f85ae50b9caa9b01016fb5460036d
parent3fa145bef533f899ed6de641fe99c70028e28481
gpu: nova-core: register: split @io rule into fixed and relative versions

We used the same @io rule with different patterns to define both the
fixed and relative I/O accessors. This can be confusing as the matching
rules are very similar.

Since all call sites know which version they want to call, split @io
into @io_fixed and @io_relative to remove any ambiguity.

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-13-7b6a762aa1cd@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/regs/macros.rs