]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: add FbHal::frts_size() for GA100 support
authorTimur Tabi <ttabi@nvidia.com>
Fri, 17 Apr 2026 19:13:57 +0000 (14:13 -0500)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 28 Apr 2026 23:27:53 +0000 (08:27 +0900)
commit21decd6324902503692529a13523969599755a13
tree8652b6df3a411e7716f758d11d0fa2264e976344
parentcedbbc383ab3e21331ef36f90e0dfab89b58934d
gpu: nova-core: add FbHal::frts_size() for GA100 support

Introduce FbHal method frts_size() to return the size of the FRTS
window.  GA100 is a special case in that although there is an
FRTS, its size must arbitrarily be set to 0.

Note that we cannot use supports_display() to determine the FRTS
size because there are other GPUs (e.g. GA102GL) that have display
disabled (and so supports_display() returns False), but the FRTS
window size still needs to be 1MB.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260417191359.1307434-5-ttabi@nvidia.com
[acourbot: apply requested fix to commit message.]
[acourbot: fix minor conflict.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/fb.rs
drivers/gpu/nova-core/fb/hal.rs
drivers/gpu/nova-core/fb/hal/ga100.rs
drivers/gpu/nova-core/fb/hal/ga102.rs
drivers/gpu/nova-core/fb/hal/tu102.rs