xe_pt_shift(9)
β¨ NAME β¨
okay so bestie, this is xe_pt_shift(9) from the Kernel API Manual, and the whole vibe is this: xe_pt_shift returns the ilog2 value of the size of the address range of a page-table at a certain level. That's the function. That's the assignment. And it ate. π
π«Ά SYNOPSIS π«Ά
unsigned int xe_pt_shift (unsigned int level );
No cap, that signature is exact. π
π ARGUMENTS π
levelβ the level. Literally just the level, bestie. πΈ
π₯ RETURN π₯
It returns the ilog2 value of the size of the address range of a page-table at level level. Iconic behavior, lowkey. β¨
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_pt.c, plus the whole friend group right here:
xe_pt_create(9)xe_pt_populate_empty(9)xe_pt_destroy(9)xe_pt_clear(9)Pagetable building(9)struct xe_pt_stage_bind_walk(9)xe_pt_stage_bind(9)xe_pt_nonshared_offsets(9)xe_pt_zap_ptes(9)xe_pt_zap_ptes_range(9)xe_pt_stage_unbind(9)xe_pt_update_ops_prepare(9)xe_pt_update_ops_run(9)xe_pt_update_ops_fini(9)xe_pt_update_ops_abort(9)
xoxo, signing off from ./drivers/gpu/drm/xe β October 2026, xe_pt_shift(9) edition π
π¦ 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