]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: convert PFB registers to kernel register macro
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 25 Mar 2026 02:46:17 +0000 (11:46 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Mar 2026 06:08:27 +0000 (15:08 +0900)
commit797385890759d6a011ccd7a028eed6c43142450b
tree964571ecce02d0d9de0bbfa2a7c1d9f50ab025b4
parent4e7588dcb0a7fef0e709f6907fc42bb7d7458038
gpu: nova-core: convert PFB registers to kernel register macro

Convert all PFB registers to use the kernel's register macro and update
the code accordingly.

NV_PGSP_QUEUE_HEAD was somehow caught in the PFB section, so move it to
its own section and convert it as well.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260325-b4-nova-register-v4-4-bdf172f0f6ca@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/fb/hal/ga100.rs
drivers/gpu/nova-core/fb/hal/tu102.rs
drivers/gpu/nova-core/gsp/boot.rs
drivers/gpu/nova-core/gsp/cmdq.rs
drivers/gpu/nova-core/regs.rs