]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: register: add support for relative array registers
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 18 Jul 2025 07:26:24 +0000 (16:26 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 15 Aug 2025 03:02:56 +0000 (12:02 +0900)
commit0988099646cfc6c72a4448cad39d4ee22ad457a7
treea6a7f9d79bc0e215e805a9d56d7c1250f1b811d1
parentec2f6c81d2a16a93d882488062e8e09e2f1d6865
gpu: nova-core: register: add support for relative array registers

Add support for declaring arrays of registers available from a variable
base. This is effectively a combination of the relative and array
registers features.

nova-core does not make much use of this yet, but it will become helpful
to have for GSP boot.

Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250718-nova-regs-v2-19-7b6a762aa1cd@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Documentation/gpu/nova/core/todo.rst
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/hal/ga102.rs
drivers/gpu/nova-core/regs.rs
drivers/gpu/nova-core/regs/macros.rs