xe_migrate_update_pgtables(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 xe_migrate_update_pgtables(9) β€” the Kernel API Manual glow-up 🌸

Okay bestie, welcome to the page-table update pipeline, but make it cute ✨


πŸŽ€ NAME πŸŽ€

  • xe_migrate_update_pgtables β€” Pipelined page-table update πŸ’…

✨ SYNOPSIS ✨

struct dma_fence * xe_migrate_update_pgtables (struct xe_migrate *m ,
struct xe_migrate_pt_update *pt_update );

πŸ’– ARGUMENTS πŸ’–

  • m β€” the migrate context. Main character energy 🫢
  • pt_update β€” PT update arguments. The receipts, basically πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this literally performs a pipelined page-table update. The update descriptors are typically built under the same lock critical section as a call to this function β€” same-lock, same-critical-section vibes πŸ”’

If you’re using the default engine for the updates, they’ll be performed in the order they grab the job_mutex. If different engines are used, external synchronization is needed for overlapping updates to maintain page-table consistency. And just so we’re clear, β€œoverlapping” here means the updates touch the same page-table β€” which might be a higher-level page-directory πŸ‘€

If no pipelining is needed, then updates may be performed by the cpu. Slay πŸ’…


🫢 RETURN 🫢

A dma_fence that, when signaled, indicates the update completion. Signal = done, periodt πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/gpu/drm/xe/xe_migrate.c β€” and the whole friend group:


Footer tea, bestie: source/version field says ./drivers/gpu/drm/xe, date says October 2026, and the title is xe_migrate_update_pgtables(9). Bye, ily πŸ’–βœ¨

πŸ“¦ where this page comes from