STRUCT XE_PT_WALK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie πŸ’– welcome to the struct xe_pt_walk(9) page in the Kernel API Manual β€” this is the embeddable struct for walk parameters, and it's giving tiny-struct-big-pagewalk energy ✨

🌸 NAME 🌸

struct xe_pt_walk β€” embeddable struct for walk parameters 🫢 yes, embeddable is literally the whole vibe.


✨ SYNOPSIS ✨

okay so here's the whole struct shape, no cap:

struct xe_pt_walk {
    const struct xe_pt_walk_ops *ops;
    const u64 *shifts;
    unsigned int max_level;
    bool shared_pt_mode;
    bool staging;
 };

πŸ¦‹ Members πŸ¦‹

  • ops β€” the walk ops used for the pagewalk πŸ’… main character energy for the actual walk.
  • shifts β€” array of page-table entry shifts used for the different levels, starting out with the leaf level 0 page-shift as the first entry. It's legal for this pointer to be changed during the walk. yes bestie, it can change mid-walk πŸŒ€
  • max_level β€” highest populated level in shifts πŸ‘‘
  • shared_pt_mode β€” whether to skip all entries that are private to the address range and called only for entries that are shared with other address ranges. Such entries are referred to as shared pagetables. iykyk πŸ™ˆ
  • staging β€” walk staging PT structure πŸŽ€

πŸ”— SEE ALSO πŸ”—

Kernel file ./drivers/gpu/drm/xe/xe_pt_walk.h β€” then go peek at struct xe_ptw(9), xe_pt_entry_fn(9), struct xe_pt_walk_ops(9), xe_pt_covers(9), xe_pt_num_entries(9), and xe_pt_offset(9) πŸ’–


okay that's the page bestie 🫢 source/version: ./drivers/gpu/drm/xe; date: October 2026; and we're out here repping struct xe_pt_walk(9) πŸ’… periodt ✨

πŸ“¦ where this page comes from