xe_migrate_wait(9)
π xe_migrate_wait(9) π
okay bestie, welcome to the Kernel API Manual β yes it's literally a whole manual page for one function, and yes we're gonna read it together π
β¨ NAME β¨
xe_migrate_wait β the one that completes all operations using the xe_migrate context π«Ά
πΈ SYNOPSIS πΈ
void xe_migrate_wait (struct xe_migrate *m );
that's the whole vibe, no cap β¨
π¦ ARGUMENTS π¦
mβ the migrate context you're waiting on. that's it, that's the param π
π DESCRIPTION π
so here's the tea β β this function waits until the GPU is fully done using the migrate context's default engine, or its page-table objects. like, it sits there patiently until the GPU is like "okay bestie i'm finished, you can have it back" π
FIXME: What about separate page-table update engines? π yeah that's literally in the original, nobody knows yet, it's giving unfinished business π
π SEE ALSO π
the whole friend group, fr fr β Kernel file ./drivers/gpu/drm/xe/xe_migrate.c, plus:
struct xe_migrate(9)xe_migrate_alloc(9)xe_migrate_init(9)xe_migrate_copy(9)xe_migrate_resolve(9)xe_migrate_lrc(9)xe_migrate_ccs_rw_copy(9)xe_migrate_ccs_rw_copy_clear(9)xe_migrate_exec_queue(9)xe_migrate_vram_copy_chunk(9)xe_migrate_clear(9)xe_migrate_update_pgtables(9)xe_migrate_to_vram(9)xe_migrate_from_vram(9)xe_migrate_access_memory(9)xe_migrate_job_lock(9)xe_migrate_job_unlock(9)xe_migrate_job_lock_assert(9)
and that's the whole page, periodt π
β¨ this little gem lives in ./drivers/gpu/drm/xe, dated October 2026, and the manual name is xe_migrate_wait(9) in case you forgot already π bye bestie, go wait on that context π§π
π¦ 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