STRUCT PVR_PAGE_TABLE_L2_ENTRY_RAW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pvr_page_table_l2_entry_raw(9) β€” Kernel API Manual πŸ’…

okay so bestie, this is the Kernel API Manual page for a single level-2 page table entry. it's one tiny struct, but the bit layout is lowkey the main character πŸ‘‘

✨ NAME ✨

struct pvr_page_table_l2_entry_raw β€” A single entry in a level 2 page table.

πŸŽ€ SYNOPSIS πŸŽ€

here's the whole struct, no cap:

struct pvr_page_table_l2_entry_raw {
    u32 val;
 };

🌸 Members 🌸

  • val β€” The raw value of this entry.

πŸ¦‹ Description πŸ¦‹

This type is a structure for type-checking purposes. At compile-time, its size is checked against ROGUE_MMUCTRL_ENTRY_SIZE_PC_VALUE. like, it's literally there to make the compiler vibe-check the size πŸ’…

The value stored in this structure can be decoded using the following bitmap. the doc's table preamble is FLAT-TABLE: with :widths: 1 5 and :stub-columns: 1 β€” here's the decoded bit tea so nobody has to squint 🫢

  • 31..4 β€” Level 1 Page Table Base Address: Bits 39..12 of the L1 page table base address, which is 4KiB aligned.
  • 3..2 β€” (reserved)
  • 1 β€” Pending: When valid bit is not set, indicates that a valid entry is pending and the MMU should wait for the driver to map the entry. This is used to support page demand mapping of memory.
  • 0 β€” Valid: Indicates that the entry contains a valid L1 page table. If the valid bit is not set, then an attempted use of the page would result in a page fault.
bestie, the Valid bit is not decorative β€” if it's not set, attempting to use the page results in a page fault. periodt πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/imagination/pvr_mmu.c β€” and the whole friend group is here:


source/version + date sign-off: ./drivers/gpu/drm/imagination Β· October 2026 Β· footer tag: struct pvr_p...l2_entry_raw(9). that's the whole page, byeee bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from