]> git.ipfire.org Git - thirdparty/linux.git/commit
gpu: nova-core: print FB sizes, along with ranges
authorJohn Hubbard <jhubbard@nvidia.com>
Tue, 10 Mar 2026 02:10:51 +0000 (19:10 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 10 Mar 2026 11:13:39 +0000 (20:13 +0900)
commitba6e088ac6df02dfca2b90c54f8bb3559aab162c
tree00e321532de48a31f2d3722180e78f1a50668b67
parent0499a3826c2f8c768cc5948154ab317052947697
gpu: nova-core: print FB sizes, along with ranges

For convenience of the reader: now you can directly see the sizes of
each range. It is surprising just how much this helps.

Sample output (using an Ampere GA104):

NovaCore 0000:e1:00.0: FbLayout {
    fb: 0x0..0x3ff800000 (16376 MiB),
    vga_workspace: 0x3ff700000..0x3ff800000 (1 MiB),
    frts: 0x3ff600000..0x3ff700000 (1 MiB),
    boot: 0x3ff5fa000..0x3ff600000 (24 KiB),
    elf: 0x3fb960000..0x3ff5f9000 (60 MiB),
    wpr2_heap: 0x3f3900000..0x3fb900000 (128 MiB),
    wpr2: 0x3f3800000..0x3ff700000 (191 MiB),
    heap: 0x3f3700000..0x3f3800000 (1 MiB),
    vf_partition_count: 0x0,
}

Cc: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260310021125.117855-2-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/fb.rs