]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: register: remove `try_` accessors for relative registers
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 18 Jul 2025 07:26:11 +0000 (16:26 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 15 Aug 2025 03:02:55 +0000 (12:02 +0900)
commitb567daf4ea4e4565118436aca51d12adf8ab3e12
treec5c69bf3f5e6f880c92aca4082d8e9ea4a651efc
parent4f7f8f847d4a9c2460ecd43a702e51ac31919e2f
gpu: nova-core: register: remove `try_` accessors for relative registers

Relative registers are always accessed using a literal base, meaning
their validity can always be checked at compile-time. Thus remove the
`try_` accessors that have no purpose.

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