milos-linux/drivers/gpu/nova-core
John Hubbard ba6e088ac6 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>
2026-03-10 20:13:39 +09:00
..
falcon gpu: nova-core: add PIO support for loading firmware images 2026-03-09 10:39:07 +09:00
fb gpu: nova-core: justify remaining uses of as 2025-11-08 08:22:51 +09:00
firmware gpu: nova-core: use the Generic Bootloader to boot FWSEC on Turing 2026-03-09 10:39:13 +09:00
gsp gpu: nova-core: gsp: add tests for continuation records 2026-03-10 16:07:33 +09:00
regs rust: io: separate generic I/O helpers from MMIO implementation 2026-01-23 21:20:11 +01:00
bitfield.rs gpu: nova-core: bitfield: remove BitOr implementation 2025-10-25 13:16:31 +09:00
dma.rs gpu: nova-core: Simplify DmaObject::from_data in nova-core/dma.rs 2025-11-07 23:10:44 +09:00
driver.rs gpu: nova-core: fix aux device registration for multi-GPU systems 2026-02-24 15:44:51 +01:00
falcon.rs gpu: nova-core: falcon: remove unwarranted safety check in dma_load 2026-03-09 10:39:10 +09:00
fb.rs gpu: nova-core: print FB sizes, along with ranges 2026-03-10 20:13:39 +09:00
firmware.rs gpu: nova-core: firmware: fix and explain v2 header offsets computations 2026-03-09 14:29:21 +09:00
gfw.rs gpu: nova-core: apply the one "use" item per line policy 2025-11-07 23:10:44 +09:00
gpu.rs gpu: nova-core: add gen_bootloader firmware to ModInfoBuilder 2026-03-09 10:39:10 +09:00
gsp.rs gpu: nova-core: align LibosMemoryRegionInitArgument size to page size 2026-01-24 10:48:59 +09:00
Kconfig gpu: nova-core: Kconfig: Sort select statements alphabetically 2026-03-01 21:34:59 +09:00
Makefile
nova_core.rs gpu: nova-core: use core library's CStr instead of kernel one 2026-02-25 08:17:04 +09:00
num.rs gpu: nova-core: num: add functions to safely convert a const value to a smaller type 2025-11-14 20:25:15 +09:00
regs.rs gpu: nova-core: add PIO support for loading firmware images 2026-03-09 10:39:07 +09:00
sbuffer.rs gpu: nova-core: remove imports available via prelude 2026-01-30 02:42:42 +01:00
vbios.rs Driver core changes for 7.0-rc1 2026-02-11 17:43:59 -08:00