STRUCT XE_PTW(9)
π struct xe_ptw(9) π
okay so bestie, welcome to the Kernel API Manual β we're looking at struct xe_ptw, and it is literally the base class for driver pagetable subclassing. no cap. π
β¨ SYNOPSIS β¨
struct xe_ptw {
struct xe_ptw **children;
struct xe_ptw **staging;
};
π«Ά Members π«Ά
childrenβ pointer to an array of children, if any. yes, "if any" is doing important work here. π§stagingβ pointer to an array of staging, if any. same energy. πΈ
π Description π
Drivers could subclass this, and if it's a page-directory, they typically embed an array of xe_ptw pointers. that's the whole cute little base-class situation: it's giving "make me your foundation" energy, and the page-directory case usually brings its own array of xe_ptw pointers along for the ride. π¦
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_pt_walk.hβ bestie, start here. β¨ struct xe_pt_walk(9)xe_pt_entry_fn(9)struct xe_pt_walk_ops(9)xe_pt_covers(9)xe_pt_num_entries(9)xe_pt_offset(9)
mwah π β this page lives under ./drivers/gpu/drm/xe, dated October 2026, and it's struct xe_ptw(9). periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms