]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: Blackwell: use correct sysmem flush registers
authorJohn Hubbard <jhubbard@nvidia.com>
Tue, 2 Jun 2026 03:20:54 +0000 (20:20 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 2 Jun 2026 13:33:15 +0000 (22:33 +0900)
commita5bf742bc28a4e064059c8d137970e56669a21a0
tree876a1afe837c140b36d1184d440ffdc8745c6c4b
parentf66287cf155e47b604118ee1e7731ff634d8dbe9
gpu: nova-core: Blackwell: use correct sysmem flush registers

Blackwell GPUs moved the sysmem flush page registers away from the
Ampere/Ada location. GB10x routes the flush through a pair of HSHUB0
register sets (primary and egress) that must both be programmed to
the same address. GB20x routes it through FBHUB0.

Define these registers relative to their HSHUB0 and FBHUB0 bases, as
Open RM does, and implement the flush paths in the GB10x and GB20x
framebuffer HALs.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260602032111.224790-7-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/fb/hal/gb100.rs
drivers/gpu/nova-core/fb/hal/gb202.rs
drivers/gpu/nova-core/regs.rs